[Libva] [libva-intel-driver PATH] Remove duplicate H264MultiviewHigh and H264StereoHigh in the profile list
Lim, Siew Hoon
siew.hoon.lim at intel.com
Thu Mar 3 13:19:32 UTC 2016
Tested and confirmed the issue is fixed.
Thanks.
...siewhoon
> Subject: [Libva] [libva-intel-driver PATH] 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 at intel.com>
> Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
> ---
> src/i965_drv_video.c | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
>
> diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index
> b448928..609b757 100644
> --- a/src/i965_drv_video.c
> +++ b/src/i965_drv_video.c
> @@ -564,9 +564,11 @@ i965_QueryConfigProfiles(VADriverContextP ctx,
> profile_list[i++] = VAProfileH264Main;
> profile_list[i++] = VAProfileH264High;
> }
> - if (HAS_H264_MVC_DECODING_PROFILE(i965,
> VAProfileH264MultiviewHigh))
> + if (HAS_H264_MVC_DECODING_PROFILE(i965,
> VAProfileH264MultiviewHigh) ||
> + HAS_H264_MVC_ENCODING(i965))
> profile_list[i++] = VAProfileH264MultiviewHigh;
> - if (HAS_H264_MVC_DECODING_PROFILE(i965, VAProfileH264StereoHigh))
> + if (HAS_H264_MVC_DECODING_PROFILE(i965, VAProfileH264StereoHigh)
> ||
> + HAS_H264_MVC_ENCODING(i965))
> profile_list[i++] = VAProfileH264StereoHigh;
>
> if (HAS_VC1_DECODING(i965)) {
> @@ -589,11 +591,6 @@ i965_QueryConfigProfiles(VADriverContextP ctx,
> profile_list[i++] = VAProfileVP8Version0_3;
> }
>
> - if (HAS_H264_MVC_ENCODING(i965)) {
> - profile_list[i++] = VAProfileH264MultiviewHigh;
> - profile_list[i++] = VAProfileH264StereoHigh;
> - }
> -
> if (HAS_HEVC_DECODING(i965)||
> HAS_HEVC_ENCODING(i965)) {
> profile_list[i++] = VAProfileHEVCMain;
> --
> 1.9.1
>
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libva
More information about the Libva
mailing list