27 #ifndef AVCODEC_CABAC_H
28 #define AVCODEC_CABAC_H
34 #if CONFIG_HARDCODED_TABLES
35 #define CABAC_TABLE_CONST const
37 #define CABAC_TABLE_CONST
40 #define H264_NORM_SHIFT_OFFSET 0
41 #define H264_LPS_RANGE_OFFSET 512
42 #define H264_MLPS_STATE_OFFSET 1024
43 #define H264_LAST_COEFF_FLAG_OFFSET_8x8_OFFSET 1280
46 #define CABAC_MASK ((1<<CABAC_BITS)-1)