summaryrefslogtreecommitdiff
path: root/test/message.cpp
AgeCommit message (Expand)Author
2021-07-11test: message: Test recursive Thread::dispatchMessages() callsLaurent Pinchart
2021-06-25libcamera/base: Move extended base functionalityKieran Bingham
2020-05-16libcamera: Move internal headers to include/libcamera/internal/Laurent Pinchart
2020-01-14libcamera: Switch from utils::make_unique to std::make_uniqueLaurent Pinchart
2019-11-27test: message: Add slow receiver testLaurent Pinchart
2019-11-27test: message: Fix message handling in MessageReceiverLaurent Pinchart
2019-07-16libcamera: message: Add user message typesJacopo Mondi
2019-07-11test: Add Message test caseLaurent Pinchart
s ExposureModeHelper { public: ExposureModeHelper(const Span<std::pair<utils::Duration, double>> stages); ~ExposureModeHelper() = default; void setLimits(utils::Duration minShutter, utils::Duration maxShutter, double minGain, double maxGain); std::tuple<utils::Duration, double, double> splitExposure(utils::Duration exposure) const; utils::Duration minShutter() const { return minShutter_; } utils::Duration maxShutter() const { return maxShutter_; } double minGain() const { return minGain_; } double maxGain() const { return maxGain_; } private: utils::Duration clampShutter(utils::Duration shutter) const; double clampGain(double gain) const; std::vector<utils::Duration> shutters_; std::vector<double> gains_; utils::Duration minShutter_; utils::Duration maxShutter_; double minGain_; double maxGain_; }; } /* namespace ipa */ } /* namespace libcamera */