summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_awb.py
AgeCommit message (Expand)Author
2020-06-29utils: raspberrypi: ctt: Fix pycodestyle W605Laurent Pinchart
2020-05-13utils: raspberrypi: ctt: Fix pycodestyle E302Laurent Pinchart
2020-05-13utils: raspberrypi: ctt: Fix pycodestyle E305Laurent Pinchart
2020-05-13utils: raspberrypi: ctt: Fix pycodestyle E711 and E712Laurent Pinchart
2020-05-13utils: raspberrypi: ctt: Fix pycodestyle E222Laurent Pinchart
2020-05-13utils: raspberrypi: ctt: Fix pycodestyle E228Laurent Pinchart
2020-05-13utils: raspberrypi: ctt: Fix pycodestyle E225Laurent Pinchart
2020-05-13utils: raspberrypi: ctt: Fix pycodestyle E203Laurent Pinchart
2020-05-13utils: raspberrypi: ctt: Fix pycodestyle E231Laurent Pinchart
2020-05-11libcamera: utils: Raspberry Pi Camera Tuning ToolNaushir Patuck
com"> */ #ifndef __CAM_CAPTURE_H__ #define __CAM_CAPTURE_H__ #include <chrono> #include <memory> #include <libcamera/buffer.h> #include <libcamera/camera.h> #include <libcamera/framebuffer_allocator.h> #include <libcamera/request.h> #include <libcamera/stream.h> #include "buffer_writer.h" #include "event_loop.h" #include "options.h" class Capture { public: Capture(std::shared_ptr<libcamera::Camera> camera, libcamera::CameraConfiguration *config); int run(EventLoop *loop, const OptionsParser::Options &options); private: int capture(EventLoop *loop, libcamera::FrameBufferAllocator *allocator); void requestComplete(libcamera::Request *request); std::shared_ptr<libcamera::Camera> camera_; libcamera::CameraConfiguration *config_; std::map<libcamera::Stream *, std::string> streamName_; BufferWriter *writer_; std::chrono::steady_clock::time_point last_; }; #endif /* __CAM_CAPTURE_H__ */