NeNeNe1
NeNeNe1

Reputation: 1

How to render YUV data by using DirectX11

Now, I have a work is to render YUVI420 data use Direct11.1, and I can render RGB data yet, but I cant find any information for render YUV directly.

Upvotes: 0

Views: 897

Answers (1)

Grey
Grey

Reputation: 23

you can create NV12 format texture and create shaderResourceView to map Luma and Chroma data, then use shader to draw it.

You can refer this project which i learned from.D3D11NV12Rendering

Finally, i encourage you to use D3D11 VideoProcessor method to render a frame.

Upvotes: 1

Related Questions