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:
Ruijing Dong
2022-09-10 16:52:12 -04:00
committed by Marge Bot
parent 3c8937d363
commit 0308abbe46
6 changed files with 81 additions and 8 deletions
+6
View File
@@ -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