diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2021-01-29 11:16:13 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-02-05 01:23:19 +0200 |
commit | d7fd40ea2b17ea67a6ac495ba831abe1977ed283 (patch) | |
tree | 1593609e2d69f0865265b1069934e191cf221107 /utils/gen-formats.py | |
parent | f1b0c7f5e3f2d55c30934d1f2f9f417e0ff778ae (diff) |
libcamera: camera_sensor: Add frame length limits to CameraSensorInfo
Sensor frame length is made up of active and inactive (blanking) lines.
The minimum and maximum frame length values may be used by pipeline
handlers to limit frame durations based on the sensor mode capabilities.
Store the minimum and maximum allowable frame length values (in lines)
in the CameraSensorInfo structure. These values are computed in
CameraSensor::sensorInfo() by querying the sensor subdevice
V4L2_CID_VBLANK control limits. This in turn means that V4L2_CID_VBLANK
is now a mandatory subdevice control.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/gen-formats.py')
0 files changed, 0 insertions, 0 deletions