[MPlayer-dev-eng] [PATCH] remove yuv4mpeg RGB support

Ivan Kalvachev ikalvachev at gmail.com
Fri Jun 4 13:20:34 CEST 2010


On 6/4/10, Steinar H. Gunderson <sgunderson at bigfoot.com> wrote:
> On Fri, Jun 04, 2010 at 07:44:20AM +0200, Reimar Döffinger wrote:
>> As I understand the code, -vf scale in interlaced code at least does the
>> very same thing as the current code.
>
> What do you mean? The difference here was -vf scale=::1 vs. -vf
> ilpack,scale=::1 IIRC.


There shouldn't be any difference between both.
The ilpack helps when the follow up filters can't handle interlace
content, aka:  -vf ilpack,scale,<...>

Interlace i420 (aka yv12) is well defined in mpeg documentation. Odd
lines of luma and chroma are in one field, all even are in the other.
If image is processed as progressive, the chroma from one field ends
up coloring pixels from another.

vf_scale filter supports interlace properly by scaling  the odd/even
fields separately.

If I understand correctly yuv4mpeg supports only yv12, so there is no
point in these bizarre conversion. Go ahead with the patch.



More information about the MPlayer-dev-eng mailing list