diff options
author | Boyuan Zhang <[email protected]> | 2018-10-17 15:03:23 -0400 |
---|---|---|
committer | Leo Liu <[email protected]> | 2018-10-23 08:50:02 -0400 |
commit | c7a5ef26adecb6454039ae0bed672cbd30dbede6 (patch) | |
tree | 31e8de4d4f57bb3629d7981d2d227fff591d5eab /src/gallium/drivers/radeon/radeon_vcn_dec.h | |
parent | 40fceb55f361eb1e0fb9da8ed607288f956bbb7b (diff) |
radeon/vcn: add jpeg decode implementation
Add a new file to handle VCN Jpeg decode specific functions. Use Jpeg
specific cmd sending function in end_frame call.
Signed-off-by: Boyuan Zhang <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vcn_dec.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vcn_dec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vcn_dec.h b/src/gallium/drivers/radeon/radeon_vcn_dec.h index 37c05033771..a6a726f46d6 100644 --- a/src/gallium/drivers/radeon/radeon_vcn_dec.h +++ b/src/gallium/drivers/radeon/radeon_vcn_dec.h @@ -768,6 +768,10 @@ void send_cmd_dec(struct radeon_decoder *dec, struct pipe_video_buffer *target, struct pipe_picture_desc *picture); +void send_cmd_jpeg(struct radeon_decoder *dec, + struct pipe_video_buffer *target, + struct pipe_picture_desc *picture); + struct pipe_video_codec *radeon_create_decoder(struct pipe_context *context, const struct pipe_video_codec *templat); |