#include <OMXImage.h>
|
| COMXImage () |
|
virtual | ~COMXImage () |
|
void | Initialize () |
|
void | Deinitialize () |
|
bool | SendMessage (bool(*callback)(EGLDisplay egl_display, EGLContext egl_context, void *cookie), void *cookie) |
|
bool | DecodeJpegToTexture (COMXImageFile *file, unsigned int width, unsigned int height, void **userdata) |
|
void | DestroyTexture (void *userdata) |
|
void | GetTexture (void *userdata, GLuint *texture) |
|
bool | AllocTextureInternal (EGLDisplay egl_display, EGLContext egl_context, struct textureinfo *tex) |
|
bool | DestroyTextureInternal (EGLDisplay egl_display, EGLContext egl_context, struct textureinfo *tex) |
|
| CThread (IRunnable *pRunnable, const char *ThreadName) |
|
virtual | ~CThread () |
|
void | Create (bool bAutoDelete=false, unsigned stacksize=0) |
|
void | Sleep (unsigned int milliseconds) |
|
int | GetSchedRRPriority (void) |
|
bool | SetPrioritySched_RR (int iPriority) |
|
bool | IsAutoDelete () const |
|
virtual void | StopThread (bool bWait=true) |
|
bool | IsRunning () const |
|
bool | IsCurrentThread () const |
|
int | GetMinPriority (void) |
|
int | GetMaxPriority (void) |
|
int | GetNormalPriority (void) |
|
int | GetPriority (void) |
|
bool | SetPriority (const int iPriority) |
|
bool | WaitForThreadExit (unsigned int milliseconds) |
|
float | GetRelativeUsage () |
|
int64_t | GetAbsoluteUsage () |
|
virtual void | OnException () |
|
|
static COMXImageFile * | LoadJpeg (const std::string &texturePath) |
|
static void | CloseJpeg (COMXImageFile *file) |
|
static bool | DecodeJpeg (COMXImageFile *file, unsigned int maxWidth, unsigned int maxHeight, unsigned int stride, void *pixels) |
|
static bool | CreateThumbnailFromSurface (unsigned char *buffer, unsigned int width, unsigned int height, unsigned int format, unsigned int pitch, const std::string &destFile) |
|
static bool | ClampLimits (unsigned int &width, unsigned int &height, unsigned int m_width, unsigned int m_height, bool transposed=false) |
|
static bool | CreateThumb (const std::string &srcFile, unsigned int width, unsigned int height, std::string &additional_info, const std::string &destFile) |
|
static bool | IsCurrentThread (const ThreadIdentifier tid) |
|
static ThreadIdentifier | GetCurrentThreadId () |
|
static ThreadIdentifier | GetDisplayThreadId (const ThreadIdentifier tid) |
|
static CThread * | GetCurrentThread () |
|
◆ COMXImage()
◆ ~COMXImage()
COMXImage::~COMXImage |
( |
| ) |
|
|
virtual |
◆ AllocTextureInternal()
bool COMXImage::AllocTextureInternal |
( |
EGLDisplay |
egl_display, |
|
|
EGLContext |
egl_context, |
|
|
struct textureinfo * |
tex |
|
) |
| |
◆ ClampLimits()
bool COMXImage::ClampLimits |
( |
unsigned int & |
width, |
|
|
unsigned int & |
height, |
|
|
unsigned int |
m_width, |
|
|
unsigned int |
m_height, |
|
|
bool |
transposed = false |
|
) |
| |
|
static |
◆ CloseJpeg()
◆ CreateThumb()
bool COMXImage::CreateThumb |
( |
const std::string & |
srcFile, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
std::string & |
additional_info, |
|
|
const std::string & |
destFile |
|
) |
| |
|
static |
◆ CreateThumbnailFromSurface()
bool COMXImage::CreateThumbnailFromSurface |
( |
unsigned char * |
buffer, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
unsigned int |
format, |
|
|
unsigned int |
pitch, |
|
|
const std::string & |
destFile |
|
) |
| |
|
static |
◆ DecodeJpeg()
bool COMXImage::DecodeJpeg |
( |
COMXImageFile * |
file, |
|
|
unsigned int |
maxWidth, |
|
|
unsigned int |
maxHeight, |
|
|
unsigned int |
stride, |
|
|
void * |
pixels |
|
) |
| |
|
static |
◆ DecodeJpegToTexture()
bool COMXImage::DecodeJpegToTexture |
( |
COMXImageFile * |
file, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
void ** |
userdata |
|
) |
| |
◆ Deinitialize()
void COMXImage::Deinitialize |
( |
| ) |
|
◆ DestroyTexture()
void COMXImage::DestroyTexture |
( |
void * |
userdata | ) |
|
◆ DestroyTextureInternal()
bool COMXImage::DestroyTextureInternal |
( |
EGLDisplay |
egl_display, |
|
|
EGLContext |
egl_context, |
|
|
struct textureinfo * |
tex |
|
) |
| |
◆ GetTexture()
void COMXImage::GetTexture |
( |
void * |
userdata, |
|
|
GLuint * |
texture |
|
) |
| |
◆ Initialize()
void COMXImage::Initialize |
( |
| ) |
|
◆ LoadJpeg()
COMXImageFile * COMXImage::LoadJpeg |
( |
const std::string & |
texturePath | ) |
|
|
static |
◆ OnExit()
void COMXImage::OnExit |
( |
| ) |
|
|
protectedvirtual |
◆ OnStartup()
void COMXImage::OnStartup |
( |
| ) |
|
|
protectedvirtual |
◆ Process()
◆ SendMessage()
bool COMXImage::SendMessage |
( |
bool(*)(EGLDisplay egl_display, EGLContext egl_context, void *cookie) |
callback, |
|
|
void * |
cookie |
|
) |
| |
The documentation for this class was generated from the following files: