i.MX6Q IPU_ROTATE_HORIZ_FLIP can't work

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX6Q IPU_ROTATE_HORIZ_FLIP can't work

Jump to solution
483 Views
haesungjung
Contributor I

Dear,

I'm using L4.1.15 + i.MX6Q and Direct FB

I want to use IPU_ROTATE_HORIZ_FLIP for rotation display.

but I found below comment in community.

'for IPU display channel, it can only support IPU_ROTATE_VERT_FLIP(vertical filp), for other kind of rotation, the customer should use IPU task to implement it.'

If really need to implement it, can you provide a reference source code or document?

Labels (1)
0 Kudos
1 Solution
321 Views
joanxie
NXP TechSupport
NXP TechSupport

one can refer to the source code as below, and change the rotation parameter as below. then you can work for any rotation,

GitHub - jerome-pouiller/mxc-video-rotate 

the values are:

IPU_ROTATE_NONE = 0,

IPU_ROTATE_VERT_FLIP = 1,

IPU_ROTATE_HORIZ_FLIP = 2,

IPU_ROTATE_180 = 3,

IPU_ROTATE_90_RIGHT = 4,

IPU_ROTATE_90_RIGHT_VFLIP = 5,

IPU_ROTATE_90_RIGHT_HFLIP = 6,

IPU_ROTATE_90_LEFT = 7

 

Example: "video=mxcfb0:dev=ldb,rotate=4 " for a 90 deg rotation

View solution in original post

0 Kudos
1 Reply
322 Views
joanxie
NXP TechSupport
NXP TechSupport

one can refer to the source code as below, and change the rotation parameter as below. then you can work for any rotation,

GitHub - jerome-pouiller/mxc-video-rotate 

the values are:

IPU_ROTATE_NONE = 0,

IPU_ROTATE_VERT_FLIP = 1,

IPU_ROTATE_HORIZ_FLIP = 2,

IPU_ROTATE_180 = 3,

IPU_ROTATE_90_RIGHT = 4,

IPU_ROTATE_90_RIGHT_VFLIP = 5,

IPU_ROTATE_90_RIGHT_HFLIP = 6,

IPU_ROTATE_90_LEFT = 7

 

Example: "video=mxcfb0:dev=ldb,rotate=4 " for a 90 deg rotation

0 Kudos