1 .. SPDX-License-Identifier: GFDL-1.1-no-invari 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 2 3 .. _image-process-controls: 3 .. _image-process-controls: 4 4 5 ******************************* 5 ******************************* 6 Image Process Control Reference 6 Image Process Control Reference 7 ******************************* 7 ******************************* 8 8 9 The Image Process control class is intended fo 9 The Image Process control class is intended for low-level control of 10 image processing functions. Unlike ``V4L2_CID_ 10 image processing functions. Unlike ``V4L2_CID_IMAGE_SOURCE_CLASS``, the 11 controls in this class affect processing the i 11 controls in this class affect processing the image, and do not control 12 capturing of it. 12 capturing of it. 13 13 14 14 15 .. _image-process-control-id: 15 .. _image-process-control-id: 16 16 17 Image Process Control IDs 17 Image Process Control IDs 18 ========================= 18 ========================= 19 19 20 ``V4L2_CID_IMAGE_PROC_CLASS (class)`` 20 ``V4L2_CID_IMAGE_PROC_CLASS (class)`` 21 The IMAGE_PROC class descriptor. 21 The IMAGE_PROC class descriptor. 22 22 23 .. _v4l2-cid-link-freq: 23 .. _v4l2-cid-link-freq: 24 24 25 ``V4L2_CID_LINK_FREQ (integer menu)`` 25 ``V4L2_CID_LINK_FREQ (integer menu)`` 26 The frequency of the data bus (e.g. parall 26 The frequency of the data bus (e.g. parallel or CSI-2). 27 27 28 .. _v4l2-cid-pixel-rate: 28 .. _v4l2-cid-pixel-rate: 29 29 30 ``V4L2_CID_PIXEL_RATE (64-bit integer)`` 30 ``V4L2_CID_PIXEL_RATE (64-bit integer)`` 31 Pixel sampling rate in the device's pixel 31 Pixel sampling rate in the device's pixel array. This control is 32 read-only and its unit is pixels / second. 32 read-only and its unit is pixels / second. 33 33 34 Some devices use horizontal and vertical b 34 Some devices use horizontal and vertical blanking to configure the frame 35 rate. The frame rate can be calculated fro 35 rate. The frame rate can be calculated from the pixel rate, analogue crop 36 rectangle as well as horizontal and vertic 36 rectangle as well as horizontal and vertical blanking. The pixel rate 37 control may be present in a different sub- 37 control may be present in a different sub-device than the blanking controls 38 and the analogue crop rectangle configurat 38 and the analogue crop rectangle configuration. 39 39 40 The configuration of the frame rate is per 40 The configuration of the frame rate is performed by selecting the desired 41 horizontal and vertical blanking. The unit 41 horizontal and vertical blanking. The unit of this control is Hz. 42 42 43 ``V4L2_CID_TEST_PATTERN (menu)`` 43 ``V4L2_CID_TEST_PATTERN (menu)`` 44 Some capture/display/sensor devices have t 44 Some capture/display/sensor devices have the capability to generate 45 test pattern images. These hardware specif 45 test pattern images. These hardware specific test patterns can be 46 used to test if a device is working proper 46 used to test if a device is working properly. 47 47 48 ``V4L2_CID_DEINTERLACING_MODE (menu)`` 48 ``V4L2_CID_DEINTERLACING_MODE (menu)`` 49 The video deinterlacing mode (such as Bob, 49 The video deinterlacing mode (such as Bob, Weave, ...). The menu items are 50 driver specific and are documented in :ref 50 driver specific and are documented in :ref:`uapi-v4l-drivers`. 51 51 52 ``V4L2_CID_DIGITAL_GAIN (integer)`` 52 ``V4L2_CID_DIGITAL_GAIN (integer)`` 53 Digital gain is the value by which all col 53 Digital gain is the value by which all colour components 54 are multiplied by. Typically the digital g 54 are multiplied by. Typically the digital gain applied is the 55 control value divided by e.g. 0x100, meani 55 control value divided by e.g. 0x100, meaning that to get no 56 digital gain the control value needs to be 56 digital gain the control value needs to be 0x100. The no-gain 57 configuration is also typically the defaul 57 configuration is also typically the default.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.