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 () const
 
unsigned int GetWidth () const
 
unsigned int GetHeight () const
 
unsigned long GetImageSize () const
 
const uint8_tGetImageBuffer () const
 
const char * GetFilename () const
 

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 ( ) const
inline

◆ GetHeight()

unsigned int COMXImageFile::GetHeight ( ) const
inline

◆ GetImageBuffer()

const uint8_t * COMXImageFile::GetImageBuffer ( ) const
inline

◆ GetImageSize()

unsigned long COMXImageFile::GetImageSize ( ) const
inline

◆ GetOrientation()

int COMXImageFile::GetOrientation ( ) const
inline

◆ GetWidth()

unsigned int COMXImageFile::GetWidth ( ) const
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: