mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-26 01:55:51 +03:00
pipeline: raspberrypi: Add a Unicam dequeue timeout
Enable the V4L2VideoDevice dequeue timeout for the Unicam Image node, and connect the timeout signal to a slot in the pipeline handler. This slot will log an error message informing the user of a possible hardware stall. The timeout is calculated as 2x the maximum frame length possible for a given mode, returned by the IPA. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
16f3d2de50
commit
04faa8477a
3 changed files with 22 additions and 0 deletions
|
@ -41,6 +41,7 @@ struct IPAConfig {
|
|||
struct StartConfig {
|
||||
libcamera.ControlList controls;
|
||||
int32 dropFrameCount;
|
||||
uint32 maxSensorFrameLengthMs;
|
||||
};
|
||||
|
||||
interface IPARPiInterface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue