The pixel formats VMAFx reads, from the table [[pixel_formats]] of core/api/vmafx.toml (ADR-2145 ). Every layout is converted to the planar frame in the second column with nothing but a gather, a shift and a mask, so a frame scores bit for bit as the same samples in planar form; the RGB layouts are converted to Y'CbCr only with a stated matrix, range and transfer (ADR-2146 ). The FFmpeg and GStreamer names are the lists the filter and the element take; the devices column names the backends that import the layout on the device without a host copy.
VmafxPixelFormat Frame made Layout Bits Chroma siting Devices YUV420P YUV420P planar 8 to 16 left cpu, cuda, sycl, hip, metal YUV422P YUV422P planar 8 to 16 left cpu, cuda, sycl, hip, metal YUV444P YUV444P planar 8 to 16 none cpu, cuda, sycl, hip, metal YUV400P YUV400P planar 8 to 16 none cpu, cuda, sycl, hip, metal NV12 YUV420P semi-planar 8 left cpu, cuda, sycl, hip, metal P010 YUV420P semi-planar 10 left cpu, cuda, sycl, hip, metal P016 YUV420P semi-planar 16 left cpu, cuda, sycl, hip, metal NV16 YUV422P semi-planar 8 left cpu, cuda, sycl, hip P210 YUV422P semi-planar 10 left cpu, cuda, sycl, hip P216 YUV422P semi-planar 16 left cpu, cuda, sycl, hip NV24 YUV444P semi-planar 8 none cpu, cuda, sycl, hip P410 YUV444P semi-planar 10 none cpu, cuda, sycl, hip P416 YUV444P semi-planar 16 none cpu, cuda, sycl, hip Y210 YUV422P packed 10 left cpu, cuda, sycl, hip Y212 YUV422P packed 12 left cpu, cuda, sycl, hip YUYV422 YUV422P packed 8 left cpu, cuda, sycl, hip UYVY422 YUV422P packed 8 left cpu, cuda, sycl, hip V210 YUV422P packed 10 left cpu, cuda, sycl, hip Y410 YUV444P packed 10 none cpu, cuda, sycl, hip XV36 YUV444P packed 12 none cpu, cuda, sycl, hip VUYX YUV444P packed 8 none cpu, cuda, sycl, hip AYUV YUV444P packed 8 none cpu, cuda, sycl, hip YUV444P_MSB YUV444P planar 9 to 16 none cpu, cuda, sycl, hip RGB YUV444P rgb, statement required 8 to 16 none cpu, cuda, sycl, hip RGBA YUV444P rgb, statement required 8 to 16 none cpu, cuda, sycl, hip BGRA YUV444P rgb, statement required 8 to 16 none cpu, cuda, sycl, hip
Names on each surface Format FFmpeg (bits: name) GStreamer (bits: name) yuv420p 8: yuv420p, 9: yuv420p9le, 10: yuv420p10le, 12: yuv420p12le, 14: yuv420p14le, 16: yuv420p16le 8: I420, 10: I420_10LE, 12: I420_12LE yuv422p 8: yuv422p, 9: yuv422p9le, 10: yuv422p10le, 12: yuv422p12le, 14: yuv422p14le, 16: yuv422p16le 8: Y42B, 10: I422_10LE, 12: I422_12LE yuv444p 8: yuv444p, 9: yuv444p9le, 10: yuv444p10le, 12: yuv444p12le, 14: yuv444p14le, 16: yuv444p16le 8: Y444, 10: Y444_10LE, 12: Y444_12LE, 16: Y444_16LE gray 8: gray, 9: gray9le, 10: gray10le, 12: gray12le, 14: gray14le, 16: gray16le 8: GRAY8, 16: GRAY16_LE nv12 8: nv12 8: NV12 p010 10: p010le 10: P010_10LE p016 16: p016le 16: P016_LE nv16 8: nv16 8: NV16 p210 10: p210le none p216 16: p216le none nv24 8: nv24 8: NV24 p410 10: p410le none p416 16: p416le none y210 10: y210le 10: Y210 y212 12: y212le 12: Y212_LE yuyv422 8: yuyv422 8: YUY2 uyvy422 8: uyvy422 8: UYVY v210 none 10: v210 xv30 10: xv30le 10: Y410 xv36 12: xv36le 12: Y412_LE vuyx 8: vuyx 8: VUYA ayuv 8: ayuv 8: AYUV yuv444p16msb 10: yuv444p10msble, 12: yuv444p12msble none rgb 8: rgb24, 16: rgb48le 8: RGB rgba 8: rgba, 16: rgba64le 8: RGBA, 16: RGBA64_LE bgra 8: bgra, 16: bgra64le 8: BGRA, 16: BGRA64_LE