summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Expand)Author
2019-10-23utils: checkstyle.py: Add include checkerLaurent Pinchart
2019-07-11libcamera: skip auto version generation when building for Chromium OSPaul Elder
2019-07-09libcamera: Rework automatic version generation to avoid rebuildsLaurent Pinchart
2019-07-04libcamera: Auto generate version informationKieran Bingham
2019-07-04utils: checkstyle.py: Add pep8 checkerKieran Bingham
2019-07-04utils: checkstyle.py: Add Doxygen formatterLaurent Pinchart
2019-07-01utils: checkstyle.py: Add meson.build checkerLaurent Pinchart
2019-07-01utils: checkstyle.py: Refactor formatters and checkers supportLaurent Pinchart
2019-03-29utils: rkisp1: Add test capture scriptLaurent Pinchart
2019-02-13utils: checkstyle: Catch LOG() usage without an explicit categoryLaurent Pinchart
2019-01-30utils: hooks: Provide post-commit hook example to checkstyle.pyKieran Bingham
2019-01-22utils: checkstyle: Add support for clang-formatLaurent Pinchart
2018-12-21utils: checkstyle: add keep-one-line-blocksKieran Bingham
2018-12-19utils: checkstyle.py: Strip trailing white spacesLaurent Pinchart
2018-12-19utils: checkstyle.py: Highlight trailing white space at end of lineLaurent Pinchart
2018-12-19utils: checkstyle.py: Support execution from non-root directoriesLaurent Pinchart
2018-12-14utils: Add Python-based commit style checker scriptLaurent Pinchart
2018-12-11utils: ipu3: process: Configure formats on ImgU subdev padsLaurent Pinchart
2018-12-11utils: ipu3: process: Fix typo in output files pathLaurent Pinchart
2018-12-11utils: ipu3: Abort when sensor or media device isn't foundLaurent Pinchart
2018-12-02utils: ipu3: Add test process scriptLaurent Pinchart
2018-11-29utils: ipu3: Add test capture scriptLaurent Pinchart
2018-11-20utils: ipu3: Add IPU3 raw capture unpack utilityLaurent Pinchart
wd">StreamFormats(); StreamFormats(const std::map<PixelFormat, std::vector<SizeRange>> &formats); std::vector<PixelFormat> pixelformats() const; std::vector<Size> sizes(const PixelFormat &pixelformat) const; SizeRange range(const PixelFormat &pixelformat) const; private: std::map<PixelFormat, std::vector<SizeRange>> formats_; }; struct StreamConfiguration { StreamConfiguration(); StreamConfiguration(const StreamFormats &formats); PixelFormat pixelFormat; Size size; unsigned int stride; unsigned int frameSize; unsigned int bufferCount; std::optional<ColorSpace> colorSpace; Stream *stream() const { return stream_; } void setStream(Stream *stream) { stream_ = stream; } const StreamFormats &formats() const { return formats_; } std::string toString() const; private: Stream *stream_; StreamFormats formats_; }; enum StreamRole { Raw, StillCapture, VideoRecording, Viewfinder, }; using StreamRoles = std::vector<StreamRole>; class Stream { public: Stream(); const StreamConfiguration &configuration() const { return configuration_; } protected: friend class Camera; StreamConfiguration configuration_; }; } /* namespace libcamera */