linux/drivers/media
Quentin Schulz 221827ee2d media: i2c: ov5675: add .get_selection support
The sensor has 2592*1944 active pixels, surrounded by 16 active dummy
pixels and there are an additional 24 black rows "at the bottom".

                     [2624]
        +-----+------------------+-----+
        |     |     16 dummy     |     |
        +-----+------------------+-----+
        |     |                  |     |
        |     |     [2592]       |     |
        |     |                  |     |
        |16   |      valid       | 16  |[2000]
        |dummy|                  |dummy|
        |     |            [1944]|     |
        |     |                  |     |
        +-----+------------------+-----+
        |     |     16 dummy     |     |
        +-----+------------------+-----+
        |     |  24 black lines  |     |
        +-----+------------------+-----+

The top-left coordinate is gotten from the registers specified in the
modes which are identical for both currently supported modes.

There are currently two modes supported by this driver: 2592*1944 and
1296*972. The second mode is obtained thanks to subsampling while
keeping the same field of view (FoV). No cropping involved, hence the
harcoded values.

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-02-06 08:45:05 +01:00
..
cec media: Switch to use dev_err_probe() helper 2022-12-07 17:58:46 +01:00
common MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
dvb-core Driver Core changes for 6.2-rc1 2022-12-16 03:54:54 -08:00
dvb-frontends media: dvb-frontends/tc90522: Convert to i2c's .probe_new() 2023-01-22 08:33:11 +01:00
firewire
i2c media: i2c: ov5675: add .get_selection support 2023-02-06 08:45:05 +01:00
mc media: mc: entity: Fix minor issues in comments and documentation 2023-02-06 08:37:12 +01:00
mmc
pci treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
platform media: sun4i-csi: Use CSI_INT_STA_REG name, fix typo in a comment 2023-02-06 08:41:59 +01:00
radio media: si470x: Fix use-after-free in si470x_int_in_callback() 2022-12-07 17:58:47 +01:00
rc media: rc/ir-rx51: Drop empty platform remove function 2023-01-22 08:36:58 +01:00
spi
test-drivers media updates for v6.2-rc1 2022-12-13 11:36:58 -08:00
tuners media: tuners/si2157: Convert to i2c's .probe_new() 2023-01-22 08:33:25 +01:00
usb media: uvcvideo: Silence memcpy() run-time false positive warnings 2023-01-15 23:45:15 +02:00
v4l2-core media: v4l2-subdev: Add v4l2_subdev_s_stream_helper() function 2023-01-22 09:50:48 +01:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile