GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
global.h File Reference
#include "xvid.h"
#include "portab.h"
+ Include dependency graph for global.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  VECTOR
 
struct  WARPPOINTS
 
struct  GMC_DATA
 
struct  NEW_GMC_DATA
 
struct  IMAGE
 
struct  Bitstream
 
struct  MACROBLOCK
 

Macros

#define assert(exp)
 
#define MODE_INTER   0
 
#define MODE_INTER_Q   1
 
#define MODE_INTER4V   2
 
#define MODE_INTRA   3
 
#define MODE_INTRA_Q   4
 
#define MODE_NOT_CODED   16
 
#define MODE_NOT_CODED_GMC   17
 
#define MODE_DIRECT   0
 
#define MODE_INTERPOLATE   1
 
#define MODE_BACKWARD   2
 
#define MODE_FORWARD   3
 
#define MODE_DIRECT_NONE_MV   4
 
#define MODE_DIRECT_NO4V   5
 
#define I_VOP   0
 
#define P_VOP   1
 
#define B_VOP   2
 
#define S_VOP   3
 
#define N_VOP   4
 
#define MBPRED_SIZE   15
 
#define MIN(X, Y)   ((X)<(Y)?(X):(Y))
 
#define MAX(X, Y)   ((X)>(Y)?(X):(Y))
 
#define ABS(X)   (((X)>0)?(X):-(X))
 
#define SIGN(X)   (((X)>0)?1:-1)
 
#define CLIP(X, AMIN, AMAX)   (((X)<(AMIN)) ? (AMIN) : ((X)>(AMAX)) ? (AMAX) : (X))
 

Enumerations

enum  TLeave { ELeave }
 

Functions

void MemSet (void *dst, byte c, dword len)
 
int MemCmp (const void *mem1, const void *mem2, dword len)
 
void MemCpy (void *dst, const void *src, dword len)
 
template<class T >
void Swap (T &l, T &r)
 
void * operator new (size_t sz, TLeave)
 
void operator delete (void *vp, TLeave)
 
void Fatal (const char *msg, dword code=0)
 
int coding2type (int coding_type)
 
int type2coding (int xvid_type)
 
dword log2bin (dword value)
 

Data Structure Documentation

struct VECTOR
+ Collaboration diagram for VECTOR:
Data Fields
int x
int y
struct WARPPOINTS
+ Collaboration diagram for WARPPOINTS:
Data Fields
VECTOR duv[3]
struct MACROBLOCK
+ Collaboration diagram for MACROBLOCK:
Data Fields
VECTOR mvs[4]
int pred_values[6][15]
int acpred_directions[6]
int mode
int quant
int field_dct
int field_pred
int field_for_top
int field_for_bot
VECTOR mv16
VECTOR pmvs[4]
VECTOR qmvs[4]
int sad8[4]
int sad16
int dquant
int cbp
VECTOR b_mvs[4]
VECTOR b_qmvs[4]
int mb_type
VECTOR amv
int mcsel

Macro Definition Documentation

#define assert (   exp)
Value:
if(!(exp)){\
Fatal(#exp, __LINE__); }
void Fatal(const char *msg, dword code=0)
Definition: mem_transfer.cpp:264
#define MODE_INTER   0
#define MODE_INTER_Q   1
#define MODE_INTER4V   2
#define MODE_INTRA   3
#define MODE_INTRA_Q   4
#define MODE_NOT_CODED   16
#define MODE_NOT_CODED_GMC   17
#define MODE_DIRECT   0
#define MODE_INTERPOLATE   1
#define MODE_BACKWARD   2
#define MODE_FORWARD   3
#define MODE_DIRECT_NONE_MV   4
#define MODE_DIRECT_NO4V   5
#define I_VOP   0
#define P_VOP   1
#define B_VOP   2
#define S_VOP   3
#define N_VOP   4
#define MBPRED_SIZE   15
#define MIN (   X,
 
)    ((X)<(Y)?(X):(Y))
#define MAX (   X,
 
)    ((X)>(Y)?(X):(Y))
#define ABS (   X)    (((X)>0)?(X):-(X))
#define SIGN (   X)    (((X)>0)?1:-1)
#define CLIP (   X,
  AMIN,
  AMAX 
)    (((X)<(AMIN)) ? (AMIN) : ((X)>(AMAX)) ? (AMAX) : (X))

Enumeration Type Documentation

enum TLeave
Enumerator
ELeave 

Function Documentation

void MemSet ( void *  dst,
byte  c,
dword  len 
)

+ Here is the caller graph for this function:

int MemCmp ( const void *  mem1,
const void *  mem2,
dword  len 
)

+ Here is the caller graph for this function:

void MemCpy ( void *  dst,
const void *  src,
dword  len 
)

+ Here is the caller graph for this function:

template<class T >
void Swap ( T &  l,
T &  r 
)

+ Here is the caller graph for this function:

void* operator new ( size_t  sz,
TLeave   
)

+ Here is the call graph for this function:

void operator delete ( void *  vp,
TLeave   
)
void Fatal ( const char *  msg,
dword  code = 0 
)

+ Here is the caller graph for this function:

int coding2type ( int  coding_type)
int type2coding ( int  xvid_type)
dword log2bin ( dword  value)

+ Here is the caller graph for this function: