Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
CCNPPI::Detail Class Reference
Collaboration diagram for CCNPPI::Detail:
Collaboration graph

Public Types

enum  Imageformats {
  UNSET = 0 , MONO = 1 , BGR , BGRA ,
  RGB , RGBA , YUV411_I = 10 , YUV444 ,
  YUV420 , UYVY , YUYV , NV12 ,
  BAYERBG10 = 20 , BAYERBG8 , BAYERGB8 , BAYERGR8 ,
  BAYERRG8
}
 

Public Member Functions

 Detail (CCNPPIProps &_props)
 
 ~Detail ()
 
void setConvMatrix ()
 
bool convertMONOtoRGB ()
 
bool convertMONOtoBGR ()
 
bool convertMONOtoRGBA ()
 
bool convertMONOtoBGRA ()
 
bool convertMONOtoYUV420 ()
 
bool convertRGBtoMONO ()
 
bool convertRGBtoBGR ()
 
bool convertRGBtoBGRA (bool intermediate)
 
bool convertRGBtoRGBA (bool intermediate)
 
bool convertRGBtoYUV420 ()
 
bool convertBGRtoMONO ()
 
bool convertBGRtoRGB ()
 
bool convertBGRtoRGBA ()
 
bool convertBGRtoBGRA ()
 
bool convertBGRtoYUV420 ()
 
bool convertRGBAtoMONO ()
 
bool convertRGBAtoRGB ()
 
bool convertRGBAtoBGR ()
 
bool convertRGBAtoBGRA ()
 
bool convertRGBAtoYUV420 ()
 
bool convertBGRAtoMONO ()
 
bool convertBGRAtoRGB ()
 
bool convertBGRAtoBGR ()
 
bool convertBGRAtoRGBA ()
 
bool convertBGRAtoYUV420 ()
 
bool convertYUV420toMONO ()
 
bool convertYUV420toRGB ()
 
bool convertYUV420toBGR ()
 
bool convertYUV420toRGBA ()
 
bool convertYUV420toBGRA ()
 
bool convertNV12toMONO ()
 
bool convertNV12toRGB (bool intermediate)
 
bool convertNV12toBGR ()
 
bool convertNV12toYUV420 ()
 
bool convertYUV411_ItoYUV444 ()
 
bool execute (frame_sp buffer, frame_sp outBuffer, frame_sp intermediateBuffer)
 
bool setMetadata (framemetadata_sp &input, framemetadata_sp &output, framemetadata_sp mIntermediate)
 

Public Attributes

const int enumSize = BAYERRG8 + 1
 
const int conversionTable [37][2]
 
int convmatrix [BAYERRG8+1][BAYERRG8+1][2] = { {-1} }
 
int intermediateChannels = 0
 
NppiSize srcSize [4]
 
bool intermediateConv = false
 

Protected Attributes

FrameMetadata::FrameType inputFrameType
 
FrameMetadata::FrameType outputFrameType
 
ImageMetadata::ImageType inputImageType
 
ImageMetadata::ImageType outputImageType
 
FrameMetadata::FrameType intermediateFrameType
 
ImageMetadata::ImageType intermediateImageType
 
int inputChannels
 
int outputChannels
 
const Npp8u * src [4]
 
NppiRect srcRect [4]
 
int srcPitch [4]
 
size_t srcNextPtrOffset [4]
 
size_t srcRowSize [4]
 
Npp8u * dst [4]
 
NppiSize dstSize [4]
 
NppiRect dstRect [4]
 
int dstPitch [4]
 
size_t dstNextPtrOffset [4]
 
Npp8u * intermediatedst [4]
 
NppiSize intermediateSize [4]
 
NppiRect intermediateRect [4]
 
int intermediatePitch [4]
 
size_t intermediateNextPtrOffset [4]
 
CCNPPIProps props
 
NppStreamContext nppStreamCtx
 

Member Enumeration Documentation

◆ Imageformats

Enumerator
UNSET 
MONO 
BGR 
BGRA 
RGB 
RGBA 
YUV411_I 
YUV444 
YUV420 
UYVY 
YUYV 
NV12 
BAYERBG10 
BAYERBG8 
BAYERGB8 
BAYERGR8 
BAYERRG8 

Constructor & Destructor Documentation

◆ Detail()

CCNPPI::Detail::Detail ( CCNPPIProps & _props)
inline

◆ ~Detail()

CCNPPI::Detail::~Detail ( )
inline

