projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47443bc
)
radeon/vcn: add encode end frame
author
Boyuan Zhang
<boyuan.zhang@amd.com>
Tue, 7 Nov 2017 21:20:25 +0000
(16:20 -0500)
committer
Leo Liu
<leo.liu@amd.com>
Fri, 17 Nov 2017 17:25:47 +0000
(12:25 -0500)
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>
src/gallium/drivers/radeon/radeon_vcn_enc.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_vcn_enc.c
b/src/gallium/drivers/radeon/radeon_vcn_enc.c
index f78672a1b1ae5c55d8fac46f1801b4e960d3ab65..05e7e8362462c369d48909f95245214bc21e78f2 100644
(file)
--- 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)