[FFmpeg-devel] [PATCH] Fix mlib DCT routine in dsputil

Albert Lee trisk+xine
Wed Mar 26 21:32:44 CET 2008


Hi,


The ff_fdct_mlib() in dsputil has been broken for a long time; it
assumes the mediaLib DCT scales its output by 8 (as libjpeg's does).
This results in a well-known "green tint" problem. The attached patch
adds the scaling.

I'm also attaching the email from the mediaLib engineer who proposed the
fix.

-Albert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-05-mlib.diff
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080326/bc974450/attachment.bin>
-------------- next part --------------
An embedded message was scrubbed...
From: James Cheng <James.Cheng at Sun.COM>
Subject: Re: A bug fix for FFmpeg related to using mediaLib
Date: Thu, 20 Mar 2008 00:35:29 -0700
Size: 4745
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080326/bc974450/attachment.eml>



More information about the ffmpeg-devel mailing list