From 2b5ca87927ea357c93254b3a064c34b633f0be39 Mon Sep 17 00:00:00 2001 From: Yinjie Yao Date: Mon, 21 Apr 2025 09:48:07 -0400 Subject: [PATCH] gallium/pipe: Increase hevc max slice to 600 According to the spec, increase max supported slices of hevc to 600. Cc: mesa-stable Signed-off-by: Yinjie Yao Reviewed-by: Ruijing Dong Part-of: --- src/gallium/include/pipe/p_video_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index 95e0a524893..0dae7a99e80 100644 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -45,7 +45,7 @@ extern "C" { #define PIPE_H264_MAX_DPB_SIZE 17 #define PIPE_H265_MAX_NUM_LIST_REF 15 #define PIPE_H265_MAX_DPB_SIZE 16 -#define PIPE_H265_MAX_SLICES 128 +#define PIPE_H265_MAX_SLICES 600 #define PIPE_H264_MAX_REFERENCES 16 #define PIPE_H265_MAX_REFERENCES 15 #define PIPE_AV1_MAX_REFERENCES 8