From db5ddf1c2e4bcbd74cd382dda5250a1df7038640 Mon Sep 17 00:00:00 2001 From: "Teng, Jin Chung" Date: Tue, 9 Jan 2024 13:41:20 +0800 Subject: [PATCH] d3d12: Decode - Adding more supported resolution Part-of: --- src/gallium/drivers/d3d12/d3d12_video_screen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/d3d12/d3d12_video_screen.cpp b/src/gallium/drivers/d3d12/d3d12_video_screen.cpp index 8f29ee38dda..9f8d03503f2 100644 --- a/src/gallium/drivers/d3d12/d3d12_video_screen.cpp +++ b/src/gallium/drivers/d3d12/d3d12_video_screen.cpp @@ -84,6 +84,7 @@ get_level_resolution_video_decode_support(D3D12_VIDEO_DECODE_CONFIGURATION decod } d3d12_video_resolution_to_level_mapping_entry resolutionsLevelList[] = { + { { 8192, 4352 }, 61 }, // 8k { { 8192, 4320 }, 61 }, // 8k { { 7680, 4800 }, 61 }, // 8k - alternative { { 7680, 4320 }, 61 }, // 8k - alternative @@ -98,6 +99,7 @@ get_level_resolution_video_decode_support(D3D12_VIDEO_DECODE_CONFIGURATION decod { { 352, 240 }, 2 }, { { 176, 144 }, 11 }, { { 128, 96 }, 11 }, + { { 64, 64 }, 11 }, }; D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT decodeSupport = {};