Add V4L2_CID_DIGITAL_GAIN to control explicitly digital gain. We already have analogue gain control which the digital gain control complements. Typically higher quality images are obtained using analogue gain only as the digital gain does not add information to the image (rather it may remove it).
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -902,7 +902,7 @@ enum v4l2_jpeg_chroma_subsampling { · 901 unmodified lines | ||
| 902 | 902 | #define V4L2_CID_PIXEL_RATE (V4L2_CID_IMAGE_PROC_CLASS_BASE + 2) |
| 903 | 903 | #define V4L2_CID_TEST_PATTERN (V4L2_CID_IMAGE_PROC_CLASS_BASE + 3) |
| 904 | 904 | #define V4L2_CID_DEINTERLACING_MODE (V4L2_CID_IMAGE_PROC_CLASS_BASE + 4) |
| 905 | − | |
| 905 | +#define V4L2_CID_DIGITAL_GAIN (V4L2_CID_IMAGE_PROC_CLASS_BASE + 5) | |
| 906 | 906 | |
| 907 | 907 | /* DV-class control IDs defined by V4L2 */ |
| 908 | 908 | #define V4L2_CID_DV_CLASS_BASE (V4L2_CTRL_CLASS_DV | 0x900) |