How to enable csc ipu stage in imx6 for brightness, contrast, hue changes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable csc ipu stage in imx6 for brightness, contrast, hue changes

2,678 Views
chandrasekharma
Contributor III

Hi all,

According to iMX6Q display adjustment  link able to see test application code to change csc matrix values. But actually i didn't see any effect on my imx6q-sabresd lcd touch panel. So my understanding this test application only gives csc matrix values but not reflected to driver side of csc ipu. So my exact question is how to enable csc ipu driver in kernel level to test application for changing brightness, contrast and hue etc.....

And my another doubt......Is imx6q sabresd board support to change brightness, contrast and hue values?

If yes means solution is through csc test application(imx_csc.c). But this is not reflecting into my sabresd board.

Whether I have to do extra setup or Whether I have to enable extra drivers because im very new to csc ipu unit..

Thanks in advance

Labels (3)
0 Kudos
6 Replies

1,373 Views
rogerio_silva
NXP Employee
NXP Employee

You can check this code as example about how to change CSC on Display Processor (using the framebuffer driver /dev/fb0). It's possible to change hue, bright, contrast and etc etc...

i.MX6 CSC setting sample source code 

0 Kudos

1,373 Views
liangyan
Contributor II

imx_csc.c work on imx6dlsabresd?, i download it,  this is not reflecting into my sabresd board?

0 Kudos

1,373 Views
igorpadykov
NXP Employee
NXP Employee

Hi  chandrasekhar

BSP provides some csc capability using g2d as described in

sect.7.3.15 Video conversion attached Linux Guide.

Regarding ipu, one will have to add such capability using suggestions

in mentioned iMX6Q display adjustment  link.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,373 Views
chandrasekharma
Contributor III

Thank you igor, But while executing kernel command line:

gst-launch-1.0 videotestsrc ! video/x-raw,format=NV12 ! imxvideoconvert_{g2d} ! video/x-

raw,format=RGB16 ! ximagesink display=:0

it shows system/bin/sh: gst-launch-1.0 not found

Will u please help to run gsl-launch-1.0 in freescale imx6 sabresd board??I followed from github GitHub - Freescale/gstreamer-imx: GStreamer 1.0 plugins for i.MX platforms. Is this correct link?? or any reference links from freescale official site..

0 Kudos

1,373 Views
igorpadykov
NXP Employee
NXP Employee

Hi  chandrasekhar

please follow

Board Support Packages (29)

L3.14.52_1.1.0_MX6QDLSOLO (REV L3.14.52_1.1.0)

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

~igor

0 Kudos

1,373 Views
chandrasekharma
Contributor III

I downloaded this package..But actual my board is imx6q sabresd board and I am using linux-3.10.53 as kernel_imx.

After downloading L3.14.52_1.1.0 (L3.14.52_1.1.0 i.MX VivanteVTK file). For what purpose this link will use?

In this tar file if list out

/Downloads/L3.14.52/L3.14.52_1.1.0-ga_gpu-tools$ ls

vAnalyzer.zip    vCompiler.zip   vTexture.zip

vclCompiler.zip  vEmulator.zip  vShader.zip    vTracer.zip

What i have to do using these zip files....help me

0 Kudos