libgpac
Documentation of the core library of GPAC
|
#include <gpac/avparse.h>
#include <gpac/constants.h>
#include <gpac/filters.h>
#include <gpac/internal/media_dev.h>
Data Structures | |
struct | AV1Idx |
struct | GF_AV1DmxCtx |
Macros | |
#define | OFFS(_n) #_n, offsetof(GF_AV1DmxCtx, _n) |
Enumerations | |
enum | AV1BitstreamSyntax { NOT_SET , OBUs , AnnexB , IVF , RAW_VPX , UNSUPPORTED } |
Functions | |
GF_Err | av1dmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
GF_Err | av1dmx_check_format (GF_Filter *filter, GF_AV1DmxCtx *ctx, GF_BitStream *bs, u32 *last_obu_end) |
GF_Err | gf_bs_set_logger (GF_BitStream *bs, void(*on_bs_log)(void *udta, const char *field_name, u32 nb_bits, u64 field_val, s32 idx1, s32 idx2, s32 idx3), void *udta) |
static void | av1dmx_bs_log (void *udta, const char *field_name, u32 nb_bits, u64 field_val, s32 idx1, s32 idx2, s32 idx3) |
static void | av1dmx_check_dur (GF_Filter *filter, GF_AV1DmxCtx *ctx) |
static Bool | av1dmx_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
static GFINLINE void | av1dmx_update_cts (GF_AV1DmxCtx *ctx) |
static void | av1dmx_set_mdcv (GF_AV1DmxCtx *ctx, GF_FilterPid *pid, GF_FilterPacket *pck) |
static void | av1dmx_check_pid (GF_Filter *filter, GF_AV1DmxCtx *ctx) |
GF_Err | av1dmx_parse_ivf (GF_Filter *filter, GF_AV1DmxCtx *ctx) |
GF_Err | av1dmx_parse_vp9 (GF_Filter *filter, GF_AV1DmxCtx *ctx) |
static GF_Err | av1dmx_parse_flush_sample (GF_Filter *filter, GF_AV1DmxCtx *ctx) |
GF_Err | av1dmx_parse_av1 (GF_Filter *filter, GF_AV1DmxCtx *ctx) |
GF_Err | av1dmx_process_buffer (GF_Filter *filter, GF_AV1DmxCtx *ctx, const char *data, u32 data_size, Bool is_copy) |
GF_Err | av1dmx_process (GF_Filter *filter) |
static GF_Err | av1dmx_initialize (GF_Filter *filter) |
static void | av1dmx_finalize (GF_Filter *filter) |
static const char * | av1dmx_probe_data (const u8 *data, u32 size, GF_FilterProbeScore *score) |
const GF_FilterRegister * | rfav1_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterCapability | AV1DmxCaps [] |
static const GF_FilterArgs | AV1DmxArgs [] |
GF_FilterRegister | AV1DmxRegister |
struct GF_AV1DmxCtx |
Data Fields | ||
---|---|---|
GF_Fraction | fps | |
Double | index | |
Bool | importer | |
Bool | deps | |
Bool | notime | |
Bool | temporal_delim | |
u32 | bsdbg | |
GF_FilterPid * | ipid | |
GF_FilterPid * | opid | |
AV1BitstreamSyntax | bsmode | |
GF_BitStream * | bs | |
u64 | cts | |
u32 | width | |
u32 | height | |
GF_Fraction64 | duration | |
Double | start_range | |
Bool | in_seek | |
u32 | timescale | |
GF_Fraction | cur_fps | |
u32 | resume_from | |
char * | buffer | |
u32 | buf_size | |
u32 | alloc_size | |
u32 | file_hdr_size | |
Bool | is_av1 | |
Bool | is_vp9 | |
u32 | codecid | |
u32 | num_frames | |
GF_VPConfig * | vp_cfg | |
Bool | is_playing | |
Bool | is_file | |
Bool | file_loaded | |
Bool | initial_play_done | |
GF_FilterPacket * | src_pck | |
AV1Idx * | indexes | |
u32 | index_alloc_size | |
u32 | index_size | |
AV1State | state | |
u32 | dsi_crc | |
Bool | pts_from_file | |
u64 | cumulated_dur | |
u64 | last_pts | |
u32 | bitrate | |
u32 | clli_crc | |
u32 | mdcv_crc | |
Bool | copy_props |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_AV1DmxCtx, _n) |
enum AV1BitstreamSyntax |
GF_Err av1dmx_check_format | ( | GF_Filter * | filter, |
GF_AV1DmxCtx * | ctx, | ||
GF_BitStream * | bs, | ||
u32 * | last_obu_end | ||
) |
GF_Err gf_bs_set_logger | ( | GF_BitStream * | bs, |
void(*)(void *udta, const char *field_name, u32 nb_bits, u64 field_val, s32 idx1, s32 idx2, s32 idx3) | on_bs_log, | ||
void * | udta | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
GF_Err av1dmx_parse_ivf | ( | GF_Filter * | filter, |
GF_AV1DmxCtx * | ctx | ||
) |
GF_Err av1dmx_parse_vp9 | ( | GF_Filter * | filter, |
GF_AV1DmxCtx * | ctx | ||
) |
|
static |
GF_Err av1dmx_parse_av1 | ( | GF_Filter * | filter, |
GF_AV1DmxCtx * | ctx | ||
) |
GF_Err av1dmx_process_buffer | ( | GF_Filter * | filter, |
GF_AV1DmxCtx * | ctx, | ||
const char * | data, | ||
u32 | data_size, | ||
Bool | is_copy | ||
) |
GF_Err av1dmx_process | ( | GF_Filter * | filter | ) |
|
static |
|
static |
|
static |
const GF_FilterRegister* rfav1_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister AV1DmxRegister |