Brightness and Contrast control of /imx-test/mxc_v4l2_test

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Brightness and Contrast control of /imx-test/mxc_v4l2_test

ソリューションへジャンプ
1,569件の閲覧回数
torus1000
Contributor V

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#

ラベル(2)
0 件の賞賛
返信
1 解決策
1,275件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

When in the preview mode, I think the brightness and contrast should be controlled by the ov5642 driver (ov5642.c). But these part of code in the driver is empty. The Brightness and Contrast code (just some registers setting) can be found in the OmniVision's App. Note.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,276件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

When in the preview mode, I think the brightness and contrast should be controlled by the ov5642 driver (ov5642.c). But these part of code in the driver is empty. The Brightness and Contrast code (just some registers setting) can be found in the OmniVision's App. Note.

0 件の賞賛
返信