diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-13 00:56:22 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-09-24 08:34:46 +0200 |
commit | c1ec5efba08079820b0bfc5149891f364934440d (patch) | |
tree | 7ff8433526b5825a32aae3eb885e08fa55d95e6d /drivers/idle | |
parent | cb00f3a4421d5c7d7155bd4bded7fb2ff8eec211 (diff) | |
download | linux-c1ec5efba08079820b0bfc5149891f364934440d.tar.bz2 |
media: rkisp1: Allow setting all color space fields on ISP source pad
The ISP output color space is configured through the ISP source pad. At
the moment, only the quantization can be set. Extend it to the three
other color space fields:
- The ycbcr_enc field will be used to configure the RGB to YUV matrix
(currently hardcoded to Rec. 601).
- The colorspace (which controls the color primaries) and xfer_func
fields will not be used to configure the ISP, as the corresponding
hardware blocks (the cross-talk RGB to RGB matrix and the tone mapping
curve) are programmed directly by applications through ISP parameters.
Nonetheless, those two fields should be set by applications to match
the ISP configuration, in order to propagate the correct color space
down the pipeline up to the capture video nodes.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions