[media] mt9t112: JPEG -> SRGB
The JPEG colorspace should only be used for JPEG encoded images. This is just a regular sRGB sensor. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
517ef25521
commit
d9db01fbab
|
@ -104,22 +104,22 @@ struct mt9t112_priv {
|
|||
static const struct mt9t112_format mt9t112_cfmts[] = {
|
||||
{
|
||||
.code = MEDIA_BUS_FMT_UYVY8_2X8,
|
||||
.colorspace = V4L2_COLORSPACE_JPEG,
|
||||
.colorspace = V4L2_COLORSPACE_SRGB,
|
||||
.fmt = 1,
|
||||
.order = 0,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_VYUY8_2X8,
|
||||
.colorspace = V4L2_COLORSPACE_JPEG,
|
||||
.colorspace = V4L2_COLORSPACE_SRGB,
|
||||
.fmt = 1,
|
||||
.order = 1,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_YUYV8_2X8,
|
||||
.colorspace = V4L2_COLORSPACE_JPEG,
|
||||
.colorspace = V4L2_COLORSPACE_SRGB,
|
||||
.fmt = 1,
|
||||
.order = 2,
|
||||
}, {
|
||||
.code = MEDIA_BUS_FMT_YVYU8_2X8,
|
||||
.colorspace = V4L2_COLORSPACE_JPEG,
|
||||
.colorspace = V4L2_COLORSPACE_SRGB,
|
||||
.fmt = 1,
|
||||
.order = 3,
|
||||
}, {
|
||||
|
|
Loading…
Reference in New Issue