Member Function Documentation

◆ convertBGRAtoBGR()

bool CCNPPI::Detail::convertBGRAtoBGR ( )
inline
Here is the caller graph for this function:

◆ convertBGRAtoMONO()

bool CCNPPI::Detail::convertBGRAtoMONO ( )
inline
Here is the caller graph for this function:

◆ convertBGRAtoRGB()

bool CCNPPI::Detail::convertBGRAtoRGB ( )
inline
Here is the caller graph for this function:

◆ convertBGRAtoRGBA()

bool CCNPPI::Detail::convertBGRAtoRGBA ( )
inline
Here is the caller graph for this function:

◆ convertBGRAtoYUV420()

bool CCNPPI::Detail::convertBGRAtoYUV420 ( )
inline
Here is the caller graph for this function:

◆ convertBGRtoBGRA()

bool CCNPPI::Detail::convertBGRtoBGRA ( )
inline
Here is the caller graph for this function:

◆ convertBGRtoMONO()

bool CCNPPI::Detail::convertBGRtoMONO ( )
inline
Here is the caller graph for this function:

◆ convertBGRtoRGB()

bool CCNPPI::Detail::convertBGRtoRGB ( )
inline
Here is the caller graph for this function:

◆ convertBGRtoRGBA()

bool CCNPPI::Detail::convertBGRtoRGBA ( )
inline
Here is the caller graph for this function:

◆ convertBGRtoYUV420()

bool CCNPPI::Detail::convertBGRtoYUV420 ( )
inline
Here is the caller graph for this function:

◆ convertMONOtoBGR()

bool CCNPPI::Detail::convertMONOtoBGR ( )
inline
Here is the caller graph for this function:

◆ convertMONOtoBGRA()

bool CCNPPI::Detail::convertMONOtoBGRA ( )
inline
Here is the caller graph for this function:

◆ convertMONOtoRGB()

bool CCNPPI::Detail::convertMONOtoRGB ( )
inline
Here is the caller graph for this function:

◆ convertMONOtoRGBA()

bool CCNPPI::Detail::convertMONOtoRGBA ( )
inline
Here is the caller graph for this function:

◆ convertMONOtoYUV420()

bool CCNPPI::Detail::convertMONOtoYUV420 ( )
inline
Here is the caller graph for this function:

◆ convertNV12toBGR()

bool CCNPPI::Detail::convertNV12toBGR ( )
inline
Here is the caller graph for this function:

◆ convertNV12toMONO()

bool CCNPPI::Detail::convertNV12toMONO ( )
inline
Here is the caller graph for this function:

◆ convertNV12toRGB()

bool CCNPPI::Detail::convertNV12toRGB ( bool intermediate)
inline
Here is the caller graph for this function:

◆ convertNV12toYUV420()

bool CCNPPI::Detail::convertNV12toYUV420 ( )
inline
Here is the caller graph for this function:

◆ convertRGBAtoBGR()

bool CCNPPI::Detail::convertRGBAtoBGR ( )
inline
Here is the caller graph for this function:

◆ convertRGBAtoBGRA()

bool CCNPPI::Detail::convertRGBAtoBGRA ( )
inline
Here is the caller graph for this function:

◆ convertRGBAtoMONO()

bool CCNPPI::Detail::convertRGBAtoMONO ( )
inline
Here is the caller graph for this function:

◆ convertRGBAtoRGB()

bool CCNPPI::Detail::convertRGBAtoRGB ( )
inline
Here is the caller graph for this function:

◆ convertRGBAtoYUV420()

bool CCNPPI::Detail::convertRGBAtoYUV420 ( )
inline
Here is the caller graph for this function:

◆ convertRGBtoBGR()

bool CCNPPI::Detail::convertRGBtoBGR ( )
inline
Here is the caller graph for this function:

◆ convertRGBtoBGRA()

bool CCNPPI::Detail::convertRGBtoBGRA ( bool intermediate)
inline
Here is the caller graph for this function:

◆ convertRGBtoMONO()

bool CCNPPI::Detail::convertRGBtoMONO ( )
inline
Here is the caller graph for this function:

◆ convertRGBtoRGBA()

bool CCNPPI::Detail::convertRGBtoRGBA ( bool intermediate)
inline
Here is the caller graph for this function:

◆ convertRGBtoYUV420()

bool CCNPPI::Detail::convertRGBtoYUV420 ( )
inline
Here is the caller graph for this function:

