[FFmpeg-devel] [FFmpeg-cvslog] aacenc: add support for coding of intensity stereo scalefactor indices

Claudio Freire klaussfreire at gmail.com
Fri Jul 3 04:53:41 CEST 2015


On Wed, Jul 1, 2015 at 2:02 PM, James Almer <jamrial at gmail.com> wrote:
>> ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Fri Jun 26 21:16:34 2015 +0100| [7c10b87b5744179f16411f5981e96738021ec7ca] | committer: Michael Niedermayer
>>
>> aacenc: add support for coding of intensity stereo scalefactor indices
>>
>> This commit adds support for the coding of intensity stereo scalefactor indices.
>> It does not do any marking of such bands and as such does no functional changes
>> to the encoder. It removes any old twoloop specific code for PNS and moves it
>> into a seperate function which handles setting of scalefactor indices for
>> PNS and IS bands.
>>
>> Reviewed-by: Claudio Freire <klaussfreire at gmail.com>
>> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
>>
>> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7c10b87b5744179f16411f5981e96738021ec7ca
>> ---
>>
>>  libavcodec/aaccoder.c |   37 +++++++++++++++++++++++++++++++++++++
>>  libavcodec/aacenc.c   |    6 +++++-
>>  2 files changed, 42 insertions(+), 1 deletion(-)
>>
>> diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
>> index 2f99924..cd996b2 100644
>> --- a/libavcodec/aaccoder.c
>> +++ b/libavcodec/aaccoder.c
>> @@ -595,6 +595,43 @@ typedef struct TrellisPath {
>>  #define TRELLIS_STAGES 121
>>  #define TRELLIS_STATES (SCALE_MAX_DIFF+1)
>>
>> +static void set_special_band_scalefactors(AACEncContext *s, SingleChannelElement *sce)
>
> This function is unused and being optimized out with a warning during compilation.

A further patch makes use of it, but this is moot since a new set of
patches was pushed by Rostislav today, so lets take a look at those
instead.


More information about the ffmpeg-devel mailing list