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?
Solved! Go to Solution.
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
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