diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2024-10-31 09:49:54 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-11-04 17:23:55 +0200 |
commit | 81afca4078974480f91f31d6c2d0c8ffd60ee9f1 (patch) | |
tree | b0450e55ba4c3118fcf3de6841e41f3c57aa8f74 /test/gstreamer/gstreamer_single_stream_test.cpp | |
parent | 6bb278c20c2d1ce237b8d534fcc9711a65de8102 (diff) |
pipeline: rpi: Introduce CameraData::CropParams
In preparation for assigning separate crop windows for each stream, add
a new CropParams structure that stores the existing ispCrop_ and
ispMinCropSize_ as fields. Use a new std::map to store a CropParams
structure where the map key is the index of the stream configuration in
the CameraConfiguration vector.
At preset, only a single CropParams structure will be set at key == 0 to
preserve the existing crop handling logic.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/gstreamer/gstreamer_single_stream_test.cpp')
0 files changed, 0 insertions, 0 deletions