cabac: remove unused function renorm_cabac_decoder
This commit is contained in:
parent
301fb92131
commit
3aa3fc45fe
@ -97,15 +97,6 @@ static void refill(CABACContext *c){
|
|||||||
c->bytestream+= CABAC_BITS/8;
|
c->bytestream+= CABAC_BITS/8;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void renorm_cabac_decoder(CABACContext *c){
|
|
||||||
while(c->range < 0x100){
|
|
||||||
c->range+= c->range;
|
|
||||||
c->low+= c->low;
|
|
||||||
if(!(c->low & CABAC_MASK))
|
|
||||||
refill(c);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void renorm_cabac_decoder_once(CABACContext *c){
|
static inline void renorm_cabac_decoder_once(CABACContext *c){
|
||||||
int shift= (uint32_t)(c->range - 0x100)>>31;
|
int shift= (uint32_t)(c->range - 0x100)>>31;
|
||||||
c->range<<= shift;
|
c->range<<= shift;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user