aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_vcn_enc.h
diff options
context:
space:
mode:
authorBoyuan Zhang <[email protected]>2019-03-01 21:37:20 -0500
committerMarek Olšák <[email protected]>2019-07-03 15:51:12 -0400
commitdd46740bc2a034ab7e5f9a411b0c18b5623bbccf (patch)
tree381f4c1a86d13d40c53b1afcbc0f9e137c7be0e3 /src/gallium/drivers/radeon/radeon_vcn_enc.h
parente6ca4d1bd857bba64a98f63fca0e7bf66a581686 (diff)
radeon/vcn: move add buf func to common file
Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vcn_enc.h')
-rw-r--r--src/gallium/drivers/radeon/radeon_vcn_enc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vcn_enc.h b/src/gallium/drivers/radeon/radeon_vcn_enc.h
index c9a322671d6..5fa516167d9 100644
--- a/src/gallium/drivers/radeon/radeon_vcn_enc.h
+++ b/src/gallium/drivers/radeon/radeon_vcn_enc.h
@@ -496,6 +496,10 @@ struct radeon_encoder {
bool need_feedback;
};
+void radeon_enc_add_buffer(struct radeon_encoder *enc, struct pb_buffer *buf,
+ enum radeon_bo_usage usage, enum radeon_bo_domain domain,
+ signed offset);
+
void radeon_enc_1_2_init(struct radeon_encoder *enc);
#endif // _RADEON_VCN_ENC_H