hardware/intel/intel-driver
修订版 | 73aed29c640fb911bb88344369cfd80bf7169d6c (tree) |
---|---|
时间 | 2016-06-07 14:11:49 |
作者 | Zhao Yakui <yakui.zhao@inte...> |
Commiter | Xiang, Haihao |
Restrict the VP9 HW encoding for Profile0
Fix the issue that VP9 HW encoding is reported incorrectly for VP9 Profile2.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
@@ -735,7 +735,7 @@ i965_QueryConfigEntrypoints(VADriverContextP ctx, | ||
735 | 735 | if(HAS_VP9_DECODING_PROFILE(i965, profile)) |
736 | 736 | entrypoint_list[n++] = VAEntrypointVLD; |
737 | 737 | |
738 | - if (HAS_VP9_ENCODING(i965)) | |
738 | + if (HAS_VP9_ENCODING(i965) && (profile == VAProfileVP9Profile0)) | |
739 | 739 | entrypoint_list[n++] = VAEntrypointEncSlice; |
740 | 740 | |
741 | 741 | if(profile == VAProfileVP9Profile0) { |