Commit aa645b98 authored by Justin Ruggles's avatar Justin Ruggles

Make windowed_samples 16-byte aligned.

This will allow future SIMD optimization of the window function.

Originally committed as revision 26025 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e8d21fba
...@@ -121,9 +121,10 @@ typedef struct AC3EncodeContext { ...@@ -121,9 +121,10 @@ typedef struct AC3EncodeContext {
uint16_t *qmant1_ptr, *qmant2_ptr, *qmant4_ptr; ///< mantissa pointers for bap=1,2,4 uint16_t *qmant1_ptr, *qmant2_ptr, *qmant4_ptr; ///< mantissa pointers for bap=1,2,4
int16_t **planar_samples; int16_t **planar_samples;
int16_t windowed_samples[AC3_WINDOW_SIZE];
uint8_t *bap_buffer; uint8_t *bap_buffer;
uint8_t *bap1_buffer; uint8_t *bap1_buffer;
DECLARE_ALIGNED(16, int16_t, windowed_samples)[AC3_WINDOW_SIZE];
} AC3EncodeContext; } AC3EncodeContext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment