From 9dec55748cd5cf371d8f3eb35bac073d285f0617 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 27 Dec 2011 11:51:28 +0100 Subject: cabac: drop unused and disabled get_cabac_u() / get_cabac_ueg() functions --- libavcodec/cabac.h | 58 ------------------------------------------------------ 1 file changed, 58 deletions(-) (limited to 'libavcodec/cabac.h') diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index b3f8f55da3..aff6495e29 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -213,62 +213,4 @@ static int av_unused get_cabac_terminate(CABACContext *c){ } } -#if 0 -/** - * Get (truncated) unary binarization. - */ -static int get_cabac_u(CABACContext *c, uint8_t * state, int max, int max_index, int truncated){ - int i; - - for(i=0; i>=1){ - v+= v + get_cabac_bypass(c); - } - i += v; - - if(is_signed && get_cabac_bypass(c)){ - return -i; - }else - return i; -} -#endif /* 0 */ - #endif /* AVCODEC_CABAC_H */ -- cgit v1.2.3