summaryrefslogtreecommitdiff
path: root/utils/hooks
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-03-23 14:11:24 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-05-25 15:21:46 +0200
commit6570f85454e2ef6ef07680f088fa01ad675bf16e (patch)
treebc99356cba7678c859087bccc0e9f2f094ced644 /utils/hooks
parent77c6ac0ae70e962a3776a06fa844653f181183cc (diff)
libcamera: List dependency for Android Camera3 HAL
Add to the README.rst file the list of depdendencies for the Android Camera3 HAL. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Diffstat (limited to 'utils/hooks')
0 files changed, 0 insertions, 0 deletions
E: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/control.html .. _V4L2_CID_HBLANK: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-image-source.html .. _V4L2_CID_PIXEL_RATE: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-image-process.html While V4L2 doesn't specify a unit for the `EXPOSURE` control, libcamera requires it to be expressed as a number of image lines. Camera sensor drivers that do not comply with this requirement will need to be adapted or will produce incorrect results. The `HBLANK` and `PIXEL_RATE` controls are used to compute the sensor output timings. Optional Requirements --------------------- The sensor driver should support the following V4L2 controls: * `V4L2_CID_CAMERA_ORIENTATION`_ * `V4L2_CID_CAMERA_SENSOR_ROTATION`_ .. _V4L2_CID_CAMERA_ORIENTATION: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-camera.html .. _V4L2_CID_CAMERA_SENSOR_ROTATION: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-image-process.html The controls are used to register the camera location and rotation. The sensor driver should implement support for the V4L2 Selection API, specifically it should implement support for the `VIDIOC_SUBDEV_G_SELECTION`_ ioctl with support for the following selection targets: .. _VIDIOC_SUBDEV_G_SELECTION: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/vidioc-subdev-g-selection.html?highlight=g_selection#c.V4L.VIDIOC_SUBDEV_G_SELECTION * `V4L2_SEL_TGT_CROP_BOUNDS`_ to report the readable pixel array area size * `V4L2_SEL_TGT_CROP_DEFAULT`_ to report the active pixel array area size * `V4L2_SEL_TGT_CROP`_ to report the analogue selection rectangle Support for the selection API is scheduled to become a mandatory feature in the near future. .. _V4L2_SEL_TGT_CROP_BOUNDS: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/v4l2-selection-targets.html .. _V4L2_SEL_TGT_CROP_DEFAULT: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/v4l2-selection-targets.html .. _V4L2_SEL_TGT_CROP: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/v4l2-selection-targets.html