i.MX6Q IPU_ROTATE_HORIZ_FLIP can't work

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6Q IPU_ROTATE_HORIZ_FLIP can't work

跳至解决方案
1,814 次查看
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?

标签 (1)
0 项奖励
回复
1 解答
1,652 次查看
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 项奖励
回复
1 回复
1,653 次查看
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 项奖励
回复