Classes | Defines | Typedefs | Functions
gsub_lite.c File Reference
#include <AR/gsub_lite.h>
#include <stdio.h>
#include <string.h>
#include <GL/glu.h>
Include dependency graph for lib/SRC/Gl/gsub_lite.c:

Go to the source code of this file.

Classes

struct  _ARGL_CONTEXT_SETTINGS

Defines

#define GL_ABGR_EXT   0x8000
#define GL_BGR   0x80E0
#define GL_BGRA   0x80E1
#define GL_CLAMP_TO_EDGE   0x812F
#define GL_MAX_RECTANGLE_TEXTURE_SIZE   0x84F8
#define GL_PROXY_TEXTURE_RECTANGLE   0x84F7
#define GL_TEXTURE_RECTANGLE   0x84F5
#define GL_UNSIGNED_INT_8_8_8_8   0x8035
#define GL_UNSIGNED_INT_8_8_8_8_REV   0x8367
#define GL_UNSIGNED_SHORT_8_8_APPLE   0x85BA
#define GL_UNSIGNED_SHORT_8_8_MESA   0x85BA
#define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB
#define GL_UNSIGNED_SHORT_8_8_REV_MESA   0x85BB
#define GL_YCBCR_422_APPLE   0x85B9
#define GL_YCBCR_MESA   0x8757

Typedefs

typedef struct
_ARGL_CONTEXT_SETTINGS 
ARGL_CONTEXT_SETTINGS

Functions

void arglCameraFrustum (const ARParam *cparam, const double focalmin, const double focalmax, GLdouble m_projection[16])
void arglCameraFrustumRH (const ARParam *cparam, const double focalmin, const double focalmax, GLdouble m_projection[16])
void arglCameraView (const double para[3][4], GLdouble m_modelview[16], const double scale)
void arglCameraViewRH (const double para[3][4], GLdouble m_modelview[16], const double scale)
void arglCleanup (ARGL_CONTEXT_SETTINGS_REF contextSettings)
static int arglCleanupTexPow2 (ARGL_CONTEXT_SETTINGS_REF contextSettings)
static int arglCleanupTexRectangle (ARGL_CONTEXT_SETTINGS_REF contextSettings)
void arglDispImage (ARUint8 *image, const ARParam *cparam, const double zoom, ARGL_CONTEXT_SETTINGS_REF contextSettings)
void arglDispImageStateful (ARUint8 *image, const ARParam *cparam, const double zoom, ARGL_CONTEXT_SETTINGS_REF contextSettings)
static void arglDispImageTexPow2 (ARUint8 *image, const ARParam *cparam, const float zoom, ARGL_CONTEXT_SETTINGS_REF contextSettings, const int texmapScaleFactor)
static int arglDispImageTexPow2CapabilitiesCheck (const ARParam *cparam, ARGL_CONTEXT_SETTINGS_REF contextSettings)
static void arglDispImageTexRectangle (ARUint8 *image, const ARParam *cparam, const float zoom, ARGL_CONTEXT_SETTINGS_REF contextSettings, const int texmapScaleFactor)
static int arglDispImageTexRectangleCapabilitiesCheck (const ARParam *cparam, ARGL_CONTEXT_SETTINGS_REF contextSettings)
int arglDistortionCompensationGet (ARGL_CONTEXT_SETTINGS_REF contextSettings, int *enable)
int arglDistortionCompensationSet (ARGL_CONTEXT_SETTINGS_REF contextSettings, int enable)
int arglDrawModeGet (ARGL_CONTEXT_SETTINGS_REF contextSettings)
void arglDrawModeSet (ARGL_CONTEXT_SETTINGS_REF contextSettings, const int mode)
static int arglGLCapabilityCheck (const unsigned short minVersion, const unsigned char *extension)
GLboolean arglGluCheckExtension (const GLubyte *extName, const GLubyte *extString)
int arglPixelFormatGet (ARGL_CONTEXT_SETTINGS_REF contextSettings, AR_PIXEL_FORMAT *format, int *size)
int arglPixelFormatSet (ARGL_CONTEXT_SETTINGS_REF contextSettings, AR_PIXEL_FORMAT format)
ARGL_CONTEXT_SETTINGS_REF arglSetupForCurrentContext (void)
int arglTexmapModeGet (ARGL_CONTEXT_SETTINGS_REF contextSettings)
void arglTexmapModeSet (ARGL_CONTEXT_SETTINGS_REF contextSettings, const int mode)
int arglTexRectangleGet (ARGL_CONTEXT_SETTINGS_REF contextSettings)
void arglTexRectangleSet (ARGL_CONTEXT_SETTINGS_REF contextSettings, const int state)

Define Documentation

#define GL_ABGR_EXT   0x8000

Definition at line 99 of file lib/SRC/Gl/gsub_lite.c.

#define GL_BGR   0x80E0

Definition at line 78 of file lib/SRC/Gl/gsub_lite.c.

#define GL_BGRA   0x80E1

Definition at line 79 of file lib/SRC/Gl/gsub_lite.c.

#define GL_CLAMP_TO_EDGE   0x812F

Definition at line 88 of file lib/SRC/Gl/gsub_lite.c.

#define GL_MAX_RECTANGLE_TEXTURE_SIZE   0x84F8

Definition at line 112 of file lib/SRC/Gl/gsub_lite.c.

#define GL_PROXY_TEXTURE_RECTANGLE   0x84F7

Definition at line 111 of file lib/SRC/Gl/gsub_lite.c.

#define GL_TEXTURE_RECTANGLE   0x84F5

Definition at line 110 of file lib/SRC/Gl/gsub_lite.c.

#define GL_UNSIGNED_INT_8_8_8_8   0x8035

Definition at line 82 of file lib/SRC/Gl/gsub_lite.c.

#define GL_UNSIGNED_INT_8_8_8_8_REV   0x8367

Definition at line 83 of file lib/SRC/Gl/gsub_lite.c.

#define GL_UNSIGNED_SHORT_8_8_APPLE   0x85BA

Definition at line 95 of file lib/SRC/Gl/gsub_lite.c.

#define GL_UNSIGNED_SHORT_8_8_MESA   0x85BA

Definition at line 116 of file lib/SRC/Gl/gsub_lite.c.

#define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB

Definition at line 96 of file lib/SRC/Gl/gsub_lite.c.

#define GL_UNSIGNED_SHORT_8_8_REV_MESA   0x85BB

Definition at line 117 of file lib/SRC/Gl/gsub_lite.c.

#define GL_YCBCR_422_APPLE   0x85B9

Definition at line 94 of file lib/SRC/Gl/gsub_lite.c.

#define GL_YCBCR_MESA   0x8757

Definition at line 115 of file lib/SRC/Gl/gsub_lite.c.


Typedef Documentation

Definition at line 148 of file lib/SRC/Gl/gsub_lite.c.


Function Documentation

void arglCameraFrustum ( const ARParam cparam,
const double  focalmin,
const double  focalmax,
GLdouble  m_projection[16] 
)

Definition at line 648 of file lib/SRC/Gl/gsub_lite.c.

void arglCameraFrustumRH ( const ARParam cparam,
const double  focalmin,
const double  focalmax,
GLdouble  m_projection[16] 
)

Definition at line 707 of file lib/SRC/Gl/gsub_lite.c.

void arglCameraView ( const double  para[3][4],
GLdouble  m_modelview[16],
const double  scale 
)

Definition at line 766 of file lib/SRC/Gl/gsub_lite.c.

void arglCameraViewRH ( const double  para[3][4],
GLdouble  m_modelview[16],
const double  scale 
)

Definition at line 791 of file lib/SRC/Gl/gsub_lite.c.

void arglCleanup ( ARGL_CONTEXT_SETTINGS_REF  contextSettings)

Definition at line 638 of file lib/SRC/Gl/gsub_lite.c.

static int arglCleanupTexPow2 ( ARGL_CONTEXT_SETTINGS_REF  contextSettings) [static]

Definition at line 284 of file lib/SRC/Gl/gsub_lite.c.

static int arglCleanupTexRectangle ( ARGL_CONTEXT_SETTINGS_REF  contextSettings) [static]

Definition at line 469 of file lib/SRC/Gl/gsub_lite.c.

void arglDispImage ( ARUint8 image,
const ARParam cparam,
const double  zoom,
ARGL_CONTEXT_SETTINGS_REF  contextSettings 
)

Definition at line 816 of file lib/SRC/Gl/gsub_lite.c.

void arglDispImageStateful ( ARUint8 image,
const ARParam cparam,
const double  zoom,
ARGL_CONTEXT_SETTINGS_REF  contextSettings 
)

Definition at line 877 of file lib/SRC/Gl/gsub_lite.c.

static void arglDispImageTexPow2 ( ARUint8 image,
const ARParam cparam,
const float  zoom,
ARGL_CONTEXT_SETTINGS_REF  contextSettings,
const int  texmapScaleFactor 
) [static]

Definition at line 298 of file lib/SRC/Gl/gsub_lite.c.

static int arglDispImageTexPow2CapabilitiesCheck ( const ARParam cparam,
ARGL_CONTEXT_SETTINGS_REF  contextSettings 
) [static]

Definition at line 242 of file lib/SRC/Gl/gsub_lite.c.

static void arglDispImageTexRectangle ( ARUint8 image,
const ARParam cparam,
const float  zoom,
ARGL_CONTEXT_SETTINGS_REF  contextSettings,
const int  texmapScaleFactor 
) [static]

Definition at line 483 of file lib/SRC/Gl/gsub_lite.c.

static int arglDispImageTexRectangleCapabilitiesCheck ( const ARParam cparam,
ARGL_CONTEXT_SETTINGS_REF  contextSettings 
) [static]

Definition at line 444 of file lib/SRC/Gl/gsub_lite.c.

int arglDistortionCompensationGet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings,
int *  enable 
)

Definition at line 918 of file lib/SRC/Gl/gsub_lite.c.

int arglDistortionCompensationSet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings,
int  enable 
)

Definition at line 910 of file lib/SRC/Gl/gsub_lite.c.

int arglDrawModeGet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings)

Definition at line 1103 of file lib/SRC/Gl/gsub_lite.c.

void arglDrawModeSet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings,
const int  mode 
)

Definition at line 1097 of file lib/SRC/Gl/gsub_lite.c.

static int arglGLCapabilityCheck ( const unsigned short  minVersion,
const unsigned char *  extension 
) [static]

Definition at line 213 of file lib/SRC/Gl/gsub_lite.c.

GLboolean arglGluCheckExtension ( const GLubyte *  extName,
const GLubyte *  extString 
)

Definition at line 178 of file lib/SRC/Gl/gsub_lite.c.

int arglPixelFormatGet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings,
AR_PIXEL_FORMAT format,
int *  size 
)

Definition at line 1044 of file lib/SRC/Gl/gsub_lite.c.

int arglPixelFormatSet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings,
AR_PIXEL_FORMAT  format 
)

Definition at line 925 of file lib/SRC/Gl/gsub_lite.c.

ARGL_CONTEXT_SETTINGS_REF arglSetupForCurrentContext ( void  )

Definition at line 621 of file lib/SRC/Gl/gsub_lite.c.

int arglTexmapModeGet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings)

Definition at line 1115 of file lib/SRC/Gl/gsub_lite.c.

void arglTexmapModeSet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings,
const int  mode 
)

Definition at line 1109 of file lib/SRC/Gl/gsub_lite.c.

int arglTexRectangleGet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings)

Definition at line 1127 of file lib/SRC/Gl/gsub_lite.c.

void arglTexRectangleSet ( ARGL_CONTEXT_SETTINGS_REF  contextSettings,
const int  state 
)

Definition at line 1121 of file lib/SRC/Gl/gsub_lite.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ar_recog
Author(s): Graylin Trevor Jay and Christopher Crick
autogenerated on Fri Jan 25 2013 12:15:01