YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ImageStorage Class Reference

Public Member Functions

 ImageStorage (Image &owner)
 
 ~ImageStorage ()
 
void resize (size_t x, size_t y, int pixel_type, size_t quantum, bool topIsLow)
 
void _alloc_complete_extern (const void *buf, size_t x, size_t y, int pixel_type, size_t quantum, bool topIsLow)
 

Public Attributes

MiniIplImagepImage
 
char ** Data
 
int extern_type_id
 
size_t extern_type_quantum
 
size_t quantum
 
bool topIsLow
 
int type_id
 

Protected Member Functions

void _alloc ()
 
void _alloc_extern (const void *buf)
 
void _alloc_data ()
 
void _free ()
 
bool _set_ipl_header (size_t x, size_t y, int pixel_type, size_t quantum, bool topIsLow)
 
void _alloc_complete (size_t x, size_t y, int pixel_type, size_t quantum, bool topIsLow)
 
void _free_complete ()
 
int _pad_bytes (size_t linesize, size_t align) const
 
int GetPadding () const
 

Protected Attributes

Imageowner
 
int is_owner
 

Detailed Description

Definition at line 65 of file Image.cpp.

Constructor & Destructor Documentation

◆ ImageStorage()

ImageStorage::ImageStorage ( Image owner)
inline

Definition at line 107 of file Image.cpp.

◆ ~ImageStorage()

ImageStorage::~ImageStorage ( )
inline

Definition at line 118 of file Image.cpp.

Member Function Documentation

◆ _alloc()

void ImageStorage::_alloc ( )
protected

Definition at line 145 of file Image.cpp.

◆ _alloc_complete()

void ImageStorage::_alloc_complete ( size_t  x,
size_t  y,
int  pixel_type,
size_t  quantum,
bool  topIsLow 
)
protected

Definition at line 229 of file Image.cpp.

◆ _alloc_complete_extern()

void ImageStorage::_alloc_complete_extern ( const void buf,
size_t  x,
size_t  y,
int  pixel_type,
size_t  quantum,
bool  topIsLow 
)

Definition at line 307 of file Image.cpp.

◆ _alloc_data()

void ImageStorage::_alloc_data ( )
protected

Definition at line 168 of file Image.cpp.

◆ _alloc_extern()

void ImageStorage::_alloc_extern ( const void buf)
protected

Definition at line 153 of file Image.cpp.

◆ _free()

void ImageStorage::_free ( )
protected

Definition at line 199 of file Image.cpp.

◆ _free_complete()

void ImageStorage::_free_complete ( )
protected

Definition at line 218 of file Image.cpp.

◆ _pad_bytes()

int ImageStorage::_pad_bytes ( size_t  linesize,
size_t  align 
) const
protected

Definition at line 325 of file Image.cpp.

◆ _set_ipl_header()

bool ImageStorage::_set_ipl_header ( size_t  x,
size_t  y,
int  pixel_type,
size_t  quantum,
bool  topIsLow 
)
protected

Definition at line 274 of file Image.cpp.

◆ GetPadding()

int ImageStorage::GetPadding ( ) const
inlineprotected

Definition at line 101 of file Image.cpp.

◆ resize()

void ImageStorage::resize ( size_t  x,
size_t  y,
int  pixel_type,
size_t  quantum,
bool  topIsLow 
)

Definition at line 127 of file Image.cpp.

Member Data Documentation

◆ Data

char** ImageStorage::Data

Definition at line 68 of file Image.cpp.

◆ extern_type_id

int ImageStorage::extern_type_id

Definition at line 69 of file Image.cpp.

◆ extern_type_quantum

size_t ImageStorage::extern_type_quantum

Definition at line 70 of file Image.cpp.

◆ is_owner

int ImageStorage::is_owner
protected

Definition at line 78 of file Image.cpp.

◆ owner

Image& ImageStorage::owner
protected

Definition at line 76 of file Image.cpp.

◆ pImage

MiniIplImage* ImageStorage::pImage

Definition at line 67 of file Image.cpp.

◆ quantum

size_t ImageStorage::quantum

Definition at line 71 of file Image.cpp.

◆ topIsLow

bool ImageStorage::topIsLow

Definition at line 72 of file Image.cpp.

◆ type_id

int ImageStorage::type_id

Definition at line 73 of file Image.cpp.


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