Mercurial > libavcodec.hg
comparison rv34.h @ 9903:305536ce781f libavcodec
RV3/4 intra types array causes alignment issues (at least on ARM5), thus change
its stride and offset to always have align 4.
author | kostya |
---|---|
date | Wed, 01 Jul 2009 15:08:02 +0000 |
parents | 54bc8a2727b0 |
children | 34a65026fa06 |
comparison
equal
deleted
inserted
replaced
9902:9bdf9fe9018c | 9903:305536ce781f |
---|---|
83 /** decoder context */ | 83 /** decoder context */ |
84 typedef struct RV34DecContext{ | 84 typedef struct RV34DecContext{ |
85 MpegEncContext s; | 85 MpegEncContext s; |
86 int8_t *intra_types_hist;///< old block types, used for prediction | 86 int8_t *intra_types_hist;///< old block types, used for prediction |
87 int8_t *intra_types; ///< block types | 87 int8_t *intra_types; ///< block types |
88 int intra_types_stride;///< block types array stride | |
88 const uint8_t *luma_dc_quant_i;///< luma subblock DC quantizer for intraframes | 89 const uint8_t *luma_dc_quant_i;///< luma subblock DC quantizer for intraframes |
89 const uint8_t *luma_dc_quant_p;///< luma subblock DC quantizer for interframes | 90 const uint8_t *luma_dc_quant_p;///< luma subblock DC quantizer for interframes |
90 | 91 |
91 RV34VLC *cur_vlcs; ///< VLC set used for current frame decoding | 92 RV34VLC *cur_vlcs; ///< VLC set used for current frame decoding |
92 int bits; ///< slice size in bits | 93 int bits; ///< slice size in bits |