X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Frv34.h;h=dff36f29e770976860af137a15b9cf4bc6293172;hb=1db38dad337a8e62682bcfce20e4ef3f6990c2d8;hp=0aa5911d5cb8ac01b1977cd6bc6073cc15a2b356;hpb=a52ef6a894ede214162cd9e95685daa5e656e2f7;p=ffmpeg diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h index 0aa5911d5cb..dff36f29e77 100644 --- a/libavcodec/rv34.h +++ b/libavcodec/rv34.h @@ -81,8 +81,8 @@ typedef struct RV34DecContext{ 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 @@ -99,6 +99,9 @@ typedef struct RV34DecContext{ 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]);