[FFmpeg-cvslog] r26025 - trunk/libavcodec/ac3enc.c
jbr
subversion
Thu Dec 16 03:32:59 CET 2010
Author: jbr
Date: Thu Dec 16 03:32:59 2010
New Revision: 26025
Log:
Make windowed_samples 16-byte aligned.
This will allow future SIMD optimization of the window function.
Modified:
trunk/libavcodec/ac3enc.c
Modified: trunk/libavcodec/ac3enc.c
==============================================================================
--- trunk/libavcodec/ac3enc.c Thu Dec 16 03:32:55 2010 (r26024)
+++ trunk/libavcodec/ac3enc.c Thu Dec 16 03:32:59 2010 (r26025)
@@ -121,9 +121,10 @@ typedef struct AC3EncodeContext {
uint16_t *qmant1_ptr, *qmant2_ptr, *qmant4_ptr; ///< mantissa pointers for bap=1,2,4
int16_t **planar_samples;
- int16_t windowed_samples[AC3_WINDOW_SIZE];
uint8_t *bap_buffer;
uint8_t *bap1_buffer;
+
+ DECLARE_ALIGNED(16, int16_t, windowed_samples)[AC3_WINDOW_SIZE];
} AC3EncodeContext;
More information about the ffmpeg-cvslog
mailing list