d3d12: Report H264/HEVC support for 4 max temporal layers

Reviewed-By: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31268>
This commit is contained in:
Sil Vilerino
2024-02-15 13:28:55 -05:00
committed by Marge Bot
parent e0b84d4af1
commit fc1a96822d
@@ -171,8 +171,8 @@ DEFINE_ENUM_FLAG_OPERATORS(codec_unit_location_flags);
DEFINE_ENUM_FLAG_OPERATORS(pipe_video_feedback_encode_result_flags);
DEFINE_ENUM_FLAG_OPERATORS(pipe_video_feedback_metadata_type);
#define D3D12_VIDEO_ENC_H264_MAX_TEMPORAL_LAYERS 1
#define D3D12_VIDEO_ENC_HEVC_MAX_TEMPORAL_LAYERS 1
#define D3D12_VIDEO_ENC_H264_MAX_TEMPORAL_LAYERS 4
#define D3D12_VIDEO_ENC_HEVC_MAX_TEMPORAL_LAYERS 4
#define D3D12_VIDEO_ENC_AV1_MAX_TEMPORAL_LAYERS 1
#define D3D12_VIDEO_ENC_MAX_RATE_CONTROL_TEMPORAL_LAYERS 4