Fix H264 YUV400 surface render issue on IVB
authorLi Xiaowei <xiaowei.a.li@intel.com>
Tue, 12 Mar 2013 05:25:39 +0000 (13:25 +0800)
committerLi Xiaowei <xiaowei.a.li@intel.com>
Tue, 12 Mar 2013 05:56:10 +0000 (13:56 +0800)
commite4f243b6ed58d832f1ca6ecf1ec15f72dd3e6ef6
treeb0bca48f831b3dfaf66f4954cba2c9aeca484c71
parent7d34921055b21f195cea5346210f86f8292db282
Fix H264 YUV400 surface render issue on IVB

All decoded frame are considered as NV12 format in driver,
for YUV400 stream format decoding senerios, we need set the
chroma component of NV12 to a constant value(0x80), otherwise
the converted ARGB from NV12 format is not correct and cause
blue screen when rending.

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
src/gen7_mfd.c