summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/move.svg
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-02 16:19:57 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-03 04:32:26 +0300
commitdb7f214547143a6c8496f4e725a35c9bf0b07133 (patch)
tree8d501d74e7cc3bdd8826769ef59b88fa600e84c5 /src/qcam/assets/feathericons/move.svg
parenta0d8a9ec956cdf35ccfc4f01cfc166103a7a7bcf (diff)
libcamera: camera_sensor: Access entity directly
The CameraSensor::logPrefix() function accesses the entity from the subdev. Remove the level of indirection as we stored a pointer to the entity internally. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/qcam/assets/feathericons/move.svg')
0 files changed, 0 insertions, 0 deletions
"hl opt">; enum { OptCamera = 'c', OptHelp = 'h', OptSize = 's', }; class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(CameraManager *cm, const OptionsParser::Options &options); ~MainWindow(); private Q_SLOTS: void updateTitle(); private: std::string chooseCamera(); int openCamera(); int startCapture(); void stopCapture(); void requestComplete(Request *request); int display(FrameBuffer *buffer); QString title_; QTimer titleTimer_; const OptionsParser::Options &options_; CameraManager *cm_; std::shared_ptr<Camera> camera_; FrameBufferAllocator *allocator_; bool isCapturing_; std::unique_ptr<CameraConfiguration> config_; uint64_t lastBufferTime_; QElapsedTimer frameRateInterval_; uint32_t previousFrames_; uint32_t framesCaptured_; ViewFinder *viewfinder_; std::map<int, std::pair<void *, unsigned int>> mappedBuffers_; }; #endif /* __QCAM_MAIN_WINDOW__ */