mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 17:05:08 +03:00
libcamera: Add ScalerCrop control
The ScalerCrop control selects how much of the sensor's active pixel array will be scaled to form the final output image. It can be used to implement digital zoom. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
5aabf85d2c
commit
c1fe17d73e
1 changed files with 13 additions and 0 deletions
|
@ -517,4 +517,17 @@ controls:
|
|||
additional processing step performed after the ISP pass (in example face
|
||||
detection, additional format conversions etc) count as an additional
|
||||
pipeline stage.
|
||||
|
||||
- ScalerCrop:
|
||||
type: Rectangle
|
||||
description: |
|
||||
Sets the image portion that will be scaled to form the whole of
|
||||
the final output image. The (x,y) location of this rectangle is
|
||||
relative to the PixelArrayActiveAreas that is being used. The units
|
||||
remain native sensor pixels, even if the sensor is being used in
|
||||
a binning or skipping mode.
|
||||
|
||||
This control is only present when the pipeline supports scaling. Its
|
||||
maximum valid value is given by the properties::ScalerCropMaximum
|
||||
property, and the two can be used to implement digital zoom.
|
||||
...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue