summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_ransac.py
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2023-10-13 08:48:36 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-10-18 11:01:23 +0100
commita04fe76a457ede6c8cab75471415484eb0b170f6 (patch)
tree93a4a8a1fc29e975a692f749d0928a565e0c5270 /utils/raspberrypi/ctt/ctt_ransac.py
parent0d4342bf2242d26775cd73dcdbcf146cc7425153 (diff)
pipeline: rpi: Make color space members in RPiCameraConfiguration public
This allows them to be accessed by the pipeline handlers when needed. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_ransac.py')
0 files changed, 0 insertions, 0 deletions
t; #include <vector> #include <libcamera/base/class.h> namespace libcamera { class Camera; class FrameBuffer; class Stream; class FrameBufferAllocator { public: FrameBufferAllocator(std::shared_ptr<Camera> camera); ~FrameBufferAllocator(); int allocate(Stream *stream); int free(Stream *stream); bool allocated() const { return !buffers_.empty(); } const std::vector<std::unique_ptr<FrameBuffer>> &buffers(Stream *stream) const; private: LIBCAMERA_DISABLE_COPY(FrameBufferAllocator) std::shared_ptr<Camera> camera_; std::map<Stream *, std::vector<std::unique_ptr<FrameBuffer>>> buffers_; }; } /* namespace libcamera */