mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Put some disabled functions that are only used in the test program in cabac.c
under TEST as preprocessor conditional, same as the test program. Originally committed as revision 11601 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
79bfd0ef76
commit
c46e28746c
@ -90,7 +90,7 @@ static inline void renorm_cabac_encoder(CABACContext *c){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#ifdef TEST
|
||||||
static void put_cabac(CABACContext *c, uint8_t * const state, int bit){
|
static void put_cabac(CABACContext *c, uint8_t * const state, int bit){
|
||||||
int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + *state];
|
int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + *state];
|
||||||
|
|
||||||
@ -260,7 +260,7 @@ static void put_cabac_ueg(CABACContext *c, uint8_t * state, int v, int max, int
|
|||||||
put_cabac_bypass(c, sign);
|
put_cabac_bypass(c, sign);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* 0 */
|
#endif /* TEST */
|
||||||
|
|
||||||
static void refill(CABACContext *c){
|
static void refill(CABACContext *c){
|
||||||
#if CABAC_BITS == 16
|
#if CABAC_BITS == 16
|
||||||
|
Loading…
Reference in New Issue
Block a user