◆ convertYUV411_ItoYUV444()

bool CCNPPI::Detail::convertYUV411_ItoYUV444 ( )
inline
Here is the caller graph for this function:

◆ convertYUV420toBGR()

bool CCNPPI::Detail::convertYUV420toBGR ( )
inline
Here is the caller graph for this function:

◆ convertYUV420toBGRA()

bool CCNPPI::Detail::convertYUV420toBGRA ( )
inline
Here is the caller graph for this function:

◆ convertYUV420toMONO()

bool CCNPPI::Detail::convertYUV420toMONO ( )
inline
Here is the caller graph for this function:

◆ convertYUV420toRGB()

bool CCNPPI::Detail::convertYUV420toRGB ( )
inline
Here is the caller graph for this function:

◆ convertYUV420toRGBA()

bool CCNPPI::Detail::convertYUV420toRGBA ( )
inline
Here is the caller graph for this function:

◆ execute()

bool CCNPPI::Detail::execute ( frame_sp buffer,
frame_sp outBuffer,
frame_sp intermediateBuffer )
inline
Here is the call graph for this function:

◆ setConvMatrix()

void CCNPPI::Detail::setConvMatrix ( )
inline

◆ setMetadata()

bool CCNPPI::Detail::setMetadata ( framemetadata_sp & input,
framemetadata_sp & output,
framemetadata_sp mIntermediate )
inline
Here is the call graph for this function:

Member Data Documentation

◆ conversionTable

const int CCNPPI::Detail::conversionTable[37][2]

◆ convmatrix

int CCNPPI::Detail::convmatrix[BAYERRG8+1][BAYERRG8+1][2] = { {-1} }

◆ dst

Npp8u* CCNPPI::Detail::dst[4]
protected

◆ dstNextPtrOffset

size_t CCNPPI::Detail::dstNextPtrOffset[4]
protected

◆ dstPitch

int CCNPPI::Detail::dstPitch[4]
protected

◆ dstRect

NppiRect CCNPPI::Detail::dstRect[4]
protected

◆ dstSize

NppiSize CCNPPI::Detail::dstSize[4]
protected

◆ enumSize

const int CCNPPI::Detail::enumSize = BAYERRG8 + 1

◆ inputChannels

int CCNPPI::Detail::inputChannels
protected

◆ inputFrameType

FrameMetadata::FrameType CCNPPI::Detail::inputFrameType
protected

◆ inputImageType

ImageMetadata::ImageType CCNPPI::Detail::inputImageType
protected

◆ intermediateChannels

int CCNPPI::Detail::intermediateChannels = 0

◆ intermediateConv

bool CCNPPI::Detail::intermediateConv = false

◆ intermediatedst

Npp8u* CCNPPI::Detail::intermediatedst[4]
protected

◆ intermediateFrameType

FrameMetadata::FrameType CCNPPI::Detail::intermediateFrameType
protected

◆ intermediateImageType

ImageMetadata::ImageType CCNPPI::Detail::intermediateImageType
protected

◆ intermediateNextPtrOffset

size_t CCNPPI::Detail::intermediateNextPtrOffset[4]
protected

◆ intermediatePitch

int CCNPPI::Detail::intermediatePitch[4]
protected

◆ intermediateRect

NppiRect CCNPPI::Detail::intermediateRect[4]
protected

◆ intermediateSize

NppiSize CCNPPI::Detail::intermediateSize[4]
protected

◆ nppStreamCtx

NppStreamContext CCNPPI::Detail::nppStreamCtx
protected

◆ outputChannels

int CCNPPI::Detail::outputChannels
protected

◆ outputFrameType

FrameMetadata::FrameType CCNPPI::Detail::outputFrameType
protected

◆ outputImageType

ImageMetadata::ImageType CCNPPI::Detail::outputImageType
protected

◆ props

CCNPPIProps CCNPPI::Detail::props
protected

◆ src

const Npp8u* CCNPPI::Detail::src[4]
protected

◆ srcNextPtrOffset

size_t CCNPPI::Detail::srcNextPtrOffset[4]
protected

◆ srcPitch

int CCNPPI::Detail::srcPitch[4]
protected

◆ srcRect

NppiRect CCNPPI::Detail::srcRect[4]
protected

◆ srcRowSize

size_t CCNPPI::Detail::srcRowSize[4]
protected

◆ srcSize

NppiSize CCNPPI::Detail::srcSize[4]

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