[Mesa-dev] [PATCH 13/18] radeon/vcn: add encode end frame

boyuan.zhang at amd.com boyuan.zhang at amd.com
Tue Nov 7 21:59:08 UTC 2017


From: Boyuan Zhang <boyuan.zhang at amd.com>

Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
---
 src/gallium/drivers/radeon/radeon_vcn_enc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeon/radeon_vcn_enc.c b/src/gallium/drivers/radeon/radeon_vcn_enc.c
index 053cf0e..a21deb1 100644
--- a/src/gallium/drivers/radeon/radeon_vcn_enc.c
+++ b/src/gallium/drivers/radeon/radeon_vcn_enc.c
@@ -174,7 +174,8 @@ static void radeon_enc_end_frame(struct pipe_video_codec *encoder,
 						   struct pipe_video_buffer *source,
 						   struct pipe_picture_desc *picture)
 {
-	/* TODO*/
+	struct radeon_encoder *enc = (struct radeon_encoder*)encoder;
+	flush(enc);
 }
 
 static void radeon_enc_destroy(struct pipe_video_codec *encoder)
-- 
2.7.4



More information about the mesa-dev mailing list