This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

60FPS camera preview

Hi,

I am using ICS (L27.IS.2.P2) on custom OMAP4460 platform. I am trying to display the camera frames at 60FPS. My LCD refresh rate is around 58.

OMXCameraAdapter.cpp, debugShowFPS function confirms the A9 is getting the camera buffer at 59-60FPS. But my android camera application is showing only 30FPS. Anyone had tried 60FPS camera preview?

Regards,

Sanjeev

  • L27.IS.2.P2 has a limitation because of which 60fps is not working, even if sensor supports it. Please migrate to 4AI 1.7.

  • Thanks for the reply Myank Mangla.

    I am getting 60fps in P2 release(there was a problem with my camera application), but as you mentioned in your email the camera frames update is not consistent. It's varying  between 52-60. Most of the time it's close to 59fps. 

    I need 60fps all the time to de-interlace the NTSC video(BOB algorithm). I modified the my lcd display refresh rate to match 60fps.

    Look like ANativeWindowDisplayAdapter.cpp postframe function does not write the LCD at the LCD refresh rate. I am not sure if ICS 1.7 release fixes this.

    Do you have any suggestions?

    Regards,

    Sanjeev