projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a0fef0
)
nouveau: don't expose HEVC decoding support
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Sat, 14 Nov 2015 15:28:55 +0000
(10:28 -0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Sat, 14 Nov 2015 15:32:10 +0000
(10:32 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/nouveau_vp3_video.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nouveau_vp3_video.c
b/src/gallium/drivers/nouveau/nouveau_vp3_video.c
index f3a64b22c5758c2a7460515bee3e494e19b06b7a..4652e56c49adc1c6d0d06ed430bd1886e356a85e 100644
(file)
--- a/
src/gallium/drivers/nouveau/nouveau_vp3_video.c
+++ b/
src/gallium/drivers/nouveau/nouveau_vp3_video.c
@@
-437,6
+437,7
@@
nouveau_vp3_screen_get_video_param(struct pipe_screen *pscreen,
/* VP3 does not support MPEG4, VP4+ do. */
return entrypoint == PIPE_VIDEO_ENTRYPOINT_BITSTREAM &&
profile >= PIPE_VIDEO_PROFILE_MPEG1 &&
+ profile < PIPE_VIDEO_PROFILE_HEVC_MAIN &&
(!vp3 || codec != PIPE_VIDEO_FORMAT_MPEG4) &&
firmware_present(pscreen, profile);
case PIPE_VIDEO_CAP_NPOT_TEXTURES: