Go to the documentation of this file.
25 #ifndef _GPMF_PARSER_H
26 #define _GPMF_PARSER_H
36 #define GPMF_NEST_LIMIT 16
88 uint32_t origfourCC, uint32_t newfourCC,
GPMF_SampleType newType, uint32_t newStructSize, uint32_t newRepeat,
void* newData);
struct GPMF_stream GPMF_stream
uint32_t GPMF_Key(GPMF_stream *gs)
uint32_t GPMF_PayloadSampleCount(GPMF_stream *gs)
uint32_t GPMF_ExpandComplexTYPE(char *src, uint32_t srcsize, char *dst, uint32_t *dstsize)
uint32_t GPMF_ElementsInStruct(GPMF_stream *gs)
GPMF_SampleType GPMF_Type(GPMF_stream *gs)
GPMF_ERR GPMF_Reserved(uint32_t key)
uint32_t GPMF_RawDataSize(GPMF_stream *gs)
GPMF_ERR GPMF_FindPrev(GPMF_stream *gs, uint32_t fourCC, GPMF_LEVELS recurse)
uint32_t GPMF_DeviceID(GPMF_stream *gs)
uint32_t last_seek[GPMF_NEST_LIMIT]
uint32_t GPMF_StructSize(GPMF_stream *gs)
uint32_t buffer_size_longs
GPMF_ERR GPMF_Decompress(GPMF_stream *gs, uint32_t *localbuf, uint32_t localbuf_size)
GPMF_ERR GPMF_Free(GPMF_stream *gs)
GPMF_ERR GPMF_CopyState(GPMF_stream *src, GPMF_stream *dst)
GPMF_ERR GPMF_SeekToSamples(GPMF_stream *gs)
GPMF_ERR GPMF_Next(GPMF_stream *gs, GPMF_LEVELS recurse)
GPMF_ERR GPMF_FreeCodebook(size_t cbhandle)
GPMF Parser library include.
GPMF_ERR GPMF_DecompressedSize(GPMF_stream *gs, uint32_t *neededsize)
GPMF_ERR GPMF_FindNext(GPMF_stream *gs, uint32_t fourCC, GPMF_LEVELS recurse)
uint32_t GPMF_ScaledDataSize(GPMF_stream *gs, GPMF_SampleType type)
struct GPMF_codebook GPMF_codebook
void * GPMF_RawData(GPMF_stream *gs)
GPMF_ERR GPMF_FormattedData(GPMF_stream *gs, void *buffer, uint32_t buffersize, uint32_t sample_offset, uint32_t read_samples)
GPMF_ERR GPMF_ScaledData(GPMF_stream *gs, void *buffer, uint32_t buffersize, uint32_t sample_offset, uint32_t read_samples, GPMF_SampleType type)
GPMF_ERR GPMF_DeviceName(GPMF_stream *gs, char *devicename_buf, uint32_t devicename_buf_size)
GPMF_ERR GPMF_AllocCodebook(size_t *cbhandle)
GPMF_ERR GPMF_ResetState(GPMF_stream *gs)
uint32_t GPMF_NestLevel(GPMF_stream *gs)
uint32_t GPMF_SizeOfComplexTYPE(char *typearray, uint32_t typestringlength)
uint32_t GPMF_SizeofType(GPMF_SampleType type)
uint32_t nest_size[GPMF_NEST_LIMIT]
uint32_t last_level_pos[GPMF_NEST_LIMIT]
GPMF_ERR GPMF_Modify(GPMF_stream *gs, uint32_t origfourCC, uint32_t newfourCC, GPMF_SampleType newType, uint32_t newStructSize, uint32_t newRepeat, void *newData)
uint32_t GPMF_FormattedDataSize(GPMF_stream *gs)
uint32_t GPMF_Repeat(GPMF_stream *gs)
GPMF_ERR GPMF_Validate(GPMF_stream *gs, GPMF_LEVELS recurse)
GPMF_ERR GPMF_Init(GPMF_stream *gs, uint32_t *buffer, uint32_t datasize)