mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
media: i2c: imx519: Sensor should report RAW color space
Tested on Raspberry Pi running libcamera. Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
This commit is contained in:
committed by
Phil Elwell
parent
cc1f26aa03
commit
cd4b00ba86
@@ -1317,7 +1317,7 @@ static int imx519_enum_frame_size(struct v4l2_subdev *sd,
|
||||
|
||||
static void imx519_reset_colorspace(struct v4l2_mbus_framefmt *fmt)
|
||||
{
|
||||
fmt->colorspace = V4L2_COLORSPACE_SRGB;
|
||||
fmt->colorspace = V4L2_COLORSPACE_RAW;
|
||||
fmt->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(fmt->colorspace);
|
||||
fmt->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true,
|
||||
fmt->colorspace,
|
||||
|
||||
Reference in New Issue
Block a user