[FFmpeg-devel] [PATCH] Bink Video decoder for FFmpeg 0.6
Wed Feb 17 15:07:37 CET 2010
>> + ? ? ? ?if (!plane || !c->swap_planes)
>> + ? ? ? ? ? ?plane_idx = plane;
>> + ? ? ? ?else
>> + ? ? ? ? ? ?plane_idx = plane ^ 3;
>> I'd ternary this.
> Mainly because quant table index must be read after all DCT coefficients
> are decoded (sounds like bad design to me).
Sounds like you need a dequant DSP function then. This would benefit
greatly from asm.
You could also track the last nnz and only dequant up to it.
More information about the ffmpeg-devel