]> asedeno.scripts.mit.edu Git - linux.git/commit
media: add V4L2_CID_UNIT_CELL_SIZE control
authorRicardo Ribalda Delgado <ribalda@kernel.org>
Mon, 7 Oct 2019 15:06:33 +0000 (12:06 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 10 Oct 2019 14:37:26 +0000 (11:37 -0300)
commit61fd036d01111679b01e4b92e6bd0cdd33809aea
tree269ec23d3a2345ccc5b0b4f0fc90841b86d017bd
parent8ae3a0862993c09a8ef0f9abb379553370c517e3
media: add V4L2_CID_UNIT_CELL_SIZE control

This control returns the unit cell size in nanometres. The struct provides
the width and the height in separated fields to take into consideration
asymmetric pixels and/or hardware binning.
This control is required for automatic calibration of sensors/cameras.

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Ricardo Ribalda Delgado <ribalda@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c
include/uapi/linux/v4l2-controls.h