Mercurial > libavcodec.hg
comparison qdm2.c @ 11369:98970e51365a libavcodec
Remove DECLARE_ALIGNED_{8,16} macros
These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.
author | mru |
---|---|
date | Sat, 06 Mar 2010 14:24:59 +0000 |
parents | 34a65026fa06 |
children | 4b3da727d832 |
comparison
equal
deleted
inserted
replaced
11368:3d4f64b8fb10 | 11369:98970e51365a |
---|---|
120 int16_t exp; | 120 int16_t exp; |
121 uint8_t phase; | 121 uint8_t phase; |
122 } FFTCoefficient; | 122 } FFTCoefficient; |
123 | 123 |
124 typedef struct { | 124 typedef struct { |
125 DECLARE_ALIGNED_16(QDM2Complex, complex)[MPA_MAX_CHANNELS][256]; | 125 DECLARE_ALIGNED(16, QDM2Complex, complex)[MPA_MAX_CHANNELS][256]; |
126 } QDM2FFT; | 126 } QDM2FFT; |
127 | 127 |
128 /** | 128 /** |
129 * QDM2 decoder context | 129 * QDM2 decoder context |
130 */ | 130 */ |
170 const uint8_t *compressed_data; | 170 const uint8_t *compressed_data; |
171 int compressed_size; | 171 int compressed_size; |
172 float output_buffer[1024]; | 172 float output_buffer[1024]; |
173 | 173 |
174 /// Synthesis filter | 174 /// Synthesis filter |
175 DECLARE_ALIGNED_16(MPA_INT, synth_buf)[MPA_MAX_CHANNELS][512*2]; | 175 DECLARE_ALIGNED(16, MPA_INT, synth_buf)[MPA_MAX_CHANNELS][512*2]; |
176 int synth_buf_offset[MPA_MAX_CHANNELS]; | 176 int synth_buf_offset[MPA_MAX_CHANNELS]; |
177 DECLARE_ALIGNED_16(int32_t, sb_samples)[MPA_MAX_CHANNELS][128][SBLIMIT]; | 177 DECLARE_ALIGNED(16, int32_t, sb_samples)[MPA_MAX_CHANNELS][128][SBLIMIT]; |
178 | 178 |
179 /// Mixed temporary data used in decoding | 179 /// Mixed temporary data used in decoding |
180 float tone_level[MPA_MAX_CHANNELS][30][64]; | 180 float tone_level[MPA_MAX_CHANNELS][30][64]; |
181 int8_t coding_method[MPA_MAX_CHANNELS][30][64]; | 181 int8_t coding_method[MPA_MAX_CHANNELS][30][64]; |
182 int8_t quantized_coeffs[MPA_MAX_CHANNELS][10][8]; | 182 int8_t quantized_coeffs[MPA_MAX_CHANNELS][10][8]; |