Classes | Macros | Typedefs | Enumerations | Functions
GPMF_parser.h File Reference

GPMF Parser library include. More...

#include <stdint.h>
#include <stddef.h>
#include "GPMF_common.h"
Include dependency graph for GPMF_parser.h:

Go to the source code of this file.

Classes

struct  GPMF_codebook
 
struct  GPMF_stream
 

Macros

#define GPMF_NEST_LIMIT   16
 

Typedefs

typedef struct GPMF_codebook GPMF_codebook
 
typedef enum GPMF_LEVELS GPMF_LEVELS
 
typedef struct GPMF_stream GPMF_stream
 

Enumerations

enum  GPMF_LEVELS { GPMF_CURRENT_LEVEL = 0, GPMF_RECURSE_LEVELS = 1, GPMF_TOLERANT = 2 }
 

Functions

GPMF_ERR GPMF_AllocCodebook (size_t *cbhandle)
 
GPMF_ERR GPMF_CopyState (GPMF_stream *src, GPMF_stream *dst)
 
GPMF_ERR GPMF_Decompress (GPMF_stream *gs, uint32_t *localbuf, uint32_t localbuf_size)
 
GPMF_ERR GPMF_DecompressedSize (GPMF_stream *gs, uint32_t *neededsize)
 
uint32_t GPMF_DeviceID (GPMF_stream *gs)
 
GPMF_ERR GPMF_DeviceName (GPMF_stream *gs, char *devicename_buf, uint32_t devicename_buf_size)
 
uint32_t GPMF_ElementsInStruct (GPMF_stream *gs)
 
uint32_t GPMF_ExpandComplexTYPE (char *src, uint32_t srcsize, char *dst, uint32_t *dstsize)
 
GPMF_ERR GPMF_FindNext (GPMF_stream *gs, uint32_t fourCC, GPMF_LEVELS recurse)
 
GPMF_ERR GPMF_FindPrev (GPMF_stream *gs, uint32_t fourCC, GPMF_LEVELS recurse)
 
GPMF_ERR GPMF_FormattedData (GPMF_stream *gs, void *buffer, uint32_t buffersize, uint32_t sample_offset, uint32_t read_samples)
 
uint32_t GPMF_FormattedDataSize (GPMF_stream *gs)
 
GPMF_ERR GPMF_Free (GPMF_stream *gs)
 
GPMF_ERR GPMF_FreeCodebook (size_t cbhandle)
 
GPMF_ERR GPMF_Init (GPMF_stream *gs, uint32_t *buffer, uint32_t datasize)
 
uint32_t GPMF_Key (GPMF_stream *gs)
 
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_NestLevel (GPMF_stream *gs)
 
GPMF_ERR GPMF_Next (GPMF_stream *gs, GPMF_LEVELS recurse)
 
uint32_t GPMF_PayloadSampleCount (GPMF_stream *gs)
 
void * GPMF_RawData (GPMF_stream *gs)
 
uint32_t GPMF_RawDataSize (GPMF_stream *gs)
 
uint32_t GPMF_Repeat (GPMF_stream *gs)
 
GPMF_ERR GPMF_Reserved (uint32_t key)
 
GPMF_ERR GPMF_ResetState (GPMF_stream *gs)
 
GPMF_ERR GPMF_ScaledData (GPMF_stream *gs, void *buffer, uint32_t buffersize, uint32_t sample_offset, uint32_t read_samples, GPMF_SampleType type)
 
uint32_t GPMF_ScaledDataSize (GPMF_stream *gs, GPMF_SampleType type)
 
GPMF_ERR GPMF_SeekToSamples (GPMF_stream *gs)
 
uint32_t GPMF_SizeOfComplexTYPE (char *typearray, uint32_t typestringlength)
 
uint32_t GPMF_SizeofType (GPMF_SampleType type)
 
uint32_t GPMF_StructSize (GPMF_stream *gs)
 
GPMF_SampleType GPMF_Type (GPMF_stream *gs)
 
GPMF_ERR GPMF_Validate (GPMF_stream *gs, GPMF_LEVELS recurse)
 

Detailed Description

GPMF Parser library include.

Version
2.0.0

