Lines Matching +full:sensor +full:- +full:gain
1 .. SPDX-License-Identifier: GPL-2.0-only
5 .. _media-ccs-uapi:
7 MIPI CCS camera sensor driver
10 The MIPI CCS camera sensor driver is a generic driver for `MIPI CCS
11 <https://www.mipi.org/specifications/camera-command-set>`_ compliant
12 camera sensors. It exposes three sub-devices representing the pixel array,
18 Also see :ref:`the CCS driver kernel documentation <media-ccs-driver>`.
20 Pixel Array sub-device
21 ----------------------
23 The pixel array sub-device represents the camera sensor's pixel matrix, as well
30 ------
32 The binner sub-device represents the binning functionality on the sensor. For
41 ------
43 The scaler sub-device represents the digital crop and scaling functionality of
44 the sensor. The V4L2 selection target ``V4L2_SEL_TGT_CROP`` is used to
49 Additionally, if the scaler sub-device exists, its source pad (1) exposes
54 -------------------------
64 ----------------
69 Analogue gain model
72 The CCS defines an analogue gain model where the gain can be calculated using
75 gain = m0 * x + c0 / (m1 * x + c1)
85 The analogue gain (``x`` in the formula) is controlled through
88 Alternate analogue gain model
91 The CCS defines another analogue gain model called alternate analogue gain. In
92 this case, the formula to calculate actual gain consists of linear and
95 gain = linear * 2 ^ exponent