From 7c8ffc34aa93f90af7cbcee7674f49db4ee4be1e Mon Sep 17 00:00:00 2001 From: Sil Vilerino Date: Wed, 4 Sep 2024 06:43:48 -0400 Subject: [PATCH] pipe: Add PIPE_H26X_MAX_REFERENCES Reviewed-By: Jesse Natalie Part-of: --- src/gallium/include/pipe/p_video_state.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index fc23e6cda16..7a0dd36ef60 100644 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -45,6 +45,8 @@ extern "C" { #define PIPE_H265_MAX_NUM_LIST_REF 15 #define PIPE_H265_MAX_DPB_SIZE 16 #define PIPE_H265_MAX_SLICES 128 +#define PIPE_H264_MAX_REFERENCES 16 +#define PIPE_H265_MAX_REFERENCES 15 #define PIPE_AV1_MAX_REFERENCES 8 #define PIPE_DEFAULT_FRAME_RATE_DEN 1 #define PIPE_DEFAULT_FRAME_RATE_NUM 30