Lines Matching refs:gB
55 c->value = c->value << 8 & 0xFFFFFF | bytestream2_get_byte(c->gbc.gB);
138 int bp = bytestream2_tell(c->gbc.gB) - 3 << 3;
149 static void arith2_init(ArithCoder *c, GetByteContext *gB)
153 c->value = bytestream2_get_be24(gB);
154 c->gbc.gB = gB;
176 static int decode_555(GetByteContext *gB, uint16_t *dst, int stride,
185 a = bytestream2_get_byte(gB) << 4; \
186 t = bytestream2_get_byte(gB); \
189 b |= bytestream2_get_byte(gB); \
207 int b = bytestream2_get_byte(gB);
209 last_symbol = b << 8 | bytestream2_get_byte(gB);
213 repeat = (repeat << 8) + bytestream2_get_byte(gB) + 1;
471 GetByteContext gB;
528 bytestream2_init(&gB, buf, buf_size + ARITH2_PADDING);
529 arith2_init(&acoder, &gB);
626 bytestream2_init(&gB, buf, buf_size);
628 if (decode_555(&gB, (uint16_t *)c->rgb_pic, c->rgb_stride >> 1,
632 buf_size -= bytestream2_tell(&gB);
663 bytestream2_init(&gB, buf, buf_size + ARITH2_PADDING);
664 arith2_init(&acoder, &gB);
676 bytestream2_init(&gB, buf, buf_size + ARITH2_PADDING);
677 arith2_init(&acoder, &gB);