[Libva] [LIBVA-INTEL-DRIVER][PATCH 1/2] Restrict the VP9 HW encoding for Profile0

Zhao Yakui yakui.zhao at intel.com
Tue Jun 7 12:56:41 UTC 2016


From: Zhao Yakui <yakui.zhao at intel.com>

Fix the issue that VP9 HW encoding is reported incorrectly for VP9 Profile2.

Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
---
 src/i965_drv_video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index cbfc081..efac5a5 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -735,7 +735,7 @@ i965_QueryConfigEntrypoints(VADriverContextP ctx,
         if(HAS_VP9_DECODING_PROFILE(i965, profile))
             entrypoint_list[n++] = VAEntrypointVLD;
 
-        if (HAS_VP9_ENCODING(i965))
+        if (HAS_VP9_ENCODING(i965) && (profile == VAProfileVP9Profile0))
             entrypoint_list[n++] = VAEntrypointEncSlice;
 
         if(profile == VAProfileVP9Profile0) {
-- 
1.9.0



More information about the Libva mailing list