From 3f83c24366a83083fa2db4d957a168fdc6df7c92 Mon Sep 17 00:00:00 2001 From: Boyuan Zhang Date: Tue, 7 Nov 2017 16:20:25 -0500 Subject: [PATCH] radeon/vcn: add encode end frame MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add implementation for end_frame interface for vcn encode. Signed-off-by: Boyuan Zhang Acked-by: Christian König --- 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 f78672a1b1a..05e7e836246 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.30.2