[FFmpeg-cvslog] [FFmpeg-devel] avcodec/aac_tablegen: speed up table initialization
Ganesh Ajjanagadde
gajjanag at mit.edu
Fri Nov 27 16:09:32 CET 2015
On Fri, Nov 27, 2015 at 9:37 AM, Clément Bœsch <u at pkh.me> wrote:
> On Fri, Nov 27, 2015 at 12:40:27PM +0100, Ganesh Ajjanagadde wrote:
> [...]
>> diff --git a/libavcodec/aac_tablegen.h b/libavcodec/aac_tablegen.h
>> index 8b223f9..85e189d 100644
>> --- a/libavcodec/aac_tablegen.h
>> +++ b/libavcodec/aac_tablegen.h
>> @@ -35,9 +35,46 @@ float ff_aac_pow34sf_tab[428];
>> av_cold void ff_aac_tableinit(void)
>> {
>> int i;
>> +
>> + /* 2^(i/16) for 0 <= i <= 15 */
>> + const float exp2_lut[] = {
>
> sorry to notice only now; maybe add a static?
No problem, since it does not really matter much. Will push later today.
>
> --
> Clément B.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-cvslog
mailing list