[libav-commits] cabac: remove unused function renorm_cabac_decoder

Diego Biurrun git at libav.org
Fri Jan 6 13:47:06 CET 2012


Module: libav
Branch: master
Commit: 3aa3fc45feab2316261e16987f0d5bc0f03f72f7

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Tue Dec 27 11:37:31 2011 +0100

cabac: remove unused function renorm_cabac_decoder

---

 libavcodec/cabac.h |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index aff6495..b0d056d 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -97,15 +97,6 @@ static void refill(CABACContext *c){
     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){
     int shift= (uint32_t)(c->range - 0x100)>>31;
     c->range<<= shift;



More information about the libav-commits mailing list