cudaformat: add support for planar 4:2:2 YUV formats in CUDA D3D11 interop

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2269>
This commit is contained in:
Corentin Damman 2022-04-22 16:37:34 +02:00 committed by GStreamer Marge Bot
parent 8678fc999a
commit ae781610c8

View file

@ -32,7 +32,8 @@ G_BEGIN_DECLS
"BGRA, RGBA, RGBx, BGRx, ARGB, ABGR, RGB, BGR, BGR10A2_LE, RGB10A2_LE }"
#define GST_CUDA_D3D11_FORMATS \
"{ BGRA, RGBA, BGRx, RGBx }"
"{ I420, YV12, I420_10LE, Y444, Y444_16LE, " \
"BGRA, RGBA, BGRx, RGBx, Y42B, I422_10LE, I422_12LE }"
#define GST_CUDA_NVMM_FORMATS \
"{ I420, YV12, NV12, NV21, P010_10LE, Y444, " \