Mercurial > libavcodec.hg
comparison cabac.h @ 4975:9a6a0818e93f libavcodec
split h264.c to move parser in its own file
author | aurel |
---|---|
date | Thu, 10 May 2007 22:26:44 +0000 |
parents | 777f250df232 |
children | ce36118abbbb |
comparison
equal
deleted
inserted
replaced
4974:a2e489e40ea3 | 4975:9a6a0818e93f |
---|---|
23 /** | 23 /** |
24 * @file cabac.h | 24 * @file cabac.h |
25 * Context Adaptive Binary Arithmetic Coder. | 25 * Context Adaptive Binary Arithmetic Coder. |
26 */ | 26 */ |
27 | 27 |
28 #ifndef CABAC_H | |
29 #define CABAC_H | |
30 | |
31 #include "bitstream.h" | |
28 | 32 |
29 //#undef NDEBUG | 33 //#undef NDEBUG |
30 #include <assert.h> | 34 #include <assert.h> |
31 #ifdef ARCH_X86 | 35 #ifdef ARCH_X86 |
32 #include "x86_cpu.h" | 36 #include "x86_cpu.h" |
855 if(is_signed && get_cabac_bypass(c)){ | 859 if(is_signed && get_cabac_bypass(c)){ |
856 return -i; | 860 return -i; |
857 }else | 861 }else |
858 return i; | 862 return i; |
859 } | 863 } |
864 | |
865 #endif /* CABAC_H */ |