Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qmnghandler.cpp File Reference

(8a62fb36a8c456fb4e1229cca8bfca88f6e57890)

#include "qmnghandler_p.h"
#include "qimage.h"
#include "qvariant.h"
#include "qcolor.h"
#include <libmng.h>
+ Include dependency graph for qmnghandler.cpp:

Go to the source code of this file.

Classes

class  QMngHandlerPrivate
 

Macros

#define MNG_USE_SO
 

Functions

static mng_bool MNG_DECL myerror (mng_handle, mng_int32 iErrorcode, mng_int8, mng_chunkid iChunkname, mng_uint32, mng_int32 iExtra1, mng_int32 iExtra2, mng_pchar zErrortext)
 
static mng_ptr MNG_DECL myalloc (mng_size_t iSize)
 
static void MNG_DECL myfree (mng_ptr pPtr, mng_size_t)
 
static mng_bool MNG_DECL myopenstream (mng_handle)
 
static mng_bool MNG_DECL myclosestream (mng_handle hMNG)
 
static mng_bool MNG_DECL myreaddata (mng_handle hMNG, mng_ptr pBuf, mng_uint32 iSize, mng_uint32p pRead)
 
static mng_bool MNG_DECL mywritedata (mng_handle hMNG, mng_ptr pBuf, mng_uint32 iSize, mng_uint32p pWritten)
 
static mng_bool MNG_DECL myprocessheader (mng_handle hMNG, mng_uint32 iWidth, mng_uint32 iHeight)
 
static mng_ptr MNG_DECL mygetcanvasline (mng_handle hMNG, mng_uint32 iLinenr)
 
static mng_bool MNG_DECL myrefresh (mng_handle, mng_uint32, mng_uint32, mng_uint32, mng_uint32)
 
static mng_uint32 MNG_DECL mygettickcount (mng_handle hMNG)
 
static mng_bool MNG_DECL mysettimer (mng_handle hMNG, mng_uint32 iMsecs)
 
static mng_bool MNG_DECL myprocessterm (mng_handle hMNG, mng_uint8 iTermaction, mng_uint8, mng_uint32, mng_uint32 iItermax)
 
static mng_bool MNG_DECL mytrace (mng_handle, mng_int32 iFuncnr, mng_int32 iFuncseq, mng_pchar zFuncname)
 

Macro Definition Documentation

◆ MNG_USE_SO

#define MNG_USE_SO

Definition at line 10 of file qmnghandler.cpp.

Function Documentation

◆ myalloc()

static mng_ptr MNG_DECL myalloc ( mng_size_t iSize)
static

Definition at line 66 of file qmnghandler.cpp.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ myclosestream()

static mng_bool MNG_DECL myclosestream ( mng_handle hMNG)
static

Definition at line 81 of file qmnghandler.cpp.

References QMngHandlerPrivate::haveReadAll.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ myerror()

static mng_bool MNG_DECL myerror ( mng_handle ,
mng_int32 iErrorcode,
mng_int8 ,
mng_chunkid iChunkname,
mng_uint32 ,
mng_int32 iExtra1,
mng_int32 iExtra2,
mng_pchar zErrortext )
static

Definition at line 47 of file qmnghandler.cpp.

References qWarning.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ myfree()

static void MNG_DECL myfree ( mng_ptr pPtr,
mng_size_t  )
static

Definition at line 71 of file qmnghandler.cpp.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ mygetcanvasline()

static mng_ptr MNG_DECL mygetcanvasline ( mng_handle hMNG,
mng_uint32 iLinenr )
static

Definition at line 114 of file qmnghandler.cpp.

References QMngHandlerPrivate::image, and QImage::scanLine().

Referenced by QMngHandlerPrivate::QMngHandlerPrivate(), and QMngHandlerPrivate::writeImage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mygettickcount()

static mng_uint32 MNG_DECL mygettickcount ( mng_handle hMNG)
static

Definition at line 130 of file qmnghandler.cpp.

References QMngHandlerPrivate::elapsed.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ myopenstream()

static mng_bool MNG_DECL myopenstream ( mng_handle )
static

Definition at line 76 of file qmnghandler.cpp.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ myprocessheader()

static mng_bool MNG_DECL myprocessheader ( mng_handle hMNG,
mng_uint32 iWidth,
mng_uint32 iHeight )
static

Definition at line 106 of file qmnghandler.cpp.

References QMngHandlerPrivate::processHeader().

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ myprocessterm()

static mng_bool MNG_DECL myprocessterm ( mng_handle hMNG,
mng_uint8 iTermaction,
mng_uint8 ,
mng_uint32 ,
mng_uint32 iItermax )
static

Definition at line 145 of file qmnghandler.cpp.

References QMngHandlerPrivate::iterCount.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ myreaddata()

static mng_bool MNG_DECL myreaddata ( mng_handle hMNG,
mng_ptr pBuf,
mng_uint32 iSize,
mng_uint32p pRead )
static

Definition at line 88 of file qmnghandler.cpp.

References QMngHandlerPrivate::readData().

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ myrefresh()

static mng_bool MNG_DECL myrefresh ( mng_handle ,
mng_uint32 ,
mng_uint32 ,
mng_uint32 ,
mng_uint32  )
static

Definition at line 121 of file qmnghandler.cpp.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ mysettimer()

static mng_bool MNG_DECL mysettimer ( mng_handle hMNG,
mng_uint32 iMsecs )
static

Definition at line 136 of file qmnghandler.cpp.

References QMngHandlerPrivate::elapsed.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ mytrace()

static mng_bool MNG_DECL mytrace ( mng_handle ,
mng_int32 iFuncnr,
mng_int32 iFuncseq,
mng_pchar zFuncname )
static

Definition at line 157 of file qmnghandler.cpp.

References qDebug.

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the caller graph for this function:

◆ mywritedata()

static mng_bool MNG_DECL mywritedata ( mng_handle hMNG,
mng_ptr pBuf,
mng_uint32 iSize,
mng_uint32p pWritten )
static

Definition at line 97 of file qmnghandler.cpp.

References QMngHandlerPrivate::writeData().

Referenced by QMngHandlerPrivate::QMngHandlerPrivate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: