![Freescale Semiconductor i.MX 6DualLite Reference Manual Download Page 66](http://html1.mh-extra.com/html/freescale-semiconductor/i-mx-6duallite/i-mx-6duallite_reference-manual_2330523066.webp)
Test ID: FSL-UT-V4L2-overlay-sdc-0020
# mxc_v4l2_overlay.out -iw 640 -ih 480 -it 0 -il 0 -ow 160 -oh 160 -ot 20 -ol 20 -r
4 -t 50 -d 0 -fr 30
Direct preview(90 degree rotation) the camera to SDC background, and set frame rate
to 30 fps.
Test ID: FSL-UT-V4L2-overlay-adc-0010
# mxc_v4l2_overlay.out -iw 640 -ih 480 -it 0 -il 0 -ow 120 -oh 120 -ot 40 -ol 40 -r
0 -t 50 -d 1 -fg -fr 30
Direct preview the camera to foreground, and set frame rate to 30 fps.
Test ID: FSL-UT-V4L2-overlay-adc-0020
# mxc_v4l2_overlay.out -iw 640 -ih 480 -it 0 -il 0 -ow 120 -oh 120 -ot 40 -ol 40 -r
4 -t 50 -d 1 -fg -fr 30
Direct preview(90 degree rotation) the camera to foreground, and set frame rate to
30
fps.
Test ID: FSL-UT-V4L2-output-0010
# mxc_v4l2_output.out -iw 640 -ih 480 -ow 1024 -oh 768 -r 0 -fr 60 test.yuv
Read the YUV420 stream file on test.yuv created by the mxc_v4l2_capture test as run
in test FSL-UT-V4L2-capture-0010. Apply color space conversion and resize, then
display on the framebuffer.
NOTE
The PRP channels require the stride line to be a multiple of 8.
For example, with no rotation, the width needs to be 8 bit
aligned; with 90 degree rotation, the height needs to be 8 bit
aligned. Downsizing cannot exceed 8:1. For example, for a
VGA sensor, the smallest downsize will be 80x60.
6.5.3 IPU Device Unit test
There is a test application named mxc_ipudev_test.c under the <ltib_dir>/rpm/BUILD/
imx-test-"version"/test/mxc_ipudev_test directory.
Before running the ipu device test application, make sure that the /dev/mxc_ipu is
created.
Unit Test
i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
66
Freescale Semiconductor, Inc.