AnsweredAssumed Answered

Brightness and Contrast control of /imx-test/mxc_v4l2_test

Question asked by torus1000 on Jul 10, 2015
Latest reply on Jul 11, 2015 by jimmychan

Hi Chip experts,

 

I tried -v option of /unit_tests/mxc_v4l2_overlay.out but nothing changed. Please see attached log.

(Q) Is this option no more supported?

 

I'm looking for CSC sample source code. I couldn't find any of them except this.
  https://community.freescale.com/docs/DOC-101053

(Q) Can anyone help me to find it?

Anyone have any suggestions?

 

Thanks.

Poky (Yocto Project Reference Distro) 1.6.2 imx6dlsabresd /dev/ttymxc0
...
root@imx6dlsabresd:~# cd /unit_tests/
root@imx6dlsabresd:/unit_tests# ./mxc_v4l2_overlay.out -iw 640 -ih 480 -ow 640 -oh 480 -fr 30 -t 10 -v 1
g_display_width = 640, g_display_height = 480
g_display_top = 0, g_display_left = 0
sensor chip is ov5642_camera
sensor supported frame size:
640x480
320x240
720x480
720x576
1280x720
1920x1080
2592x1944
176x144
1024x768
sensor frame format: YUYV
frame_rate is 30RGB565

frame buffer width 1024, height 768, bytesperline 2048
change the brightness 0
change the brightness 32
change the brightness 64
change the brightness 96
change the brightness 128
change the brightness 160
change the brightness 192
change the brightness 224
root@imx6dlsabresd:/unit_tests# ./mxc_v4l2_overlay.out -iw 640 -ih 480 -ow 640 -oh 480 -fr 30 -t 10 -v 2
...

frame buffer width 1024, height 768, bytesperline 2048
change the color saturation 25
change the color saturation 50
change the color saturation 75
change the color saturation 100
change the color saturation 125
root@imx6dlsabresd:/unit_tests# ./mxc_v4l2_overlay.out -iw 640 -ih 480 -ow 640 -oh 480 -fr 30 -t 10 -v 3
...

frame buffer width 1024, height 768, bytesperline 2048
change the red balance 0
change the red balance 32
change the red balance 64
change the red balance 96
change the red balance 128
change the red balance 160
change the red balance 192
change the red balance 224
root@imx6dlsabresd:/unit_tests# ./mxc_v4l2_overlay.out -iw 640 -ih 480 -ow 640 -oh 480 -fr 30 -t 10 -v 4
...

frame buffer width 1024, height 768, bytesperline 2048
change the blue balance 0
change the blue balance 32
change the blue balance 64
change the blue balance 96
change the blue balance 128
change the blue balance 160
change the blue balance 192
change the blue balance 224
root@imx6dlsabresd:/unit_tests# ./mxc_v4l2_overlay.out -iw 640 -ih 480 -ow 640 -oh 480 -fr 30 -t 10 -v 5
...

frame buffer width 1024, height 768, bytesperline 2048
change the black balance 0
change the black balance 1
change the black balance 2
change the black balance 3
root@imx6dlsabresd:/unit_tests#

Outcomes