aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_vcn_dec.c
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2018-03-13 09:40:15 -0400
committerLeo Liu <[email protected]>2018-04-12 11:15:12 -0400
commitf73befdd9bda4b8380d29a9a1f3c22efc65ea485 (patch)
tree07a443d04a88f07c1ee740aa61a880c1d1d8411d /src/gallium/drivers/radeon/radeon_vcn_dec.c
parentca1646db89142f717997ee202440706ec9374d70 (diff)
radeon/vcn: add VP9 stream type for decoder
Signed-off-by: Leo Liu <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vcn_dec.c')
-rw-r--r--src/gallium/drivers/radeon/radeon_vcn_dec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vcn_dec.c b/src/gallium/drivers/radeon/radeon_vcn_dec.c
index 48d79ffb9f9..ba65452f69d 100644
--- a/src/gallium/drivers/radeon/radeon_vcn_dec.c
+++ b/src/gallium/drivers/radeon/radeon_vcn_dec.c
@@ -1227,6 +1227,9 @@ struct pipe_video_codec *radeon_create_decoder(struct pipe_context *context,
case PIPE_VIDEO_FORMAT_HEVC:
stream_type = RDECODE_CODEC_H265;
break;
+ case PIPE_VIDEO_FORMAT_VP9:
+ stream_type = RDECODE_CODEC_VP9;
+ break;
default:
assert(0);
break;