diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2014-05-09 18:52:00 +0200 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-06-16 11:53:35 +0800 |
commit | c173e3560dbbd9346cf34c6da9a6406c6c8089be (patch) | |
tree | 515dcfebca173ab0d303a145f411f3d113e47d2e /src | |
parent | 585596a468db65e93b618b7aabe4e46d23de7b1f (diff) | |
download | libva-intel-driver-c173e3560dbbd9346cf34c6da9a6406c6c8089be.tar.gz libva-intel-driver-c173e3560dbbd9346cf34c6da9a6406c6c8089be.tar.bz2 libva-intel-driver-c173e3560dbbd9346cf34c6da9a6406c6c8089be.zip |
decoder: MVC chroma formats
This is a part of fa469f74227a7b4e0e6f882c488132eaa9c44417 on staging
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/i965_drv_video.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |