aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorBoyuan Zhang <[email protected]>2018-10-30 14:57:59 -0400
committerMarek Olšák <[email protected]>2019-07-03 15:51:12 -0400
commit9940a6e066c063463826a6e9a5315cde7ce0ffec (patch)
tree1aa259e3712792138880a0139916c080fd764a26 /src/gallium/drivers/radeon
parentc6b51885054c921e3e6903890d3492a223737156 (diff)
radeon/vcn: add function pointer for ib functions
Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/radeon_vcn_enc.h32
1 files changed, 32 insertions, 0 deletions
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;