From f12046003cda4e7edde6b2462f98a01289f2fe29 Mon Sep 17 00:00:00 2001 From: Vincent Cheah Beng Keat Date: Wed, 15 Jan 2025 16:05:21 +0800 Subject: [PATCH] [VP] Add Y412 and Y212 caps for BMG Signed-off-by: Cheah, Vincent Beng Keat --- .../xe2_hpm_r0/vp/capstable_data_vp_xe2_hpm_r0_specific.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/media_softlet/linux/xe2_hpm_r0/vp/capstable_data_vp_xe2_hpm_r0_specific.h b/media_softlet/linux/xe2_hpm_r0/vp/capstable_data_vp_xe2_hpm_r0_specific.h index 09824669350..a12817019fb 100644 --- a/media_softlet/linux/xe2_hpm_r0/vp/capstable_data_vp_xe2_hpm_r0_specific.h +++ b/media_softlet/linux/xe2_hpm_r0/vp/capstable_data_vp_xe2_hpm_r0_specific.h @@ -68,6 +68,10 @@ static ProfileSurfaceAttribInfo surfaceAttribInfo_VAEntrypointVideoProc_VAProfil {VASurfaceAttribPixelFormat, VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE, {VAGenericValueTypeInteger, {VA_FOURCC_AYUV}}}, {VASurfaceAttribPixelFormat, VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE, {VAGenericValueTypeInteger, {VA_FOURCC_Y210}}}, {VASurfaceAttribPixelFormat, VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE, {VAGenericValueTypeInteger, {VA_FOURCC_Y410}}}, +#if VA_CHECK_VERSION(1, 9, 0) + {VASurfaceAttribPixelFormat, VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE, {VAGenericValueTypeInteger, {VA_FOURCC_Y212}}}, + {VASurfaceAttribPixelFormat, VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE, {VAGenericValueTypeInteger, {VA_FOURCC_Y412}}}, +#endif #if VA_CHECK_VERSION(1, 13, 0) {VASurfaceAttribPixelFormat, VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE, {VAGenericValueTypeInteger, {VA_FOURCC_XYUV}}}, #else @@ -96,4 +100,4 @@ static EntrypointMap entrypointMap_VAProfileNone_Xe2_hpm_r0 {VAEntrypointVideoProc, &entrypointMap_VAProfileNone_Data_Xe2_hpm_r0}, }; -#endif \ No newline at end of file +#endif