From 4a5b0df9841f7d19d706adbefb2f2cbb4ea8569b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Wed, 1 Jul 2020 22:36:29 +0200 Subject: libcamera: formats: Remove ImageFormats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ImageFormats helper class is not used anymore and can be removed. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham --- include/libcamera/internal/formats.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include') diff --git a/include/libcamera/internal/formats.h b/include/libcamera/internal/formats.h index cad41ad8..0bb15104 100644 --- a/include/libcamera/internal/formats.h +++ b/include/libcamera/internal/formats.h @@ -19,20 +19,6 @@ namespace libcamera { -class ImageFormats -{ -public: - int addFormat(unsigned int format, const std::vector &sizes); - - bool isEmpty() const; - std::vector formats() const; - const std::vector &sizes(unsigned int format) const; - const std::map> &data() const; - -private: - std::map> data_; -}; - struct PixelFormatPlaneInfo { unsigned int bytesPerGroup; -- cgit v1.2.1