summaryrefslogtreecommitdiff
path: root/libavcodec/aacsbr.h
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-04-30 21:43:23 +0000
committerAlex Converse <alex.converse@gmail.com>2010-04-30 21:43:23 +0000
commitca6d3f234cd68690100714abff958a9304a095ff (patch)
tree237cbdbc53f5cea51d2c77cd4698f0dba2897e83 /libavcodec/aacsbr.h
parentbd744c4fd03cc3e5262f0f04ad955df6575b71f2 (diff)
Rewrite ff_sbr_apply in a manner more friendly to PS.
This includes merging ff_sbr_dequant into ff_sbr_apply. Originally committed as revision 22995 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aacsbr.h')
-rw-r--r--libavcodec/aacsbr.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/aacsbr.h b/libavcodec/aacsbr.h
index e89f870028..6b10ed43e4 100644
--- a/libavcodec/aacsbr.h
+++ b/libavcodec/aacsbr.h
@@ -42,10 +42,8 @@ av_cold void ff_aac_sbr_ctx_close(SpectralBandReplication *sbr);
/** Decode one SBR element. */
int ff_decode_sbr_extension(AACContext *ac, SpectralBandReplication *sbr,
GetBitContext *gb, int crc, int cnt, int id_aac);
-/** Dequantized all channels in one SBR element. */
-void ff_sbr_dequant(AACContext *ac, SpectralBandReplication *sbr, int id_aac);
-/** Apply dequantized SBR to a single AAC channel. */
-void ff_sbr_apply(AACContext *ac, SpectralBandReplication *sbr, int ch,
- const float* in, float* out);
+/** Apply one SBR element to one AAC element. */
+void ff_sbr_apply(AACContext *ac, SpectralBandReplication *sbr, int id_aac,
+ float* L, float *R);
#endif /* AVCODEC_AACSBR_H */