summaryrefslogtreecommitdiff
path: root/libavcodec/aac.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-10-14 00:12:55 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-11-25 19:06:36 -0500
commit3d3cf6745e2a5dc9c377244454c3186d75b177fa (patch)
treea33f4cb631565ca8d94d9a81fd6240cf9eeaef2b /libavcodec/aac.h
parent8e134e5104e99a69cd4cea10540a7ce9c3682a2c (diff)
aacdec: use float planar sample format for output
Diffstat (limited to 'libavcodec/aac.h')
-rw-r--r--libavcodec/aac.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/aac.h b/libavcodec/aac.h
index 9c6ac277d5..6c5d962dd8 100644
--- a/libavcodec/aac.h
+++ b/libavcodec/aac.h
@@ -236,9 +236,10 @@ typedef struct SingleChannelElement {
uint8_t zeroes[128]; ///< band is not coded (used by encoder)
DECLARE_ALIGNED(32, float, coeffs)[1024]; ///< coefficients for IMDCT
DECLARE_ALIGNED(32, float, saved)[1024]; ///< overlap
- DECLARE_ALIGNED(32, float, ret)[2048]; ///< PCM output
+ DECLARE_ALIGNED(32, float, ret_buf)[2048]; ///< PCM output buffer
DECLARE_ALIGNED(16, float, ltp_state)[3072]; ///< time signal for LTP
PredictorState predictor_state[MAX_PREDICTORS];
+ float *ret; ///< PCM output
} SingleChannelElement;
/**
@@ -297,10 +298,10 @@ typedef struct AACContext {
/** @} */
/**
- * @name Members used for output interleaving
+ * @name Members used for output
* @{
*/
- float *output_data[MAX_CHANNELS]; ///< Points to each element's 'ret' buffer (PCM output).
+ SingleChannelElement *output_element[MAX_CHANNELS]; ///< Points to each SingleChannelElement
/** @} */
DECLARE_ALIGNED(32, float, temp)[128];