[FFmpeg-devel] [PATCH] AAC: unroll parts of decode_spectrum_and_dequant()
Jason Garrett-Glaser
darkshikari
Tue Dec 9 03:33:19 CET 2008
On Mon, Dec 8, 2008 at 3:43 PM, Alex Converse <alex.converse at gmail.com> wrote:
> Hi,
>
> The attached patch unrolling sections of decode spectrum saves me 5.48% on
> my mpeg4-lc-256kbps stream on my core2 duo.
>
> Regards,
> Alex Converse
If dim can only be 2 or 4, wouldn't it be better to do
if( dim == 4 ) {
do dim 4 stuff
}
do dim 2 stuff
The switch seems unnecessary.
Dark Shikari
More information about the ffmpeg-devel
mailing list