mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 07:10:36 +02:00
gallium/pipe/video: group avc encoder seq structure
Prepare for using new seq structure Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18877>
This commit is contained in:
parent
6c38797101
commit
8432ed4b28
1 changed files with 13 additions and 0 deletions
|
|
@ -456,10 +456,23 @@ struct h265_slice_descriptor
|
|||
enum pipe_h265_slice_type slice_type;
|
||||
};
|
||||
|
||||
struct pipe_h264_enc_seq_param
|
||||
{
|
||||
unsigned enc_constraint_set_flags;
|
||||
unsigned enc_frame_cropping_flag;
|
||||
unsigned enc_frame_crop_left_offset;
|
||||
unsigned enc_frame_crop_right_offset;
|
||||
unsigned enc_frame_crop_top_offset;
|
||||
unsigned enc_frame_crop_bottom_offset;
|
||||
unsigned pic_order_cnt_type;
|
||||
unsigned num_temporal_layers;
|
||||
};
|
||||
|
||||
struct pipe_h264_enc_picture_desc
|
||||
{
|
||||
struct pipe_picture_desc base;
|
||||
|
||||
struct pipe_h264_enc_seq_param seq;
|
||||
struct pipe_h264_enc_rate_control rate_ctrl[4];
|
||||
|
||||
struct pipe_h264_enc_motion_estimation motion_est;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue