From: Hans Verkuil Date: Mon, 15 Jun 2015 11:33:29 +0000 (-0300) Subject: [media] sh-veu: don't use COLORSPACE_JPEG X-Git-Tag: v4.14-rc1~4413^2~327 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17a705e4a99bc6d810f2d64efe9368e221302f7a;p=platform%2Fkernel%2Flinux-rpi.git [media] sh-veu: don't use COLORSPACE_JPEG COLORSPACE_JPEG should only be used for JPEGs. Use SMPTE170M instead, which is how YCbCr images are usually encoded. Signed-off-by: Hans Verkuil Acked-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c index 2554f37..7bb249c 100644 --- a/drivers/media/platform/sh_veu.c +++ b/drivers/media/platform/sh_veu.c @@ -211,7 +211,7 @@ static enum v4l2_colorspace sh_veu_4cc2cspace(u32 fourcc) case V4L2_PIX_FMT_NV12: case V4L2_PIX_FMT_NV16: case V4L2_PIX_FMT_NV24: - return V4L2_COLORSPACE_JPEG; + return V4L2_COLORSPACE_SMPTE170M; case V4L2_PIX_FMT_RGB332: case V4L2_PIX_FMT_RGB444: case V4L2_PIX_FMT_RGB565: