summaryrefslogtreecommitdiff
path: root/libavcodec/aac.h
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-04-26 17:05:07 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-04-27 12:39:37 -0400
commit767848d7619ce43e00d1a13607a5cf2aa61d2d6e (patch)
treee93dbb4bbc2214a3deba77749f9279692c75058a /libavcodec/aac.h
parent6271794041abbf79098b6c01b27f1539b3a4af5e (diff)
aacdec: remove sf_scale and sf_offset.
Instead, scalefactors are adjusted by the offset amount, removing the need for sf_scale, and the MDCT scales are adjusted to compensate for the higher scalefactors. Floating-point output will be handled by modifying the MDCT scales.
Diffstat (limited to 'libavcodec/aac.h')
-rw-r--r--libavcodec/aac.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/aac.h b/libavcodec/aac.h
index 63ed2511f7..ecb8191566 100644
--- a/libavcodec/aac.h
+++ b/libavcodec/aac.h
@@ -293,8 +293,6 @@ typedef struct {
* @{
*/
float *output_data[MAX_CHANNELS]; ///< Points to each element's 'ret' buffer (PCM output).
- float sf_scale; ///< Pre-scale for correct IMDCT and dsp.float_to_int16.
- int sf_offset; ///< offset into pow2sf_tab as appropriate for dsp.float_to_int16
/** @} */
DECLARE_ALIGNED(32, float, temp)[128];