]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2-ctrls: Add camera orientation and rotation
authorJacopo Mondi <jacopo@jmondi.org>
Sat, 9 May 2020 09:04:48 +0000 (11:04 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 May 2020 13:34:21 +0000 (15:34 +0200)
commita16ffb8d55a8a268bb2af3d4ec28ba40d4fd318c
treeb7b4aa9ad99e00121819865c0db849f53cb1043e
parent9d0c3338ba9df075ad073abef4229fa760bc66a9
media: v4l2-ctrls: Add camera orientation and rotation

Add support for the newly defined V4L2_CID_CAMERA_ORIENTATION
and V4L2_CID_CAMERA_SENSOR_ROTATION read-only controls used to report
the camera device mounting position and orientation respectively.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c
include/uapi/linux/v4l2-controls.h