From 43b378a0d321e3d01f196cec95e13acfac80d464 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Fri, 21 Aug 2015 18:53:14 +0100 Subject: aaccoder: move the quantization functions to a separate file This commit moves the quantizer to a separate header file. This allows the quantizer to be used from a separate files outside of aaccoder without having to put another function pointer and will result in a slight speedup as the compiler can do more optimizations. This is required for commits following. Signed-off-by: Rostislav Pehlivanov --- libavcodec/aac.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/aac.h') diff --git a/libavcodec/aac.h b/libavcodec/aac.h index 3e3e479986..4ac4a34a48 100644 --- a/libavcodec/aac.h +++ b/libavcodec/aac.h @@ -254,6 +254,7 @@ typedef struct SingleChannelElement { DECLARE_ALIGNED(32, INTFLOAT, saved)[1536]; ///< overlap DECLARE_ALIGNED(32, INTFLOAT, ret_buf)[2048]; ///< PCM output buffer DECLARE_ALIGNED(16, INTFLOAT, ltp_state)[3072]; ///< time signal for LTP + DECLARE_ALIGNED(32, AAC_FLOAT, pqcoeffs)[1024]; ///< quantization error of coefs (used by encoder) PredictorState predictor_state[MAX_PREDICTORS]; INTFLOAT *ret; ///< PCM output } SingleChannelElement; -- cgit v1.2.3