* Context Adaptive Binary Arithmetic Coder.
*/
-#ifndef CABAC_H
-#define CABAC_H
+#ifndef FFMPEG_CABAC_H
+#define FFMPEG_CABAC_H
#include "bitstream.h"
}
}
+#if 0
static void put_cabac(CABACContext *c, uint8_t * const state, int bit){
int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + *state];
put_cabac_bypass(c, sign);
}
}
+#endif /* 0 */
static void refill(CABACContext *c){
#if CABAC_BITS == 16
c->bytestream+= CABAC_BITS/8;
}
+#if ! ( defined(ARCH_X86) && defined(HAVE_7REGS) && defined(HAVE_EBX_AVAILABLE) && !defined(BROKEN_RELOCATIONS) )
static void refill2(CABACContext *c){
int i, x;
c->low += x<<i;
c->bytestream+= CABAC_BITS/8;
}
+#endif
static inline void renorm_cabac_decoder(CABACContext *c){
while(c->range < 0x100){
}
}
+#if 0
/**
* Get (truncated) unary binarization.
*/
}else
return i;
}
+#endif /* 0 */
-#endif /* CABAC_H */
+#endif /* FFMPEG_CABAC_H */