[PATCH 5/6] wined3d: Add support for I420 textures

Martin Storsjö martin at martin.st
Wed Feb 12 09:50:17 CST 2014


On Wed, 12 Feb 2014, Stefan Dösinger wrote:

> Am 2014-02-11 12:14, schrieb Martin Storsjo:
>> I420 is similar to YV12, but the chroma planes are swapped.
> Do you have an application that uses this? Just making sure we're not
> adding dead code here.

Actually I don't. I first ran into this area with the OpenH264 test 
decoding application, which currently uses NV12 textures. Once I started 
adding support for that to wine, I also tested what other common YUV pixel 
formats actual hardware supports (I tested on a friend's physical windows 
machine), which wine doesn't, and found that the real windows machine also 
supported I420 but not e.g. NV21, in addition to YV12, UYVY and YUY2 which 
already were supported.

I can easily change the above mentioned test app to use I420, which works 
both on the physical windows machine and in wine with this patch, but I 
can't name any other app off-hand which would use this format. So if you 
prefer to hold off adding support for this format until there's a concrete 
need, I can drop this one.

// Martin


More information about the wine-devel mailing list