From ca6d3f234cd68690100714abff958a9304a095ff Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Fri, 30 Apr 2010 21:43:23 +0000 Subject: 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 --- libavcodec/aacsbr.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libavcodec/aacsbr.h') 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 */ -- cgit v1.2.3