libcamera: controls: Define a new core Hue control
Define a new control to support configuration of Hue adjustments when supported by the available platform. Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com> Signed-off-by: van Veen, Stephan <stephan.vanveen@karlstorz.com> [Kieran: Rework to define as a rotation in degrees] Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
52cc91f3f1
commit
da967ed63d
@@ -1361,4 +1361,19 @@ controls:
|
||||
description: |
|
||||
Enable or disable the lens shading correction.
|
||||
|
||||
- Hue:
|
||||
type: float
|
||||
direction: inout
|
||||
description: |
|
||||
Adjusts the image hue (colour rotation) in degrees, as defined in
|
||||
the HSL/HSV colour model.
|
||||
|
||||
The value represents a rotation around the hue circle in HSL/HSV space:
|
||||
positive values rotate hues clockwise (for example a +60° turns
|
||||
Red hues to Yellow hues), and negative values rotate counter-clockwise
|
||||
(a -60° turns Red hues to Magenta hues).
|
||||
|
||||
The nominal range is [-180, 180], where 0° leaves hues unchanged and the
|
||||
range wraps around continuously, with 180° == -180°.
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user