projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1277da
)
radeonsi: use PIPE_FORMAT_P016 format for VP9 profile2
author
Leo Liu
<leo.liu@amd.com>
Wed, 14 Mar 2018 21:09:46 +0000
(17:09 -0400)
committer
Leo Liu
<leo.liu@amd.com>
Thu, 12 Apr 2018 15:15:13 +0000
(11:15 -0400)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_get.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_get.c
b/src/gallium/drivers/radeonsi/si_get.c
index 4483ca766dde3da9d6eafad3d1e146bf8af737b4..c8aacfe18245a40b367c663885deadfd0ec1fb2b 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_get.c
+++ b/
src/gallium/drivers/radeonsi/si_get.c
@@
-662,7
+662,8
@@
static int si_get_video_param(struct pipe_screen *screen,
case PIPE_VIDEO_CAP_MAX_HEIGHT:
return (sscreen->info.family < CHIP_TONGA) ? 1152 : 4096;
case PIPE_VIDEO_CAP_PREFERED_FORMAT:
- if (profile == PIPE_VIDEO_PROFILE_HEVC_MAIN_10)
+ if (profile == PIPE_VIDEO_PROFILE_HEVC_MAIN_10 ||
+ profile == PIPE_VIDEO_PROFILE_VP9_PROFILE2)
return PIPE_FORMAT_P016;
else
return PIPE_FORMAT_NV12;