![]() |
libgpac
Documentation of the core library of GPAC
|
Collaboration diagram for ISO Sample:Data Structures | |
| struct | GF_ISOSample |
Enumerations | |
| enum | GF_ISOSAPType { RAP_REDUNDANT = -1 , RAP_NO = 0 , RAP = 1 , SAP_TYPE_1 = 1 , SAP_TYPE_2 = 2 , SAP_TYPE_3 = 3 , SAP_TYPE_4 = 4 } |
Functions | |
| GF_ISOSample * | gf_isom_sample_new () |
| void | gf_isom_sample_del (GF_ISOSample **samp) |
Media sample for ISOBMFF API.
| struct GF_ISOSample |
media sample object
| Data Fields | ||
|---|---|---|
| u32 | dataLength |
data size |
| u8 * | data |
data with padding if requested |
| u64 | DTS |
decoding time |
| s32 | CTS_Offset |
relative offset for composition if needed |
| GF_ISOSAPType | IsRAP |
SAP type |
| u32 | alloc_size |
allocated data size - used only when using static sample in gf_isom_get_sample_ex |
| u32 | nb_pack |
number of packed samples in this sample. If 0 or 1, only 1 sample is present only used for constant size and constant duration samples |
| u32 | duration |
read API only - sample duration (multiply by nb_pack to get full duration) |
| u32 | corrupted |
read API only - set to GF_TRUE if sample data is corrupted |
| enum GF_ISOSAPType |
| GF_ISOSample * gf_isom_sample_new | ( | ) |
creates a new empty sample
Here is the caller graph for this function:| void gf_isom_sample_del | ( | GF_ISOSample ** | samp | ) |
delete a sample.
| samp | pointer to the target ISO sample |
Here is the call graph for this function:
Here is the caller graph for this function: