[FFmpeg-devel] [PATCH] yuv-> rgb C unscaled conversion broken for resolutions not multiple of 8

Carl Eugen Hoyos cehoyos
Sat Jun 2 23:53:57 CEST 2007

Reimar D?ffinger wrote:
> Hello,
> unscaled yuv->rgb pure C conversion does miss some rightmost pixels if
> the width is not divisible by 8, as exhibited in
> http://movies.apple.com/trailers/images/hd_btn2_480p.mov by doing
> mplayer hd_btn2_480p.mov -vf format=rgb24,scale -loop 0
> Attached patch at least fixes some of the conversions for the case where
> width is divisible by 4.

Updated patch attached.

Please apply, Carl Eugen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patchblackborder
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070602/bfc68fc0/attachment.txt>

More information about the ffmpeg-devel mailing list