libcamera  v0.3.1+12-19bbca3c
Supporting cameras in Linux since 2019
Classes | Namespaces | Macros
converter.h File Reference

Abstract converter. More...

#include <functional>
#include <initializer_list>
#include <map>
#include <memory>
#include <string>
#include <tuple>
#include <vector>
#include <libcamera/base/class.h>
#include <libcamera/base/signal.h>
#include <libcamera/geometry.h>
Include dependency graph for converter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  libcamera::Converter
 Abstract Base Class for converter. More...
 
class  libcamera::ConverterFactoryBase
 Base class for converter factories. More...
 
class  libcamera::ConverterFactory< _Converter >
 Registration of ConverterFactory classes and creation of instances. More...
 

Namespaces

 libcamera
 Top-level libcamera namespace.
 

Macros

#define REGISTER_CONVERTER(name, converter, compatibles)   static ConverterFactory<converter> global_##converter##Factory(name, compatibles);
 Register a converter with the Converter factory. More...
 

Detailed Description

Abstract converter.

Macro Definition Documentation

◆ REGISTER_CONVERTER

#define REGISTER_CONVERTER (   name,
  converter,
  compatibles 
)    static ConverterFactory<converter> global_##converter##Factory(name, compatibles);

Register a converter with the Converter factory.

Parameters
[in]nameConverter name used to register the class
[in]converterClass name of Converter derived class to register
[in]compatiblesList of compatible names

Register a Converter subclass with the factory and make it available to try and match converters.