Lines Matching refs:br
50 int vp8dx_start_decode(BOOL_DECODER *br,
57 void vp8dx_bool_decoder_fill(BOOL_DECODER *br);
60 static inline int vp8dx_decode_bool(BOOL_DECODER *br, int probability) { in vp8dx_decode_bool() argument
68 split = 1 + (((br->range - 1) * probability) >> 8); in vp8dx_decode_bool()
70 if(br->count < 0) in vp8dx_decode_bool()
71 vp8dx_bool_decoder_fill(br); in vp8dx_decode_bool()
73 value = br->value; in vp8dx_decode_bool()
74 count = br->count; in vp8dx_decode_bool()
82 range = br->range - split; in vp8dx_decode_bool()
93 br->value = value; in vp8dx_decode_bool()
94 br->count = count; in vp8dx_decode_bool()
95 br->range = range; in vp8dx_decode_bool()
100 static inline int vp8_decode_value(BOOL_DECODER *br, int bits) in vp8_decode_value() argument
107 z |= (vp8dx_decode_bool(br, 0x80) << bit); in vp8_decode_value()
113 static inline int vp8dx_bool_error(BOOL_DECODER *br) in vp8dx_bool_error() argument
127 if ((br->count > VP8_BD_VALUE_SIZE) && (br->count < VP8_LOTS_OF_BITS)) in vp8dx_bool_error()