[FFmpeg-devel] [PATCH] Fix PSX MDEC decoder
Vitor Sessak
vitor1001
Sat Jan 1 19:52:38 CET 2011
Hi,
I saw in a blog post [1] that FFmpeg decodes Playstation 1 video files
with artifacts. It is indeed true, due to a wrong pixfmt (YUV/YUVJ) and
not imposing using DCT_SIMPLE, as is done in MPEG1. The attached patch
fixes it.
For reference, I'm attaching a decoded frame with:
1- Current SVN with -idct mmx
2- Current SVN with -idct simple
3- Patched SVN
4- Reference decoder output (i.e., PS1 image grab)
-Vitor
[1]
http://jpsxdec.blogspot.com/2010/09/psx-video-decoders-final-showdown.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_mdec.diff
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110101/5ed31c1e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: current-svn-idct-mmx.jpg
Type: image/jpeg
Size: 17915 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110101/5ed31c1e/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: current-svn-idct-simple.jpg
Type: image/jpeg
Size: 16948 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110101/5ed31c1e/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patched.jpg
Type: image/jpeg
Size: 16487 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110101/5ed31c1e/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reference.png
Type: image/png
Size: 120509 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110101/5ed31c1e/attachment.png>
More information about the ffmpeg-devel
mailing list