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>
This commit is contained in:
parent
dcda73ec14
commit
4a5b0df984
2 changed files with 0 additions and 102 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue