AnsweredAssumed Answered

How to use IPU to resize camera raw data in kernel space?

Question asked by zoe chen on Oct 27, 2015
Latest reply on Oct 29, 2015 by Saurabh Patel

Hi All,

          I have used ipu resize camera data from 1280*720 to 720*480, now I want to do it in kernel space.

          My platform is i.MX6 , the camera sensor can only output 1280*720 raw data, but my applicantion need 720 × 480, So I use IPU to resize it after DQBUF. Then I find in mxc_v4l2_capture.c,Freescale Code will use IPU to convert our camera buffer, so I think whether I can resize my camera data in this layer. It can improve the efficiency.

 

          I have try to change ipu_csi_set_window_size, ipu_csi_set_window_pos, ipu_csi_init_interface parm in mxc_v4l2_s_param. But the effect is only crop not resize.

Outcomes