Camera control
164
Alvium CSI-2 Cameras User Guide V2.6.2
Access modes data flow
Direct Register Access
: Data is read from and written to registers directly.
Video4Linux Access
: V4L2 controls registers.
Figure 58: Camera control using the different access modes
Imaging applications
V4L2
Other V4L2
driver
User
space
Soft
ware
Hard
ware
Kernel
space
Embedded
hardware
Camera
Other
application
Driver for Alvium CSI-2
cameras
V4L2
ioctls*
GStreamer
Direct
Register
Access
V4L2 framework
OpenCV
MIPI CSI-2 PHY
I2C PHY
MIPI CSI-2 driver:
Image data
I2C driver:
Control data
* ioctls = ioctl() function
Legend
Video4Linux Access
Registers
F0F00614
F1000040
F1001000
…………..
…………..