diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2013-06-13 10:28:13 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-06-20 14:16:23 +0800 |
commit | 62085e11d30db590038a32fffeb04aa8bc0afd67 (patch) | |
tree | aeab8ba82bbe6c4468a225df2431318e37f99d91 | |
parent | 54f686f4a371bf34007ce1ff70e7b74cd9986ad7 (diff) |
test/decode/tinyjpeg: use the fourcc format Y800 for grayscale images
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com>
-rw-r--r-- | test/decode/tinyjpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/decode/tinyjpeg.c b/test/decode/tinyjpeg.c index 124ea12..10ff99b 100644 --- a/test/decode/tinyjpeg.c +++ b/test/decode/tinyjpeg.c @@ -694,7 +694,7 @@ int tinyjpeg_decode(struct jdec_private *priv) else { surface_type = VA_RT_FORMAT_YUV400; - forcc.value.value.i = VA_FOURCC('4','0','0','P'); + forcc.value.value.i = VA_FOURCC('Y','8','0','0'); ChromaTypeIndex = 0; type = "Format_400P"; } |