MpegEncContext s;
int8_t *intra_types_hist;///< old block types, used for prediction
int8_t *intra_types; ///< block types
- uint8_t *luma_dc_quant_i;///< luma subblock DC quantizer for intraframes
- uint8_t *luma_dc_quant_p;///< luma subblock DC quantizer for interframes
+ const uint8_t *luma_dc_quant_i;///< luma subblock DC quantizer for intraframes
+ const uint8_t *luma_dc_quant_p;///< luma subblock DC quantizer for interframes
RV34VLC *cur_vlcs; ///< VLC set used for current frame decoding
int bits; ///< slice size in bits
int rv30; ///< indicates which RV variasnt is currently decoded
int rpr; ///< one field size in RV30 slice header
+ uint16_t *cbp_luma; ///< CBP values for luma subblocks
+ uint8_t *cbp_chroma; ///< CBP values for chroma subblocks
+
/** 8x8 block available flags (for MV prediction) */
DECLARE_ALIGNED_8(uint32_t, avail_cache[3*4]);