#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 | __notify_progress (progress_t *pProgress, float subprogress) |
static void | __divide_progress (progress_t *pParentProgress, progress_t *pSubProgress, float totalTasks, float currentTask) |
int | get12lo (const unsigned char *pSrc) |
int | get12hi (const unsigned char *pSrc) |
int16_t | get16 (const unsigned char *pSrc) |
int | get24 (const unsigned char *pSrc) |
void | 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 | 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 | libraryName () |
Returns the name of this C++ library. | |
String | libraryVersion () |
Returns version of this C++ library. | |
Variables | |
const int | bytesPerFrame [] = { 4096, 2052, 768, 524, 396, 268 } |
const int | bytesPerFrameNoHdr [] = { 4096, 2048, 768, 512, 384, 256 } |
const int | headerSize [] = { 0, 4, 0, 12, 12, 12 } |
const int | bitsPerSample [] = { 16, 8, 24, 16, 12, 8 } |
|
Value: SKIP_ONE(x); \ *pDst = y >> shift1; \ pDst += dstStep Referenced by gig::Decompress24(). |
|
Value: Referenced by gig::Decompress24(). |
|
Value: ddy -= (x); \ dy -= ddy; \ y -= dy Referenced by gig::Decompress24(). |
|
Definition at line 51 of file gig.cpp. References gig::progress_t::__range_max, gig::progress_t::__range_min, gig::progress_t::callback, and gig::progress_t::custom. Referenced by gig::File::GetInstrument(), and gig::File::LoadInstruments(). |
|
Definition at line 41 of file gig.cpp. References gig::progress_t::__range_max, gig::progress_t::__range_min, gig::progress_t::callback, and gig::progress_t::factor. Referenced by gig::File::GetInstrument(), gig::Instrument::Instrument(), gig::File::LoadInstruments(), and gig::File::LoadSamples(). |
|
Definition at line 90 of file gig.cpp. References gig::get16(). Referenced by gig::Sample::Read(). |
|
Definition at line 128 of file gig.cpp. References COPY_ONE, gig::get12hi(), gig::get12lo(), gig::get16(), gig::get24(), GET_PARAMS, and SKIP_ONE. Referenced by gig::Sample::Read(). |
|
Definition at line 73 of file gig.cpp. Referenced by gig::Decompress24(). |
|
Definition at line 67 of file gig.cpp. Referenced by gig::Decompress24(). |
|
Definition at line 79 of file gig.cpp. Referenced by gig::Decompress16(), gig::Decompress24(), and gig::Sample::Read(). |
|
Definition at line 84 of file gig.cpp. Referenced by gig::Decompress24(). |
|
Returns the name of this C++ library. This is usually "libgig" of course. This call is equivalent to RIFF::libraryName() and DLS::libraryName(). |
|
Returns version of this C++ library. This call is equivalent to RIFF::libraryVersion() and DLS::libraryVersion(). |
|
Definition at line 236 of file gig.cpp. Referenced by gig::Sample::Read(). |
|
|
|
Definition at line 234 of file gig.cpp. Referenced by gig::Sample::Read(). |
|
Definition at line 235 of file gig.cpp. Referenced by DLS::Articulation::Articulation(). |