summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-06-13 10:28:13 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-06-20 14:16:23 +0800
commit62085e11d30db590038a32fffeb04aa8bc0afd67 (patch)
treeaeab8ba82bbe6c4468a225df2431318e37f99d91
parent54f686f4a371bf34007ce1ff70e7b74cd9986ad7 (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.c2
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";
}