libgpac
Documentation of the core library of GPAC
GF_Blob Struct Reference

#include <tools.h>

+ Collaboration diagram for GF_Blob:

Data Fields

u8data
 
u32 size
 
u32 flags
 
struct __tag_mutexmx
 
u64 last_modification_time
 
GF_BlobRangeStatus(* range_valid )(struct __gf_blob *blob, u64 start, u32 *size)
 
void * range_udta
 

Detailed Description

Blob structure used to pass data pointer around

Field Documentation

◆ data

u8* GF_Blob::data

data block of blob

◆ size

u32 GF_Blob::size

size of blob

◆ flags

u32 GF_Blob::flags

blob flags

◆ mx

struct __tag_mutex* GF_Blob::mx

blob mutex for multi-thread access

◆ last_modification_time

u64 GF_Blob::last_modification_time

last blob modification time (write access) in microsec , 0 if unknown

◆ range_valid

GF_BlobRangeStatus(* GF_Blob::range_valid) (struct __gf_blob *blob, u64 start, u32 *size)

function used to query if a range of a blob in transfer is valid. If NULL, any range is invalid until transfer is done when set this function overrides the blob flags for gf_blob_query_range size is updated to the maximum number of consecutive bytes starting from the goven offset

◆ range_udta

void* GF_Blob::range_udta

private data for range_valid function