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
gmc.h File Reference
#include "portab.h"
#include "global.h"
+ Include dependency graph for gmc.h:
+ This graph shows which files directly or indirectly include this file:

Macros

#define RDIV(a, b)   (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
 
#define RSHIFT(a, b)   ( (a)>0 ? ((a) + (1<<((b)-1)))>>(b) : ((a) + (1<<((b)-1))-1)>>(b))
 
#define MLT(i)   (((16-(i))<<16) + (i))
 

Functions

void generate_GMCparameters (int nb_pts, int accuracy, const WARPPOINTS *pts, int width, int height, NEW_GMC_DATA *gmc)
 

Variables

static const dword MTab [16]
 

Macro Definition Documentation

#define RDIV (   a,
 
)    (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
#define RSHIFT (   a,
 
)    ( (a)>0 ? ((a) + (1<<((b)-1)))>>(b) : ((a) + (1<<((b)-1))-1)>>(b))
#define MLT (   i)    (((16-(i))<<16) + (i))

Function Documentation

void generate_GMCparameters ( int  nb_pts,
int  accuracy,
const WARPPOINTS pts,
int  width,
int  height,
NEW_GMC_DATA gmc 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

const dword MTab[16]
static
Initial value:
= {
(((16-( 0 ))<<16) + ( 0 )), (((16-( 1 ))<<16) + ( 1 )), (((16-( 2 ))<<16) + ( 2 )), (((16-( 3 ))<<16) + ( 3 )), (((16-( 4 ))<<16) + ( 4 )), (((16-( 5 ))<<16) + ( 5 )), (((16-( 6 ))<<16) + ( 6 )), (((16-( 7 ))<<16) + ( 7 )),
(((16-( 8 ))<<16) + ( 8 )), (((16-( 9 ))<<16) + ( 9 )), (((16-( 10 ))<<16) + ( 10 )), (((16-( 11 ))<<16) + ( 11 )), (((16-( 12 ))<<16) + ( 12 )), (((16-( 13 ))<<16) + ( 13 )), (((16-( 14 ))<<16) + ( 14 )), (((16-( 15 ))<<16) + ( 15 ))
}