How to use encoder_test.out on i.MX6

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

How to use encoder_test.out on i.MX6

776 Views
dongsulee
Contributor I

Hi,

I think it's a basic question. When I executed /unit-test/JPEG/encoder_test.out follow usage, I got a error.

Could you please explain what I have a wrong?

1. The way that I executed it and there isn't a command for IOCTL.

root@var-som-mx6:/unit_tests/JPEG# ./encoder_test.out -d /dev/mxc_vpu -f outfile.rgb

mxc_vpu 2040000.vpu_fsl: No such IOCTL, cmd is -2140645888
FILE SIZE 786432
VIDIOC_QUERYCAP: Invalid argument

Best regards,

Labels (2)
0 Kudos
3 Replies

733 Views
dongsulee
Contributor I

Hi igor,

I'm sorry late.

It is working well. Could I ask you one more?? Is other unit-test program available??

I think JPEG on unit-test isn't available, and there are many unit-test. I'm a little confused which it is available.

You replied the best answer for me.:) Thank you so much!!

Best regards,

0 Kudos

733 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dong

 

one can look at mxc_vpu_test documentation:

doc\mxc_vpu_test\test - imx-test - i.MX Driver Test Application Software 

 

Best regards
igor

0 Kudos

733 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dong

one can try ./mxc_vpu_test.out -E "-i Test_25fps_qcif.yuv -w 240 -h 320 -f 7 -o file.jpg".

Also for var-som-mx6 board one can look on

VAR-SOM-MX6 GSTREAM - Variscite Wiki 

VAR-SOM-MX6 GSTREAM FSLC - Variscite Wiki 

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

0 Kudos