[MPlayer-dev-eng] [PATCH]Allow vo vdpau to use IMGFMT_I420 and IMGFMT_IYUV

Jindrich Makovicka makovick at gmail.com
Mon Mar 30 10:35:33 CEST 2009


On Mon, 30 Mar 2009 08:13:15 +0000 (UTC)
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Jindrich Makovicka <makovick <at> gmail.com> writes:
> 
> > > Is there a difference between IMGFMT_YV12, IMGFMT_I420 and
> > > IMGFMT_IYUV? All are mapped to PIX_FMT_YUV420P in
> > > fmt-conversion.c.
> > > 
> > > Please comment, Carl Eugen
> > AFAIK none except the U/V plane order: http://www.fourcc.org/yuv.php
> 
> I read that article, and afaics, MPlayer does not support YV12, but
> simply calls I420/IYUV YV12 sometimes (most of the time).

I think it's the opposite - MPlayer mostly uses YV12 ordering, but it
can also support I420. I dealt with this issue when maintaining
tvi_v4l(2). V4L1 drivers produced only I420 so I did manual plane
swapping in tvi_v4l to emulate YV12 for user convenience, because i420
also needed some additional command line flag due to i420 FourCC clash
with Indeo.

-- 
Jindrich Makovicka





More information about the MPlayer-dev-eng mailing list