Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
ColorConversionProps Class Reference

#include <ColorConversionXForm.h>

Inheritance diagram for ColorConversionProps:
Inheritance graph
Collaboration diagram for ColorConversionProps:
Collaboration graph

Public Types

enum  ConversionType {
  RGB_TO_MONO = 0 , BGR_TO_MONO , BGR_TO_RGB , RGB_TO_BGR ,
  RGB_TO_YUV420PLANAR , YUV420PLANAR_TO_RGB , BAYERBG8_TO_MONO , BAYERBG8_TO_RGB ,
  BAYERGB8_TO_RGB , BAYERRG8_TO_RGB , BAYERGR8_TO_RGB
}
 
- Public Types inherited from ModuleProps
enum  FrameFetchStrategy { PUSH , PULL }
 

Public Member Functions

 ColorConversionProps (ConversionType _type)
 
 ColorConversionProps ()
 
apra::ScalarPropertyValue getProperty (const std::string &propName) const
 
bool setProperty (const std::string &propName, const apra::ScalarPropertyValue &value)
 
- Public Member Functions inherited from ModuleProps
 ModuleProps ()
 
 ModuleProps (float _fps)
 
 ModuleProps (float _fps, size_t _qlen, bool _logHealth)
 
 ModuleProps (FrameFetchStrategy _frameFetchStrategy)
 
size_t getQLen ()
 
virtual size_t getSerializeSize ()
 

Static Public Member Functions

template<typename PropsT >
static void applyProperties (PropsT &props, const std::map< std::string, apra::ScalarPropertyValue > &values, std::vector< std::string > &missingRequired)
 
static std::vector< std::string > dynamicPropertyNames ()
 

Public Attributes

ConversionType type
 
- Public Attributes inherited from ModuleProps
float fps
 
size_t qlen
 
bool logHealth
 
int logHealthFrequency
 
size_t maxConcurrentFrames
 
int skipN = 0
 
int skipD = 1
 
FrameFetchStrategy frameFetchStrategy
 
QuePushStrategy::QuePushStrategyType quePushStrategyType
 
FIndexStrategy::FIndexStrategyType fIndexStrategyType
 
bool enableHealthCallBack
 
int healthUpdateIntervalInSec
 

Member Enumeration Documentation

◆ ConversionType

Enumerator
RGB_TO_MONO 
BGR_TO_MONO 
BGR_TO_RGB 
RGB_TO_BGR 
RGB_TO_YUV420PLANAR 
YUV420PLANAR_TO_RGB 
BAYERBG8_TO_MONO 
BAYERBG8_TO_RGB 
BAYERGB8_TO_RGB 
BAYERRG8_TO_RGB 
BAYERGR8_TO_RGB 

Constructor & Destructor Documentation

◆ ColorConversionProps() [1/2]

ColorConversionProps::ColorConversionProps ( ConversionType _type)
inline

◆ ColorConversionProps() [2/2]

ColorConversionProps::ColorConversionProps ( )
inline

Member Function Documentation

◆ applyProperties()

template<typename PropsT >
static void ColorConversionProps::applyProperties ( PropsT & props,
const std::map< std::string, apra::ScalarPropertyValue > & values,
std::vector< std::string > & missingRequired )
inlinestatic

◆ dynamicPropertyNames()

static std::vector< std::string > ColorConversionProps::dynamicPropertyNames ( )
inlinestatic

◆ getProperty()

apra::ScalarPropertyValue ColorConversionProps::getProperty ( const std::string & propName) const
inline

◆ setProperty()

bool ColorConversionProps::setProperty ( const std::string & propName,
const apra::ScalarPropertyValue & value )
inline

Member Data Documentation

◆ type

ConversionType ColorConversionProps::type

The documentation for this class was generated from the following file: