Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

gig.cpp File Reference

#include "gig.h"
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  gig

Defines

#define GET_PARAMS(params)
#define SKIP_ONE(x)
#define COPY_ONE(x)

Functions

static void gig::__notify_progress (progress_t *pProgress, float subprogress)
static void gig::__divide_progress (progress_t *pParentProgress, progress_t *pSubProgress, float totalTasks, float currentTask)
int gig::get12lo (const unsigned char *pSrc)
int gig::get12hi (const unsigned char *pSrc)
int16_t gig::get16 (const unsigned char *pSrc)
int gig::get24 (const unsigned char *pSrc)
void gig::Decompress16 (int compressionmode, const unsigned char *params, int srcStep, int dstStep, const unsigned char *pSrc, int16_t *pDst, unsigned long currentframeoffset, unsigned long copysamples)
void gig::Decompress24 (int compressionmode, const unsigned char *params, int dstStep, const unsigned char *pSrc, int16_t *pDst, unsigned long currentframeoffset, unsigned long copysamples, int truncatedBits)
String gig::libraryName ()
 Returns the name of this C++ library.
String gig::libraryVersion ()
 Returns version of this C++ library.

Variables

const int gig::bytesPerFrame [] = { 4096, 2052, 768, 524, 396, 268 }
const int gig::bytesPerFrameNoHdr [] = { 4096, 2048, 768, 512, 384, 256 }
const int gig::headerSize [] = { 0, 4, 0, 12, 12, 12 }
const int gig::bitsPerSample [] = { 16, 8, 24, 16, 12, 8 }


Define Documentation

#define COPY_ONE  ) 
 

Value:

SKIP_ONE(x);                            \
        *pDst = y >> shift1;                    \
        pDst += dstStep

Referenced by gig::Decompress24().

#define GET_PARAMS params   ) 
 

Value:

y = (get24(params) + get24((params) + 3));      \
        dy  = get24((params) + 6);                      \
        ddy = get24((params) + 9)

Referenced by gig::Decompress24().

#define SKIP_ONE  ) 
 

Value:

ddy -= (x);                             \
        dy -= ddy;                              \
        y -= dy

Referenced by gig::Decompress24().


Generated on Mon Jul 4 02:52:42 2005 for libgig by  doxygen 1.4.3-20050530