diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2023-05-03 13:20:34 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-05-04 20:59:24 +0300 |
commit | 6c71ee1f15305120ea0f339eb2ff61a25a518411 (patch) | |
tree | 88eda5a8305895cb0f9086be3d098f5927bc2ef9 /src/libcamera/pipeline/rpi/vc4/data/example.yaml | |
parent | fd29edccaecdc9efa31869ac9331795e5956992f (diff) |
pipeline: raspberrypi: Introduce PipelineHandlerBase class
Create a new PipelineHandlerBase class that handles general purpose
housekeeping duties for the Raspberry Pi pipeline handler. Code the
implementation of new class is essentially pulled from the existing
pipeline/rpi/vc4/raspberrypi.cpp file with a small amount of
refactoring.
Create a derived PipelineHandlerVc4 class from PipelineHandlerBase that
handles the VC4 pipeline specific tasks of the pipeline handler. Again,
code for this class implementation is taken from the existing
pipeline/rpi/vc4/raspberrypi.cpp with a small amount of
refactoring.
The goal of this change is to allow third parties to implement their own
pipeline handlers running on the Raspberry Pi without duplicating all of
the pipeline handler housekeeping tasks.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/pipeline/rpi/vc4/data/example.yaml')
-rw-r--r-- | src/libcamera/pipeline/rpi/vc4/data/example.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/pipeline/rpi/vc4/data/example.yaml b/src/libcamera/pipeline/rpi/vc4/data/example.yaml index c90f518f..b8e01ade 100644 --- a/src/libcamera/pipeline/rpi/vc4/data/example.yaml +++ b/src/libcamera/pipeline/rpi/vc4/data/example.yaml @@ -34,13 +34,13 @@ # # "disable_startup_frame_drops": false, - # Custom timeout value (in ms) for Unicam to use. This overrides + # Custom timeout value (in ms) for camera to use. This overrides # the value computed by the pipeline handler based on frame # durations. # # Set this value to 0 to use the pipeline handler computed # timeout value. # - # "unicam_timeout_value_ms": 0, + # "camera_timeout_value_ms": 0, } } |