3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
pbio::InternalImageBuffer Class Reference

Interface object that stores image data. Always create new InternalImageBuffer for every image or video frame. Never change image data of InternalImageBuffer after first use. More...

#include <InternalImageBuffer.h>

Public Types

typedef LightSmartPtr
< InternalImageBuffer >::tPtr 
Ptr
 Alias for the type of a smart pointer to InternalImageBuffer.
 
typedef pbio::IRawImage::Format Format
 Format of image data.
 

Public Attributes

unsigned char *const data
 Pointer to the image data buffer. All pixels must be stored continuously, row by row, without gaps at the end of each row.
 
const size_t data_buffer_size
 Size of the data buffer.
 
const int width
 Image width.
 
const int height
 Image height.
 
const Format format
 Format of image data.
 

Detailed Description

Interface object that stores image data. Always create new InternalImageBuffer for every image or video frame. Never change image data of InternalImageBuffer after first use.