media: i2c: imx296: Add horizontal/vertical flip support
commit df4311d26614414882adde1b91fcc327890b184d from https://github.com/raspberrypi/linux.git rpi-6.1.y Add support for setting horizontal and/or vertial flips in the IMX296 sensor through the V4L2_CID_HFLIP and V4L2_CID_VFLIP controls. Add a new helper function to return the media bus format code that depends on the sensor flips. Grab the V4L2_CID_HFLIP and V4L2_CID_VFLIP controls on stream on, and release on stream off to ensure flips cannot be changed while the sensor is streaming. Signed-off-by:Naushir Patuck <naush@raspberrypi.com> Signed-off-by:
Meng Li <Meng.Li@windriver.com>
Loading
Please register or sign in to comment