i.MX6Q IPU_ROTATE_HORIZ_FLIP can't work

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX6Q IPU_ROTATE_HORIZ_FLIP can't work

ソリューションへジャンプ
1,792件の閲覧回数
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,630件の閲覧回数
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,631件の閲覧回数
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 件の賞賛
返信