From c173e3560dbbd9346cf34c6da9a6406c6c8089be Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Fri, 9 May 2014 18:52:00 +0200 Subject: decoder: MVC chroma formats This is a part of fa469f74227a7b4e0e6f882c488132eaa9c44417 on staging Signed-off-by: Gwenole Beauchesne Signed-off-by: Xiang, Haihao --- src/i965_drv_video.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index 403acde..eba9a47 100755 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -602,6 +602,12 @@ i965_get_default_chroma_formats(VADriverContextP ctx, VAProfile profile, chroma_formats |= i965->codec_info->h264_dec_chroma_formats; break; + case VAProfileH264MultiviewHigh: + case VAProfileH264StereoHigh: + if (HAS_H264_MVC_DECODING(i965) && entrypoint == VAEntrypointVLD) + chroma_formats |= i965->codec_info->h264_dec_chroma_formats; + break; + case VAProfileJPEGBaseline: if (HAS_JPEG_DECODING(i965) && entrypoint == VAEntrypointVLD) chroma_formats |= i965->codec_info->jpeg_dec_chroma_formats; -- cgit v1.2.3