mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-18 21:38:22 +02:00
radeon/vcn: add VP9 stream type for decoder
Signed-off-by: Leo Liu <leo.liu@amd.com> Acked-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
ca1646db89
commit
f73befdd9b
2 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@
|
|||
#define RDECODE_CODEC_MPEG4 0x00000004
|
||||
#define RDECODE_CODEC_H264_PERF 0x00000007
|
||||
#define RDECODE_CODEC_H265 0x00000010
|
||||
#define RDECODE_CODEC_VP9 0x00000011
|
||||
|
||||
#define RDECODE_ARRAY_MODE_LINEAR 0x00000000
|
||||
#define RDECODE_ARRAY_MODE_MACRO_LINEAR_MICRO_TILED 0x00000001
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue