From b1c0dc9259ca29bc2bb5dd88e3d3604a6a3ed3a0 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: (cherry picked from commit 2b5ca87927ea357c93254b3a064c34b633f0be39) --- .pick_status.json | 2 +- src/gallium/include/pipe/p_video_state.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 2adaf4993b5..2e8d6629d57 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -424,7 +424,7 @@ "description": "gallium/pipe: Increase hevc max slice to 600", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null 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