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

#include <RawImagePlanarMetadata.h>

Inheritance diagram for RawImagePlanarMetadata:
Inheritance graph
Collaboration diagram for RawImagePlanarMetadata:
Collaboration graph

Public Member Functions

 RawImagePlanarMetadata (MemType _memType)
 
 RawImagePlanarMetadata (int _width, int _height, ImageMetadata::ImageType _imageType, size_t alignLength, int _depth, MemType _memType=MemType::HOST)
 
 RawImagePlanarMetadata (int _width, int _height, ImageMetadata::ImageType _imageType, size_t _step[4], int _depth, MemType _memType=MemType::HOST)
 
 RawImagePlanarMetadata (int _width, int _height, ImageMetadata::ImageType _imageType, int _depth, size_t _step[4], size_t _nextPtrOffset[4], MemType _memType=MemType::HOST)
 
void reset ()
 
void setData (RawImagePlanarMetadata &metadata)
 
bool isSet ()
 
int getWidth (int channelId)
 
int getHeight (int channelId)
 
size_t getRowSize (int channelId)
 
size_t getStep (int channelId)
 
size_t getNextPtrOffset (int channelId)
 
size_t getOffset (int channelId, int offsetX, int offsetY)
 
size_t getDataSizeByChannel (int channelId)
 
int getDepth ()
 
int getChannels ()
 
ImageMetadata::ImageType getImageType ()
 

Protected Member Functions

void setDataSize ()
 
void initData (int _width, int _height, ImageMetadata::ImageType _imageType, size_t _step[4], int _depth, size_t _nextPtrOffset[4])
 

Protected Attributes

int width [4] = {NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM}
 
int height [4] = {NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM}
 
int channels = NOT_SET_NUM
 
size_t step [4] = {NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM}
 
size_t nextPtrOffset [4] = { NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM }
 
int depth = NOT_SET_NUM
 
ImageMetadata::ImageType imageType
 
int maxChannels = 4
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ RawImagePlanarMetadata() [1/4]

RawImagePlanarMetadata::RawImagePlanarMetadata ( MemType _memType)
inline

◆ RawImagePlanarMetadata() [2/4]

RawImagePlanarMetadata::RawImagePlanarMetadata ( int _width,
int _height,
ImageMetadata::ImageType _imageType,
size_t alignLength,
int _depth,
MemType _memType = MemType::HOST )
inline
Here is the call graph for this function:

◆ RawImagePlanarMetadata() [3/4]

RawImagePlanarMetadata::RawImagePlanarMetadata ( int _width,
int _height,
ImageMetadata::ImageType _imageType,
size_t _step[4],
int _depth,
MemType _memType = MemType::HOST )
inline
Here is the call graph for this function:

◆ RawImagePlanarMetadata() [4/4]

RawImagePlanarMetadata::RawImagePlanarMetadata ( int _width,
int _height,
ImageMetadata::ImageType _imageType,
int _depth,
size_t _step[4],
size_t _nextPtrOffset[4],
MemType _memType = MemType::HOST )
inline
Here is the call graph for this function:

Member Function Documentation

◆ getChannels()

int RawImagePlanarMetadata::getChannels ( )
inline

◆ getDataSizeByChannel()

size_t RawImagePlanarMetadata::getDataSizeByChannel ( int channelId)
inline
Here is the call graph for this function:

◆ getDepth()

int RawImagePlanarMetadata::getDepth ( )
inline

◆ getHeight()

int RawImagePlanarMetadata::getHeight ( int channelId)
inline

◆ getImageType()

ImageMetadata::ImageType RawImagePlanarMetadata::getImageType ( )
inline

◆ getNextPtrOffset()

size_t RawImagePlanarMetadata::getNextPtrOffset ( int channelId)
inline

◆ getOffset()

size_t RawImagePlanarMetadata::getOffset ( int channelId,
int offsetX,
int offsetY )
inline
Here is the call graph for this function:

◆ getRowSize()

size_t RawImagePlanarMetadata::getRowSize ( int channelId)
inline
Here is the call graph for this function:

◆ getStep()

size_t RawImagePlanarMetadata::getStep ( int channelId)
inline

◆ getWidth()

int RawImagePlanarMetadata::getWidth ( int channelId)
inline
Here is the caller graph for this function:

◆ initData()

void RawImagePlanarMetadata::initData ( int _width,
int _height,
ImageMetadata::ImageType _imageType,
size_t _step[4],
int _depth,
size_t _nextPtrOffset[4] )
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isSet()

bool RawImagePlanarMetadata::isSet ( )
inlinevirtual

Reimplemented from FrameMetadata.

◆ reset()

void RawImagePlanarMetadata::reset ( )
inlinevirtual

Reimplemented from FrameMetadata.

Here is the call graph for this function:

◆ setData()

void RawImagePlanarMetadata::setData ( RawImagePlanarMetadata & metadata)
inline
Here is the call graph for this function:

◆ setDataSize()

void RawImagePlanarMetadata::setDataSize ( )
inlineprotected
Here is the caller graph for this function:

Member Data Documentation

◆ channels

int RawImagePlanarMetadata::channels = NOT_SET_NUM
protected

◆ depth

int RawImagePlanarMetadata::depth = NOT_SET_NUM
protected

◆ height

int RawImagePlanarMetadata::height[4] = {NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM}
protected

◆ imageType

ImageMetadata::ImageType RawImagePlanarMetadata::imageType
protected

◆ maxChannels

int RawImagePlanarMetadata::maxChannels = 4
protected

◆ nextPtrOffset

size_t RawImagePlanarMetadata::nextPtrOffset[4] = { NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM }
protected

◆ step

size_t RawImagePlanarMetadata::step[4] = {NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM}
protected

◆ width

int RawImagePlanarMetadata::width[4] = {NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM, NOT_SET_NUM}
protected

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