frontends/va: add HRD, filler data enable and etc
HRD parameters and filler data enable and skip frame enable data are needed even though some application doesn't use them. Also for per picture rate control, max_qp and min_qp are added. Signed-off-by: Ruijing Dong <ruijing.dong@amd.com> Reviewed-By: Sil Vilerino <sivileri@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18534>
This commit is contained in:
@@ -383,8 +383,11 @@ struct pipe_h264_enc_rate_control
|
||||
unsigned peak_bits_picture_integer;
|
||||
unsigned peak_bits_picture_fraction;
|
||||
unsigned fill_data_enable;
|
||||
unsigned skip_frame_enable;
|
||||
unsigned enforce_hrd;
|
||||
unsigned max_au_size;
|
||||
unsigned max_qp;
|
||||
unsigned min_qp;
|
||||
};
|
||||
|
||||
struct pipe_h264_enc_motion_estimation
|
||||
@@ -520,8 +523,11 @@ struct pipe_h265_enc_rate_control
|
||||
unsigned peak_bits_picture_integer;
|
||||
unsigned peak_bits_picture_fraction;
|
||||
unsigned fill_data_enable;
|
||||
unsigned skip_frame_enable;
|
||||
unsigned enforce_hrd;
|
||||
unsigned max_au_size;
|
||||
unsigned max_qp;
|
||||
unsigned min_qp;
|
||||
};
|
||||
|
||||
struct pipe_h265_enc_picture_desc
|
||||
|
||||
Reference in New Issue
Block a user