58 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2 3.. _image-process-controls:4 5*******************************6Image Process Control Reference7*******************************8 9The Image Process control class is intended for low-level control of10image processing functions. Unlike ``V4L2_CID_IMAGE_SOURCE_CLASS``, the11controls in this class affect processing the image, and do not control12capturing of it.13 14 15.. _image-process-control-id:16 17Image Process Control IDs18=========================19 20``V4L2_CID_IMAGE_PROC_CLASS (class)``21 The IMAGE_PROC class descriptor.22 23.. _v4l2-cid-link-freq:24 25``V4L2_CID_LINK_FREQ (integer menu)``26 The frequency of the data bus (e.g. parallel or CSI-2).27 28.. _v4l2-cid-pixel-rate:29 30``V4L2_CID_PIXEL_RATE (64-bit integer)``31 Pixel sampling rate in the device's pixel array. This control is32 read-only and its unit is pixels / second.33 34 Some devices use horizontal and vertical blanking to configure the frame35 rate. The frame rate can be calculated from the pixel rate, analogue crop36 rectangle as well as horizontal and vertical blanking. The pixel rate37 control may be present in a different sub-device than the blanking controls38 and the analogue crop rectangle configuration.39 40 The configuration of the frame rate is performed by selecting the desired41 horizontal and vertical blanking. The unit of this control is Hz.42 43``V4L2_CID_TEST_PATTERN (menu)``44 Some capture/display/sensor devices have the capability to generate45 test pattern images. These hardware specific test patterns can be46 used to test if a device is working properly.47 48``V4L2_CID_DEINTERLACING_MODE (menu)``49 The video deinterlacing mode (such as Bob, Weave, ...). The menu items are50 driver specific and are documented in :ref:`uapi-v4l-drivers`.51 52``V4L2_CID_DIGITAL_GAIN (integer)``53 Digital gain is the value by which all colour components54 are multiplied by. Typically the digital gain applied is the55 control value divided by e.g. 0x100, meaning that to get no56 digital gain the control value needs to be 0x100. The no-gain57 configuration is also typically the default.58