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>2015-06-24 13:23:53 +0800
commiteaaa4e76b1ad935a9a728805de9345d372d4046c (patch)
treeda411391efe9cc276b8f0863099f8e5a50af2742
parentf5eeeee65bff3c34b60db823d0b26e5d62d00099 (diff)
downloadlibva-eaaa4e76b1ad935a9a728805de9345d372d4046c.tar.gz
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> (cherry picked from commit 62085e11d30db590038a32fffeb04aa8bc0afd67)
-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 0a544fe..33dcdc6 100644
--- a/test/decode/tinyjpeg.c
+++ b/test/decode/tinyjpeg.c
@@ -693,7 +693,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";
}