comparison aacsbr.h @ 11667:6818ea5a25a2 libavcodec

Rewrite ff_sbr_apply in a manner more friendly to PS. This includes merging ff_sbr_dequant into ff_sbr_apply.
author alexc
date Fri, 30 Apr 2010 21:43:23 +0000
parents 7dd2a45249a9
children
comparison
equal deleted inserted replaced
11666:1c6d78234e67 11667:6818ea5a25a2
40 /** Close one SBR context. */ 40 /** Close one SBR context. */
41 av_cold void ff_aac_sbr_ctx_close(SpectralBandReplication *sbr); 41 av_cold void ff_aac_sbr_ctx_close(SpectralBandReplication *sbr);
42 /** Decode one SBR element. */ 42 /** Decode one SBR element. */
43 int ff_decode_sbr_extension(AACContext *ac, SpectralBandReplication *sbr, 43 int ff_decode_sbr_extension(AACContext *ac, SpectralBandReplication *sbr,
44 GetBitContext *gb, int crc, int cnt, int id_aac); 44 GetBitContext *gb, int crc, int cnt, int id_aac);
45 /** Dequantized all channels in one SBR element. */ 45 /** Apply one SBR element to one AAC element. */
46 void ff_sbr_dequant(AACContext *ac, SpectralBandReplication *sbr, int id_aac); 46 void ff_sbr_apply(AACContext *ac, SpectralBandReplication *sbr, int id_aac,
47 /** Apply dequantized SBR to a single AAC channel. */ 47 float* L, float *R);
48 void ff_sbr_apply(AACContext *ac, SpectralBandReplication *sbr, int ch,
49 const float* in, float* out);
50 48
51 #endif /* AVCODEC_AACSBR_H */ 49 #endif /* AVCODEC_AACSBR_H */