diff options
author | Sil Vilerino <sivileri@microsoft.com> | 2022-05-02 09:41:00 -0700 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-05-17 21:02:25 +0000 |
commit | d2871e40e0401136718290714547f1bd8c483fc1 (patch) | |
tree | 6d158c5b0b0644cef0d41afcb7e39c25634c77b2 /src/gallium/include/pipe | |
parent | e47b327435f2e6c239d13ed537ba6b5a70557378 (diff) |
gallium radeon/r600/omx/va: Adds support for multiple reference encoding
gallium: pipe_h264_enc_picture_desc: ref_idx_lx to ref_idx_lx_list[32], add num_ref_idx_lx_active_minus1
gallium radeon/r600: Change usage of ref_idx_lx to ref_idx_lx_list
gallium omx: Fill out ref_idx_lx_list, num_ref_idx_lx_active_minus1
gallium va: Add support for multiple references encoding
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16286>
Diffstat (limited to 'src/gallium/include/pipe')
-rwxr-xr-x | src/gallium/include/pipe/p_video_state.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index 19ae274fa84..b6f75d8b4bf 100755 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -428,8 +428,10 @@ struct pipe_h264_enc_picture_desc unsigned gop_cnt; unsigned pic_order_cnt; unsigned pic_order_cnt_type; - unsigned ref_idx_l0; - unsigned ref_idx_l1; + unsigned num_ref_idx_l0_active_minus1; + unsigned num_ref_idx_l1_active_minus1; + unsigned ref_idx_l0_list[32]; + unsigned ref_idx_l1_list[32]; unsigned gop_size; unsigned ref_pic_mode; unsigned num_temporal_layers; |