From 3618de33faabead8fa2633bff537715eda7a6752 Mon Sep 17 00:00:00 2001 From: Benjamin Cheng Date: Wed, 30 Sep 2026 13:50:04 -0400 Subject: [PATCH] va: Add P210 as a format This is a 2-plane 10-bit YUV 4:2:2 format. --- va/va.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/va/va.h b/va/va.h index 7dc13741c..c47d2b869 100644 --- a/va/va.h +++ b/va/va.h @@ -4506,6 +4506,12 @@ VAStatus vaSyncBuffer( * The first plane contains Y, the second plane contains U and V in pairs of bytes. */ #define VA_FOURCC_P208 0x38303250 +/** P210: two-plane 10-bit YUV 4:2:2. + * + * Each sample is a two-byte little-endian value with the bottom six bits ignored. + * The first plane contains Y, the second plane contains U and V in pairs of samples. + */ +#define VA_FOURCC_P210 0x30313250 /** I420: three-plane 8-bit YUV 4:2:0. * * The three planes contain Y, U and V respectively.