Module: Mesa
Branch: main
Commit: db5ddf1c2e4bcbd74cd382dda5250a1df7038640
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=db5ddf1c2e4bcbd74cd382dda5250a1df7038640

Author: Teng, Jin Chung <jin.chung.t...@intel.com>
Date:   Tue Jan  9 13:41:20 2024 +0800

d3d12: Decode - Adding more supported resolution

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26944>

---

 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 = {};

Reply via email to