Module: Mesa Branch: master Commit: 3f83c24366a83083fa2db4d957a168fdc6df7c92 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f83c24366a83083fa2db4d957a168fdc6df7c92
Author: Boyuan Zhang <[email protected]> Date: Tue Nov 7 16:20:25 2017 -0500 radeon/vcn: add encode end frame Add implementation for end_frame interface for vcn encode. Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Christian König <[email protected]> --- 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 f78672a1b1..05e7e83624 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) _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
