radeon/vcn: add encode end frame

Add implementation for end_frame interface for vcn encode.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
Boyuan Zhang 2017-11-07 16:20:25 -05:00 committed by Leo Liu
parent 47443bc9f0
commit 3f83c24366

View file

@ -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)