]> git.baikalelectronics.ru Git - kernel.git/commit
media: rkisp1: Initialize color space on ISP sink and source pads
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Aug 2022 22:44:14 +0000 (00:44 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 06:33:19 +0000 (08:33 +0200)
commit06b8052c802228e32d36c0eb04b091a6f5f6a257
tree6504e189bcc1e1eaae5801409f618011951f14b6
parent1134f221a2b13bed8c33e992deea247d4fb75eeb
media: rkisp1: Initialize color space on ISP sink and source pads

Initialize the four color space fields on the sink and source video pads
of the ISP in the .init_cfg() operation. As the main use case for the
ISP is to convert Bayer data to YUV, select a raw color space on the
sink pad and a limited range quantization of SYCC on the source pad by
default.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c