Lines Matching refs:br
40 int vp8dx_start_decode(BOOL_DECODER *br,
44 void vp8dx_bool_decoder_fill(BOOL_DECODER *br);
77 static int vp8dx_decode_bool(BOOL_DECODER *br, int probability) { in vp8dx_decode_bool() argument
85 split = 1 + (((br->range - 1) * probability) >> 8); in vp8dx_decode_bool()
87 if(br->count < 0) in vp8dx_decode_bool()
88 vp8dx_bool_decoder_fill(br); in vp8dx_decode_bool()
90 value = br->value; in vp8dx_decode_bool()
91 count = br->count; in vp8dx_decode_bool()
99 range = br->range - split; in vp8dx_decode_bool()
110 br->value = value; in vp8dx_decode_bool()
111 br->count = count; in vp8dx_decode_bool()
112 br->range = range; in vp8dx_decode_bool()
117 static G_GNUC_UNUSED int vp8_decode_value(BOOL_DECODER *br, int bits) in vp8_decode_value() argument
124 z |= (vp8dx_decode_bool(br, 0x80) << bit); in vp8_decode_value()
130 static G_GNUC_UNUSED int vp8dx_bool_error(BOOL_DECODER *br) in vp8dx_bool_error() argument
144 if ((br->count > VP8_BD_VALUE_SIZE) && (br->count < VP8_LOTS_OF_BITS)) in vp8dx_bool_error()