config: fix supported set of chroma formats for JPEG decode.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 9 May 2014 16:15:23 +0000 (18:15 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 2 Jun 2014 17:30:43 +0000 (19:30 +0200)
commite29345cbdc26d5e4c6729100344eb8dbf9e35b65
treed414f746bc03453d9ffc38ce563010f5428ade63
parent9200fe231e1ffe249e17c8146303eeae6338aa06
config: fix supported set of chroma formats for JPEG decode.

If the hardware supports JPEG decoding, then we have to expose the
right set of chroma formats for the output (decoded) VA surface. In
particular, we could support YUV 4:0:0, 4:1:0, 4:2:2 and 4:4:4.

v2: export support for YUV 4:0:0 (grayscale) too [Haihao]

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
src/i965_device_info.c
src/i965_drv_video.c
src/i965_drv_video.h