[libcamera-devel] [PATCH 0/2] raspberrypi: FPS control

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue May 12 02:28:37 CEST 2020


Hi Naush,

Thank you for the patches.

On Mon, May 11, 2020 at 11:01:48AM +0100, Naushir Patuck wrote:
> Hi,
> 
> The following two patches add variable framerate control to a sensor
> subdevice.  This will allow shutter speeds below 33ms during
> viewfinder (for example).
> 
> I've currently hardcoded the maximum limit at 30.0fps, but we ought to
> have a discussion on how a user can request fps limits - perhaps
> though a Request, or stream configuration parameters?

That's an API we need indeed. I think the frame rate would need to be
modifiable at runtime, so that would require a control. Should we go for
a frame duration, using the same units as the exposure time ?

> Naushir Patuck (2):
>   libcamera: raspberrypi: Add control of sensor vblanking
>   libcamera: raspberrypi: Limit the maximum framerate to 30.0fps
> 
>  src/ipa/raspberrypi/cam_helper.hpp            |  1 +
>  src/ipa/raspberrypi/cam_helper_imx219.cpp     | 23 +++++++++++++++++++
>  src/ipa/raspberrypi/cam_helper_imx477.cpp     | 23 +++++++++++++++++++
>  src/ipa/raspberrypi/cam_helper_ov5647.cpp     | 23 +++++++++++++++++++
>  src/ipa/raspberrypi/raspberrypi.cpp           | 14 ++++++++++-
>  .../pipeline/raspberrypi/raspberrypi.cpp      |  2 ++
>  6 files changed, 85 insertions(+), 1 deletion(-)

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list