From 9423d7665d7efc97b8b8db2badf600c9dc636f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Semenov=20Herman=20=28=D0=A1=D0=B5=D0=BC=D0=B5=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=20=D0=93=D0=B5=D1=80=D0=BC=D0=B0=D0=BD=29?= Date: Wed, 30 Oct 2024 10:25:56 +0300 Subject: [PATCH] [Linux DDI] Fixed incorrect convert Fourcc to GMM format for VA_FOURCC_P012 --- media_driver/linux/common/ddi/media_libva_caps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media_driver/linux/common/ddi/media_libva_caps.cpp b/media_driver/linux/common/ddi/media_libva_caps.cpp index 41a51861bc0..64fe7e8f14e 100755 --- a/media_driver/linux/common/ddi/media_libva_caps.cpp +++ b/media_driver/linux/common/ddi/media_libva_caps.cpp @@ -3578,7 +3578,7 @@ GMM_RESOURCE_FORMAT MediaLibvaCaps::ConvertFourccToGmmFmt(uint32_t fourcc) case VA_FOURCC_IMC3 : return GMM_FORMAT_IMC3_TYPE; case VA_FOURCC_P208 : return GMM_FORMAT_P208_TYPE; case VA_FOURCC_P010 : return GMM_FORMAT_P010_TYPE; - case VA_FOURCC_P012 : return GMM_FORMAT_P016_TYPE; + case VA_FOURCC_P012 : return GMM_FORMAT_P012_TYPE; case VA_FOURCC_P016 : return GMM_FORMAT_P016_TYPE; case VA_FOURCC_Y210 : return GMM_FORMAT_Y210_TYPE; case VA_FOURCC_Y410 : return GMM_FORMAT_Y410_TYPE;