[FFmpeg-devel] [PATCH] mpeg2: fix block_last_index when mismatch control modifies last coeff

Måns Rullgård mans
Mon Jun 21 18:12:46 CEST 2010

Michael Niedermayer <michaelni at gmx.at> writes:

>> Having an incorrect value in block_last_index just seems wrong to me.
> i dont think a completely correct value would be very efficient speedwise
> as 75% of the cases where the last coeff is set have no effect on the post
> dct output for dc blocks (that is with an assumtation of dc values all being
> equally likely)

The last coeff is always manipulated, not only for dc-only blocks.  Do
you know for sure exactly in which cases it makes a difference?

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list