#include <gig.h>
Public Member Functions | |
buffer_t () | |
Public Attributes | |
void * | pStart |
Points to the beginning of the buffer. | |
unsigned long | Size |
Size of the actual data in the buffer in bytes. | |
unsigned long | NullExtensionSize |
The buffer might be bigger than the actual data, if that's the case that unused space at the end of the buffer is filled with NULLs and NullExtensionSize reflects that unused buffer space in bytes. Those NULL extensions are mandatory for differential algorithms that have to take the following data words into account, thus have to access past the buffer's boundary. If you don't know what I'm talking about, just forget this variable. :). |
Definition at line 71 of file gig.h.
gig::buffer_t::buffer_t | ( | ) | [inline] |
unsigned long gig::buffer_t::NullExtensionSize |
The buffer might be bigger than the actual data, if that's the case that unused space at the end of the buffer is filled with NULLs and NullExtensionSize reflects that unused buffer space in bytes. Those NULL extensions are mandatory for differential algorithms that have to take the following data words into account, thus have to access past the buffer's boundary. If you don't know what I'm talking about, just forget this variable. :).
Definition at line 74 of file gig.h.
Referenced by buffer_t(), gig::Sample::CreateDecompressionBuffer(), gig::Sample::DestroyDecompressionBuffer(), gig::Sample::GetCache(), gig::Sample::LoadSampleDataWithNullSamplesExtension(), gig::Sample::ReleaseSampleData(), and gig::Sample::Sample().
void* gig::buffer_t::pStart |
Points to the beginning of the buffer.
Definition at line 72 of file gig.h.
Referenced by buffer_t(), gig::Sample::CreateDecompressionBuffer(), gig::Sample::DestroyDecompressionBuffer(), gig::Sample::GetCache(), gig::Sample::LoadSampleDataWithNullSamplesExtension(), gig::Sample::Read(), gig::Sample::ReleaseSampleData(), gig::Sample::Sample(), and gig::Sample::~Sample().
unsigned long gig::buffer_t::Size |
Size of the actual data in the buffer in bytes.
Definition at line 73 of file gig.h.
Referenced by buffer_t(), gig::Sample::CreateDecompressionBuffer(), gig::Sample::DestroyDecompressionBuffer(), gig::Sample::GetCache(), gig::Sample::LoadSampleDataWithNullSamplesExtension(), gig::Sample::Read(), gig::Sample::ReleaseSampleData(), gig::Sample::Sample(), gig::Sample::WorstCaseMaxSamples(), and gig::Sample::~Sample().