imx6sx rotation usage

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

imx6sx rotation usage

imx6sx rotation usage

as we known, mx6sx doesn’t have IPU, if we need to resize, rotation or blending…., we can use pxp module, this part, we talk about rotation for example.

We also can use GPU for rotation, but in imx6sx, the number after 6sx in the part number stands for the chip including gpu or not, the number 4 and 3 mean mx6sx has gpu, like MCIMX6X3EVN10AB. and 1,2 and 3 mean mx6sx doesn’t have gpu, like MCIMX6X2EVN10AB

for gpu, we know we can use xrander to rotate ,in this part, we focus on pxp rotation

the stesp:

  • enable pxp in the kernel:

              $ bitbake -c menuconfig linux-imx, then choose Device Drivers ---> DMA Engine support --->

[*] MXC PxP support

[*] MXC PxP Client Device

2) download the built image from tmp/deploy/images/imx6sxsabresd

3) boot up the board, then you can find the pxp_v4l2_test.out in the unit test

4) use the command as below to test the rotation:

./pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -a 100  -r 90 fb-352x240.yuv BLANK

 

Sx and sy is resolution for display, -res is resolution for image or video. -r is for rotaion, you can set 0,90,180 and 270 for it. I attach the fb-352x240.yuv for testing

Labels (1)
Attachments
Comments

I followed message and output is like this.

unable to open /dev/video for output, continue searching device.
Unable open v4l2 output device.

Please help me.

I resolved with adding some video features in kernel. Thanks~ :smileyhappy:

No ratings
Version history
Last update:
‎06-27-2017 01:19 AM
Updated by: