Home | History | Annotate | Download | only in decoder

Lines Matching refs:br

47 int vp8dx_start_decode(BOOL_DECODER *br, const unsigned char *source,
51 void vp8dx_bool_decoder_fill(BOOL_DECODER *br);
53 static int vp8dx_decode_bool(BOOL_DECODER *br, int probability) {
61 split = 1 + (((br->range - 1) * probability) >> 8);
63 if (br->count < 0) vp8dx_bool_decoder_fill(br);
65 value = br->value;
66 count = br->count;
73 range = br->range - split;
84 br->value = value;
85 br->count = count;
86 br->range = range;
91 static INLINE int vp8_decode_value(BOOL_DECODER *br, int bits) {
96 z |= (vp8dx_decode_bool(br, 0x80) << bit);
102 static INLINE int vp8dx_bool_error(BOOL_DECODER *br) {
115 if ((br->count > VP8_BD_VALUE_SIZE) && (br->count < VP8_LOTS_OF_BITS)) {