S5pv210 generates several video-related device nodes under/dev/, which are
/Dev/video0,/dev/video1,/dev/video2
/Dev/video14,/dev/video21,/dev/video22
Video0, video1, and video2 are closely related to Android camera/overlay Hal. The Hal layer determines the specific functions of these three devices, that is to say, the device driver layer does not define their specific functions.
/Dev/video0 get the camera sensor data when the android camera Hal is used for capture and preview.
/Dev/video1 is used by Android overlay Hal for video output. For details, see Samsung/proprietary/liboverlay/overlay. cpp, overlay_createoverlay function. v4l2_overlay_open open the device node/dev/video1
/Dev/video2 get the camera sensor data when the android camera Hal is used for video recording.
/Dev/video14 is the video device of tvout mixer.
/Dev/video21 is tvout overlay1
/Dev/video22 is tvout overlay2