libcamera: rpi: Make the controller min frame duration configurable
The controller min frame duration is used to rate limit how often we run IPAs. Historically this has been set to 33333us, meaning that the algorithms effectively skip frames when the camera is running faster than 30fps. This patch adds a small amount of plumbing that allows this value to be set in the Raspberry Pi configuration file. Some applications or platforms (such as Pi 5) are easily capable of running these more often, should there be a need to do so. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
71c5c08fcf
commit
cc74afcdbd
@@ -18,6 +18,7 @@ struct SensorConfig {
|
||||
struct InitParams {
|
||||
bool lensPresent;
|
||||
libcamera.IPACameraSensorInfo sensorInfo;
|
||||
float controllerMinFrameDurationUs;
|
||||
/* PISP specific */
|
||||
libcamera.SharedFD fe;
|
||||
libcamera.SharedFD be;
|
||||
|
||||
Reference in New Issue
Block a user