aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacenc.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-06-01 11:26:48 -0300
committerJames Almer <jamrial@gmail.com>2024-06-09 12:29:49 -0300
commit91b9af00586471c3aae37435b4f536015593e232 (patch)
tree9ce7fd0067227675a6b85b102057eec065ff2a2a /libavcodec/aacenc.h
parent7a3369398f8b7869bec56fd2b96f22d5cc967e30 (diff)
downloadffmpeg-91b9af00586471c3aae37435b4f536015593e232.tar.gz
x86/aacencdsp: add AVX version of quantize_bands
quant_bands_signed_c: 1928.0 quant_bands_signed_sse2: 406.0 quant_bands_signed_avx: 207.0 quant_bands_unsigned_c: 1702.0 quant_bands_unsigned_sse2: 404.0 quant_bands_unsigned_avx: 209.0 Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r--libavcodec/aacenc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h
index d07960620e..ae15f91e06 100644
--- a/libavcodec/aacenc.h
+++ b/libavcodec/aacenc.h
@@ -242,7 +242,7 @@ typedef struct AACEncContext {
enum RawDataBlockType cur_type; ///< channel group type cur_channel belongs to
AudioFrameQueue afq;
- DECLARE_ALIGNED(16, int, qcoefs)[96]; ///< quantized coefficients
+ DECLARE_ALIGNED(32, int, qcoefs)[96]; ///< quantized coefficients
DECLARE_ALIGNED(32, float, scoefs)[1024]; ///< scaled coefficients
uint16_t quantize_band_cost_cache_generation;