Re: [FFmpeg-devel] [PATCH] dnxhd: interleave AC levels and flags

2015-10-14 Thread Michael Niedermayer
On Wed, Oct 14, 2015 at 07:20:49PM +0200, Christophe Gisquet wrote: > This allows more efficient access to the array as the level and flags > are contiguous. Around 4% faster coefficient decoding. > --- > Not the cleanest, and may complicate adding new profiles. But DNxHR > just got added, so it sh

[FFmpeg-devel] [PATCH] dnxhd: interleave AC levels and flags

2015-10-14 Thread Christophe Gisquet
This allows more efficient access to the array as the level and flags are contiguous. Around 4% faster coefficient decoding. --- Not the cleanest, and may complicate adding new profiles. But DNxHR just got added, so it should be ok for some years. --- libavcodec/dnxhddata.c | 492 +