[vlc-devel] [PATCH] [RFC] pixel shader to write I420 data in NV12 textures

Steve Lhomme robux4 at videolabs.io
Wed Mar 25 18:24:24 CET 2015


On Wed, Mar 25, 2015 at 6:00 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On 25 Mar, Steve Lhomme wrote :
>> Direct3D11 doesn't support writing pixel formats in 3 planes.
>> So we write the U & V planes in the second texture, like for NV12 but use a pixel
>> shader to remap the values.
>
> Why do you convert them to RGB?

Because the rest of the code was already using shaders for formats the
GPU is supposed to support.

I'll try without and see if it helps. IMO it should work without
shaders out of the box when we write the proper pixel format.



More information about the vlc-devel mailing list