summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-07-01 22:36:29 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-07-23 16:31:41 +0200
commit4a5b0df9841f7d19d706adbefb2f2cbb4ea8569b (patch)
treef94f80734ce656e7b5898bd8aec0b99d1208ddd7 /include
parentdcda73ec14a69d303456cb8ab4869410c29bd762 (diff)
libcamera: formats: Remove ImageFormats
The ImageFormats helper class is not used anymore and can be removed. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/formats.h14
1 files changed, 0 insertions, 14 deletions
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<SizeRange> &sizes);
-
- bool isEmpty() const;
- std::vector<unsigned int> formats() const;
- const std::vector<SizeRange> &sizes(unsigned int format) const;
- const std::map<unsigned int, std::vector<SizeRange>> &data() const;
-
-private:
- std::map<unsigned int, std::vector<SizeRange>> data_;
-};
-
struct PixelFormatPlaneInfo
{
unsigned int bytesPerGroup;