[FFmpeg-devel] [PATCH] improve yuv422p to rgb in libswscale

Michael Niedermayer michaelni
Wed Dec 1 02:13:42 CET 2010

On Tue, Nov 30, 2010 at 04:07:20AM -0800, Baptiste Coudurier wrote:
> Hi
> $subject, use full vertical data when convert 422p, improve quality a lot.
> -- 
> Baptiste COUDURIER
> Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> FFmpeg maintainer                                  http://www.ffmpeg.org

>  x86/yuv2rgb_template.c |   25 ++++-------
>  yuv2rgb.c              |  109 ++++++-------------------------------------------
>  2 files changed, 26 insertions(+), 108 deletions(-)
> 16f384c9b114c76572a539511c42267ce2942c67  yuv422p_to_rgb.patch

this looks like it would make 420p->rgb quite a bit slower.
If so thats a problem.
making 422p->rgb slower isnt a real problem as it can be changed to 420p
by manipulating linesizes

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101201/8be8ef00/attachment.pgp>

More information about the ffmpeg-devel mailing list