Mercurial > libavcodec.hg
comparison mlpdec.c @ 7556:a8ddede2248f libavcodec
mlpdec: Put some doxy comments to the right of vars instead of interleaved.
author | ramiro |
---|---|
date | Wed, 13 Aug 2008 01:41:06 +0000 |
parents | 8d00a2dfcb7a |
children | fd24c8628221 |
comparison
equal
deleted
inserted
replaced
7555:8d00a2dfcb7a | 7556:a8ddede2248f |
---|---|
142 #define FIR 0 | 142 #define FIR 0 |
143 #define IIR 1 | 143 #define IIR 1 |
144 | 144 |
145 /** filter data */ | 145 /** filter data */ |
146 typedef struct { | 146 typedef struct { |
147 //! number of taps in filter | 147 uint8_t order; ///< number of taps in filter |
148 uint8_t order; | 148 uint8_t shift; ///< Right shift to apply to output of filter. |
149 //! Right shift to apply to output of filter. | |
150 uint8_t shift; | |
151 | 149 |
152 int32_t coeff[MAX_FILTER_ORDER]; | 150 int32_t coeff[MAX_FILTER_ORDER]; |
153 int32_t state[MAX_FILTER_ORDER]; | 151 int32_t state[MAX_FILTER_ORDER]; |
154 } FilterParams; | 152 } FilterParams; |
155 | 153 |
156 /** sample data coding information */ | 154 /** sample data coding information */ |
157 typedef struct { | 155 typedef struct { |
158 FilterParams filter_params[NUM_FILTERS]; | 156 FilterParams filter_params[NUM_FILTERS]; |
159 | 157 |
160 //! Offset to apply to residual values. | 158 int16_t huff_offset; ///< Offset to apply to residual values. |
161 int16_t huff_offset; | 159 int32_t sign_huff_offset; ///< sign/rounding-corrected version of huff_offset |
162 //! sign/rounding-corrected version of huff_offset | 160 uint8_t codebook; ///< Which VLC codebook to use to read residuals. |
163 int32_t sign_huff_offset; | 161 uint8_t huff_lsbs; ///< Size of residual suffix not encoded using VLC. |
164 //! Which VLC codebook to use to read residuals. | |
165 uint8_t codebook; | |
166 //! Size of residual suffix not encoded using VLC. | |
167 uint8_t huff_lsbs; | |
168 } ChannelParams; | 162 } ChannelParams; |
169 | 163 |
170 typedef struct MLPDecodeContext { | 164 typedef struct MLPDecodeContext { |
171 AVCodecContext *avctx; | 165 AVCodecContext *avctx; |
172 | 166 |