summaryrefslogtreecommitdiff
path: root/libavcodec/aac.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-08-21 18:53:14 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-08-21 18:53:14 +0100
commit43b378a0d321e3d01f196cec95e13acfac80d464 (patch)
tree30d4afe233ffb915510b34c32eb8e7c7e17871cb /libavcodec/aac.h
parentb47a1e5c5f585da714b0361a3077b9ded46c8c54 (diff)
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 <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aac.h')
-rw-r--r--libavcodec/aac.h1
1 files changed, 1 insertions, 0 deletions
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;