[FFmpeg-devel] [PATCH] mpeg2: remove idct randomisation

Michael Niedermayer michaelni
Mon Jun 21 00:23:36 CEST 2010


On Sun, Jun 20, 2010 at 11:21:28PM +0100, Mans Rullgard wrote:
> Since the beginning of time, the MPEG2 decoder has XORed the LSB of
> all block coeffs into the last one, probably to produce a random
> dithering for masking DCT mismatch errors.  This patch removes this
> randomisation.  As a side-effect, the value of block_last_index is
> now correct.

This violates the spec

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100621/f26dad32/attachment.pgp>



More information about the ffmpeg-devel mailing list