From a307f426f82fa495c7b14e15e625614f16788d9c Mon Sep 17 00:00:00 2001 From: Xinpeng Sun Date: Wed, 15 Jan 2020 12:40:35 +0800 Subject: add fourcc code for P012 format Signed-off-by: Xinpeng Sun --- va/va.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/va/va.h b/va/va.h index 4c170c3..318e99e 100644 --- a/va/va.h +++ b/va/va.h @@ -3988,6 +3988,12 @@ VAStatus vaQuerySurfaceError( * The first plane contains Y, the second plane contains U and V in pairs of samples. */ #define VA_FOURCC_P010 0x30313050 +/** P012: two-plane 12-bit YUV 4:2:0. + * + * Each sample is a two-byte little-endian value with the bottom four bits ignored. + * The first plane contains Y, the second plane contains U and V in pairs of samples. + */ +#define VA_FOURCC_P012 0x32313050 /** P016: two-plane 16-bit YUV 4:2:0. * * Each sample is a two-byte little-endian value. The first plane contains Y, the second -- cgit v1.2.1