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