hardware/intel/intel-driver
Revision | 3b1507c56fda8e5cd4db2e2d9f89227ee07a2c62 (tree) |
---|---|
Zeit | 2016-03-04 13:30:36 |
Autor | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Xiang, Haihao |
Remove duplicate H264MultiviewHigh and H264StereoHigh in the profile list
Otherwise vainfo got duplicate print message that list out the video format
support for H264MultiviewHigh, H264StereoHigh.
Reported-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Tested-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
@@ -564,9 +564,11 @@ i965_QueryConfigProfiles(VADriverContextP ctx, | ||
564 | 564 | profile_list[i++] = VAProfileH264Main; |
565 | 565 | profile_list[i++] = VAProfileH264High; |
566 | 566 | } |
567 | - if (HAS_H264_MVC_DECODING_PROFILE(i965, VAProfileH264MultiviewHigh)) | |
567 | + if (HAS_H264_MVC_DECODING_PROFILE(i965, VAProfileH264MultiviewHigh) || | |
568 | + HAS_H264_MVC_ENCODING(i965)) | |
568 | 569 | profile_list[i++] = VAProfileH264MultiviewHigh; |
569 | - if (HAS_H264_MVC_DECODING_PROFILE(i965, VAProfileH264StereoHigh)) | |
570 | + if (HAS_H264_MVC_DECODING_PROFILE(i965, VAProfileH264StereoHigh) || | |
571 | + HAS_H264_MVC_ENCODING(i965)) | |
570 | 572 | profile_list[i++] = VAProfileH264StereoHigh; |
571 | 573 | |
572 | 574 | if (HAS_VC1_DECODING(i965)) { |
@@ -589,11 +591,6 @@ i965_QueryConfigProfiles(VADriverContextP ctx, | ||
589 | 591 | profile_list[i++] = VAProfileVP8Version0_3; |
590 | 592 | } |
591 | 593 | |
592 | - if (HAS_H264_MVC_ENCODING(i965)) { | |
593 | - profile_list[i++] = VAProfileH264MultiviewHigh; | |
594 | - profile_list[i++] = VAProfileH264StereoHigh; | |
595 | - } | |
596 | - | |
597 | 594 | if (HAS_HEVC_DECODING(i965)|| |
598 | 595 | HAS_HEVC_ENCODING(i965)) { |
599 | 596 | profile_list[i++] = VAProfileHEVCMain; |