From 9940a6e066c063463826a6e9a5315cde7ce0ffec Mon Sep 17 00:00:00 2001 From: Boyuan Zhang Date: Tue, 30 Oct 2018 14:57:59 -0400 Subject: radeon/vcn: add function pointer for ib functions Signed-off-by: Boyuan Zhang Acked-by: Bas Nieuwenhuizen --- src/gallium/drivers/radeon/radeon_vcn_enc.h | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'src/gallium/drivers/radeon') diff --git a/src/gallium/drivers/radeon/radeon_vcn_enc.h b/src/gallium/drivers/radeon/radeon_vcn_enc.h index 15f12c66155..ec3c3a2ec3c 100644 --- a/src/gallium/drivers/radeon/radeon_vcn_enc.h +++ b/src/gallium/drivers/radeon/radeon_vcn_enc.h @@ -460,6 +460,38 @@ struct radeon_encoder { void (*begin)(struct radeon_encoder *enc, struct pipe_picture_desc *pic); void (*encode)(struct radeon_encoder *enc); void (*destroy)(struct radeon_encoder *enc); + void (*session_info)(struct radeon_encoder *enc); + void (*task_info)(struct radeon_encoder *enc, bool need_feedback); + void (*session_init)(struct radeon_encoder *enc); + void (*layer_control)(struct radeon_encoder *enc); + void (*layer_select)(struct radeon_encoder *enc); + void (*slice_control)(struct radeon_encoder *enc); + void (*spec_misc)(struct radeon_encoder *enc); + void (*rc_session_init)(struct radeon_encoder *enc, + struct pipe_picture_desc *picture); + void (*rc_layer_init)(struct radeon_encoder *enc, + struct pipe_picture_desc *picture); + void (*deblocking_filter)(struct radeon_encoder *enc); + void (*quality_params)(struct radeon_encoder *enc); + void (*nalu_sps)(struct radeon_encoder *enc); + void (*nalu_pps)(struct radeon_encoder *enc); + void (*nalu_vps)(struct radeon_encoder *enc); + void (*nalu_aud)(struct radeon_encoder *enc); + void (*slice_header)(struct radeon_encoder *enc); + void (*ctx)(struct radeon_encoder *enc); + void (*bitstream)(struct radeon_encoder *enc); + void (*feedback)(struct radeon_encoder *enc); + void (*intra_refresh)(struct radeon_encoder *enc); + void (*rc_per_pic)(struct radeon_encoder *enc, + struct pipe_picture_desc *picture); + void (*encode_params)(struct radeon_encoder *enc); + void (*encode_params_codec_spec)(struct radeon_encoder *enc); + void (*op_init)(struct radeon_encoder *enc); + void (*op_close)(struct radeon_encoder *enc); + void (*op_enc)(struct radeon_encoder *enc); + void (*op_init_rc)(struct radeon_encoder *enc); + void (*op_init_rc_vbv)(struct radeon_encoder *enc); + void (*op_speed)(struct radeon_encoder *enc); unsigned stream_handle; -- cgit v1.2.3