How to disable the RGB conversion in mxc_vpu_test

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

How to disable the RGB conversion in mxc_vpu_test

701 Views
yuuki
Senior Contributor II

Dear all,

We implemented mxc_vpu_test in Android4.4.3 for i.MX6Q-SABRE.

In the case of display, a format seems to be converted to RGB.

Is there the method displayed without RGB conversion?

Best Regards,

Yuuki

Labels (2)
0 Kudos
6 Replies

542 Views
joanxie
NXP TechSupport
NXP TechSupport

do you mean that you want to output format from vpu is RGB directly?

if you don't use vpu, output capturing video to LCD, you don't need change to RGB, but if you use VPU, I dont know what video you use, but you should change yuv to rgb, but this conversion is done by hardware module, cpu shouldn't have heavy load.

0 Kudos

542 Views
yuuki
Senior Contributor II

Dear Guanqiong Xie-san,

We want to use NV12 or YV12 format.

In mxc_vpu_test, we want to make an output format NV12 or YV12 (not RGB format).

Would you tell me how to change the output format to NV12 or YV12?

Best Regards,

Yuuki

0 Kudos

542 Views
joanxie
NXP TechSupport
NXP TechSupport

try to set the CSC module of DP module in the IPU, for more detailed information, you can refer to the Reference Manual.

normally, if you don't set this test to output to the specific file, outputing on the LCD is as default, then this test use RGB output as default

0 Kudos

542 Views
yuuki
Senior Contributor II

Dear Guanqiong Xie-san,

Thank you for your support.

Do you mean the DP_CSC_DEF_ASYNC0/1 field of the IPUx_DP_COM_CONF_ASYNC0/1 register?

When my understanding is correct, 

Should DP_CSC_DEF_ASYNC0/1 field be set in 01 (CSC enable after combining)?

Would you tell me a file name and the cord position in Android BSP which I should confirm?

May I have advice?

Best Regards,

Yuuki

0 Kudos

542 Views
joanxie
NXP TechSupport
NXP TechSupport

could you give me your mxc_vpu_test detailed command? did you display to LCD or a file??

could you tell me why you don't need rgb conversion?

0 Kudos

542 Views
yuuki
Senior Contributor II

Dear Guanqiong Xie-san,

We display to LCD.

The output format of VPU is NV12 or YV12.

The RGB format output needs format conversion.

This format conversion increases bus load.

We want to reduce bus load as much as possible.

Best Regards,

Yuuki

0 Kudos