AnsweredAssumed Answered

Problem rotating camera stream

Question asked by Emil Myhrman on Aug 26, 2015
Latest reply on Sep 7, 2015 by igorpadykov

Hello,

 

I'm using android-kitkat BSP (with libcamera2 and kernel 3.0.35) and is having problem rotating the camera stream in IPU.

 

When I set v4l2 control V4L2_CID_MXC_ROT to V4L2_MXC_ROTATE_90_RIGHT (which sets IPU_ROTATE_90_RIGHT), nothing happens to the frame output.

 

I've also tried doing the rotation after the camera frame is received from v4l2, using IPU (by following example ipu-examples/rot_ex1.c at master · rogeriorps/ipu-examples · GitHub)) but only rotation that works is flipping it.

 

Should be possible to rotate a 2592x1944 camera image in IPU 90 degrees?

 

Any ideas on what could be wrong?

Outcomes