[FFmpeg-cvslog] r23322 - trunk/libavcodec/aaccoder.c
Aurelien Jacobs
aurel
Wed May 26 01:12:44 CEST 2010
On Tue, May 25, 2010 at 08:35:02PM +0200, alexc wrote:
> Author: alexc
> Date: Tue May 25 20:35:01 2010
> New Revision: 23322
>
> Log:
> aacenc: Split find_max_val() from find_min_book() to eliminate duplicate searches.
>
> [...]
>
> @@ -567,9 +572,10 @@ static void search_for_quantizers_anmr(A
> maxscale = av_clip_uint8(log2(qmax)*4 + 6 + SCALE_ONE_POS - SCALE_DIV_512);
> minscale = av_clip(minscale - q0, 0, TRELLIS_STATES - 1);
> maxscale = av_clip(maxscale - q0, 0, TRELLIS_STATES);
> + float maxval = find_max_val(sce->ics.group_len[w], sce->ics.swb_sizes[g], s->scoefs+start);
Mixed declaration and code...
Aurel
More information about the ffmpeg-cvslog
mailing list