(C) Copyright 2017-2020 GoPro Inc (http://gopro.com/).

Licensed under either:

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file GPMF_parser.h.

Macro Definition Documentation

◆ GPMF_NEST_LIMIT

#define GPMF_NEST_LIMIT   16

Definition at line 36 of file GPMF_parser.h.

Typedef Documentation

◆ GPMF_codebook

typedef struct GPMF_codebook GPMF_codebook

◆ GPMF_LEVELS

typedef enum GPMF_LEVELS GPMF_LEVELS

◆ GPMF_stream

typedef struct GPMF_stream GPMF_stream

Enumeration Type Documentation

◆ GPMF_LEVELS

Enumerator
GPMF_CURRENT_LEVEL 
GPMF_RECURSE_LEVELS 
GPMF_TOLERANT 

Definition at line 55 of file GPMF_parser.h.

Function Documentation

◆ GPMF_AllocCodebook()

GPMF_ERR GPMF_AllocCodebook ( size_t *  cbhandle)

◆ GPMF_CopyState()

GPMF_ERR GPMF_CopyState ( GPMF_stream src,
GPMF_stream dst 
)

◆ GPMF_Decompress()

GPMF_ERR GPMF_Decompress ( GPMF_stream gs,
uint32_t *  localbuf,
uint32_t  localbuf_size 
)

◆ GPMF_DecompressedSize()

GPMF_ERR GPMF_DecompressedSize ( GPMF_stream gs,
uint32_t *  neededsize 
)

◆ GPMF_DeviceID()

uint32_t GPMF_DeviceID ( GPMF_stream gs)

◆ GPMF_DeviceName()

GPMF_ERR GPMF_DeviceName ( GPMF_stream gs,
char *  devicename_buf,
uint32_t  devicename_buf_size 
)

◆ GPMF_ElementsInStruct()

uint32_t GPMF_ElementsInStruct ( GPMF_stream gs)

◆ GPMF_ExpandComplexTYPE()

uint32_t GPMF_ExpandComplexTYPE ( char *  src,
uint32_t  srcsize,
char *  dst,
uint32_t *  dstsize 
)

◆ GPMF_FindNext()

GPMF_ERR GPMF_FindNext ( GPMF_stream gs,
uint32_t  fourCC,
GPMF_LEVELS  recurse 
)

◆ GPMF_FindPrev()

GPMF_ERR GPMF_FindPrev ( GPMF_stream gs,
uint32_t  fourCC,
GPMF_LEVELS  recurse 
)

◆ GPMF_FormattedData()

GPMF_ERR GPMF_FormattedData ( GPMF_stream gs,
void *  buffer,
uint32_t  buffersize,
uint32_t  sample_offset,
uint32_t  read_samples 
)

◆ GPMF_FormattedDataSize()

uint32_t GPMF_FormattedDataSize ( GPMF_stream gs)

◆ GPMF_Free()

GPMF_ERR GPMF_Free ( GPMF_stream gs)

◆ GPMF_FreeCodebook()

GPMF_ERR GPMF_FreeCodebook ( size_t  cbhandle)

◆ GPMF_Init()

GPMF_ERR GPMF_Init ( GPMF_stream gs,
uint32_t *  buffer,
uint32_t  datasize 
)

◆ GPMF_Key()

uint32_t GPMF_Key ( GPMF_stream gs)

◆ GPMF_Modify()

GPMF_ERR GPMF_Modify ( GPMF_stream gs,
uint32_t  origfourCC,
uint32_t  newfourCC,
GPMF_SampleType  newType,
uint32_t  newStructSize,
uint32_t  newRepeat,
void *  newData 
)

◆ GPMF_NestLevel()

uint32_t GPMF_NestLevel ( GPMF_stream gs)

◆ GPMF_Next()

GPMF_ERR GPMF_Next ( GPMF_stream gs,
GPMF_LEVELS  recurse 
)

◆ GPMF_PayloadSampleCount()

uint32_t GPMF_PayloadSampleCount ( GPMF_stream gs)

◆ GPMF_RawData()

void* GPMF_RawData ( GPMF_stream gs)

◆ GPMF_RawDataSize()

uint32_t GPMF_RawDataSize ( GPMF_stream gs)

◆ GPMF_Repeat()

uint32_t GPMF_Repeat ( GPMF_stream gs)

◆ GPMF_Reserved()

GPMF_ERR GPMF_Reserved ( uint32_t  key)

◆ GPMF_ResetState()

GPMF_ERR GPMF_ResetState ( GPMF_stream gs)

◆ GPMF_ScaledData()

GPMF_ERR GPMF_ScaledData ( GPMF_stream gs,
void *  buffer,
uint32_t  buffersize,
uint32_t  sample_offset,
uint32_t  read_samples,
GPMF_SampleType  type 
)

◆ GPMF_ScaledDataSize()

uint32_t GPMF_ScaledDataSize ( GPMF_stream gs,
GPMF_SampleType  type 
)

◆ GPMF_SeekToSamples()

GPMF_ERR GPMF_SeekToSamples ( GPMF_stream gs)

◆ GPMF_SizeOfComplexTYPE()

uint32_t GPMF_SizeOfComplexTYPE ( char *  typearray,
uint32_t  typestringlength 
)

◆ GPMF_SizeofType()

uint32_t GPMF_SizeofType ( GPMF_SampleType  type)

◆ GPMF_StructSize()

uint32_t GPMF_StructSize ( GPMF_stream gs)

◆ GPMF_Type()

GPMF_SampleType GPMF_Type ( GPMF_stream gs)

◆ GPMF_Validate()

GPMF_ERR GPMF_Validate ( GPMF_stream gs,
GPMF_LEVELS  recurse 
)


gpmf_metadata_extractor
Author(s): Martin Pecka , Liam Samuel Pach
autogenerated on Wed May 28 2025 02:07:33