REL 1.0
Page 65 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
5.10.2
Camera Test
The given BSP supports MIPI and CMOS cameras. This section explains how to test MIPI and CMOS camera in the
iW-RainboW-G15M platform.
The CMOS and MIPI are the camera interfaces will be detected in below nodes.
MIPI
- /dev/video0
CMOS
- /dev/video1
To list out the available options in overlay application, execute the below command.
root@iWave-G15/$cd /unit_tests
root@iWave-G15/unit_tests~$./mxc_v4l2_overlay.out -help
To test the overlay application, execute the below command.
root@iWave-G15/unit_tests~$./mxc_v4l2_overlay.out –ow <output width> -oh < output height> -di
<video device>
Example
root@iWave-G15/unit_tests~$./mxc_v4l2_overlay.out -ow 800 -oh 480 -di /dev/video1
To test the capture application, execute the below command.
root@iWave-G15/unit_tests~$./mxc_v4l2_capture.out -iw <input_width> -ih <input_height> -ow
<output width> -oh < output height> -d <video device> -c < no of frames> <YUV file>
Example
root@iWave-G15/unit_tests~$./mxc_v4l2_capture.out -iw 640 -ih 480 -ow 800 -oh 480 -d
/dev/video1 -c 100 test.yuv
To display the captured file, execute the below command.
root@iWave-G15/unit_tests~$./mxc_v4l2_output.out -iw <input width> -ih < input height> <YUV
file>
Example
root@iWave-G15/unit_tests~$./mxc_v4l2_output.out -iw 800 -ih 480 test.yuv