From 364208f75471c98a113a9c5fdbf467e3643ed129 Mon Sep 17 00:00:00 2001 From: Silvio Vilerino Date: Fri, 24 Oct 2025 15:58:57 -0400 Subject: [PATCH] pipe: Add PIPE_VIDEO_CAP_ENC_READABLE_RECONSTRUCTED_PICTURE Reviewed-by: Ruijing Dong Part-of: --- src/gallium/include/pipe/p_video_enums.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/gallium/include/pipe/p_video_enums.h b/src/gallium/include/pipe/p_video_enums.h index dc263e7b585..4510123ed2f 100644 --- a/src/gallium/include/pipe/p_video_enums.h +++ b/src/gallium/include/pipe/p_video_enums.h @@ -255,6 +255,16 @@ enum pipe_video_cap * The returned value is pipe_enc_cap_spatial_adaptive_quantization */ PIPE_VIDEO_CAP_ENC_SPATIAL_ADAPTIVE_QUANTIZATION = 68, + /* + * Support for readable reconstructed picture from DPB current picture + * + * Indicates whether dpb_curr_pic (index in dpb array from + * pipe_h264_enc_picture_desc, pipe_h265_enc_picture_desc, or + * pipe_av1_enc_picture_desc) is readable or uses an opaque + * non-readable memory layout. When true, the reconstructed + * picture can be read directly. + */ + PIPE_VIDEO_CAP_ENC_READABLE_RECONSTRUCTED_PICTURE = 69, }; enum pipe_video_h264_enc_dbk_filter_mode_flags