Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
COMXImageFile Class Reference

#include <OMXImage.h>

Public Member Functions

 COMXImageFile ()
 
virtual ~COMXImageFile ()
 
bool ReadFile (const std::string &inputFile, int orientation=0)
 
int GetOrientation ()
 
unsigned int GetWidth ()
 
unsigned int GetHeight ()
 
unsigned long GetImageSize ()
 
const uint8_tGetImageBuffer ()
 
const char * GetFilename ()
 

Protected Member Functions

OMX_IMAGE_CODINGTYPE GetCodingType (unsigned int &width, unsigned int &height, int orientation)
 

Protected Attributes

uint8_tm_image_buffer
 
unsigned long m_image_size
 
unsigned int m_width
 
unsigned int m_height
 
int m_orientation
 
std::string m_filename
 

Constructor & Destructor Documentation

§ COMXImageFile()

COMXImageFile::COMXImageFile ( )

§ ~COMXImageFile()

COMXImageFile::~COMXImageFile ( )
virtual

Member Function Documentation

§ GetCodingType()

OMX_IMAGE_CODINGTYPE COMXImageFile::GetCodingType ( unsigned int &  width,
unsigned int &  height,
int  orientation 
)
protected

§ GetFilename()

const char* COMXImageFile::GetFilename ( )
inline

§ GetHeight()

unsigned int COMXImageFile::GetHeight ( )
inline

§ GetImageBuffer()

const uint8_t* COMXImageFile::GetImageBuffer ( )
inline

§ GetImageSize()

unsigned long COMXImageFile::GetImageSize ( )
inline

§ GetOrientation()

int COMXImageFile::GetOrientation ( )
inline

§ GetWidth()

unsigned int COMXImageFile::GetWidth ( )
inline

§ ReadFile()

bool COMXImageFile::ReadFile ( const std::string &  inputFile,
int  orientation = 0 
)

Member Data Documentation

§ m_filename

std::string COMXImageFile::m_filename
protected

§ m_height

unsigned int COMXImageFile::m_height
protected

§ m_image_buffer

uint8_t* COMXImageFile::m_image_buffer
protected

§ m_image_size

unsigned long COMXImageFile::m_image_size
protected

§ m_orientation

int COMXImageFile::m_orientation
protected

§ m_width

unsigned int COMXImageFile::m_width
protected

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