mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 12:30:19 +01:00
pipe: Add PIPE_VIDEO_FEEDBACK_METADATA_TYPE_AVERAGE_FRAME_QP
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26456>
This commit is contained in:
parent
3f07c8c321
commit
c954830132
2 changed files with 6 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ enum pipe_video_feedback_metadata_type
|
|||
PIPE_VIDEO_FEEDBACK_METADATA_TYPE_CODEC_UNIT_LOCATION = 0x2,
|
||||
PIPE_VIDEO_FEEDBACK_METADATA_TYPE_MAX_FRAME_SIZE_OVERFLOW = 0x4,
|
||||
PIPE_VIDEO_FEEDBACK_METADATA_TYPE_MAX_SLICE_SIZE_OVERFLOW = 0x8,
|
||||
PIPE_VIDEO_FEEDBACK_METADATA_TYPE_AVERAGE_FRAME_QP = 0x10,
|
||||
};
|
||||
|
||||
enum pipe_video_av1_enc_filter_mode
|
||||
|
|
|
|||
|
|
@ -1927,6 +1927,11 @@ struct pipe_enc_feedback_metadata
|
|||
*/
|
||||
struct codec_unit_location_t codec_unit_metadata[256];
|
||||
unsigned codec_unit_metadata_count;
|
||||
|
||||
/*
|
||||
* Driver writes the average QP used to encode this frame
|
||||
*/
|
||||
unsigned int average_frame_qp;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue