libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
av_parsers.c File Reference
#include <gpac/internal/odf_dev.h>
#include <gpac/internal/media_dev.h>
#include <gpac/constants.h>
#include <gpac/mpeg4_odf.h>
#include <gpac/maths.h>
#include <gpac/avparse.h>
#include <gpac/internal/ogg.h>
+ Include dependency graph for av_parsers.c:

Data Structures

struct  __m4v_profile
 
struct  GF_M4VParser
 
struct  __m4a_oti
 
struct  __m4a_profile
 

Macros

#define gf_bs_log(_bs, _nBits, _fname, _val)   gf_bs_log_idx(_bs, _nBits, _fname, _val, -1, -1, -1)
 
#define gf_bs_read_int_log(_bs, _nBits, _fname)   gf_bs_read_int_log_idx3(_bs, _nBits, _fname, -1, -1, -1)
 
#define gf_bs_read_int_log_idx(_bs, _nBits, _fname, _idx)   gf_bs_read_int_log_idx3(_bs, _nBits, _fname, _idx, -1, -1)
 
#define gf_bs_read_int_log_idx2(_bs, _nBits, _fname, _idx1, _idx2)   gf_bs_read_int_log_idx3(_bs, _nBits, _fname, (s32) _idx1, (s32) _idx2, -1)
 
#define MPEG12_START_CODE_PREFIX   0x000001
 
#define MPEG12_PICTURE_START_CODE   0x00000100
 
#define MPEG12_SLICE_MIN_START   0x00000101
 
#define MPEG12_SLICE_MAX_START   0x000001af
 
#define MPEG12_USER_DATA_START_CODE   0x000001b2
 
#define MPEG12_SEQUENCE_START_CODE   0x000001b3
 
#define MPEG12_SEQUENCE_ERR_START_CODE   0x000001b4
 
#define MPEG12_EXT_START_CODE   0x000001b5
 
#define MPEG12_SEQUENCE_END_START_CODE   0x000001b7
 
#define MPEG12_GOP_START_CODE   0x000001b8
 
#define M4V_CACHE_SIZE   4096
 
#define IVF_FILE_HEADER_SIZE   32
 
#define VP9_MAX_SEGMENTS   8
 
#define VP9_SEG_LVL_MAX   4
 
#define VP9_MIN_TILE_WIDTH_B64   4
 
#define VP9_MAX_TILE_WIDTH_B64   64
 
#define VP9_KEY_FRAME   0
 
#define OBU_BLOCK_SIZE   4096
 
#define AV1_NUM_REF_FRAMES   8
 
#define AV1_ALL_FRAMES   ((1 << AV1_NUM_REF_FRAMES) - 1)
 
#define AV1_SUPERRES_DENOM_MIN   9
 
#define AV1_SUPERRES_DENOM_BITS   3
 
#define AV1_SUPERRES_NUM   8
 
#define AV1_REFS_PER_FRAME   7
 
#define AV1_PRIMARY_REF_NONE   7
 
#define MAX_TILE_WIDTH   4096
 
#define MAX_TILE_AREA   (4096 * 2304)
 
#define AV1_GMC_IDENTITY   0
 
#define AV1_GMC_TRANSLATION   1
 
#define AV1_GMC_ROTZOOM   2
 
#define AV1_GMC_AFFINE   3
 
#define AV1_LAST_FRAME   1
 
#define AV1_LAST2_FRAME   2
 
#define AV1_LAST3_FRAME   3
 
#define AV1_GOLDEN_FRAME   4
 
#define AV1_BWDREF_FRAME   5
 
#define AV1_ALTREF2_FRAME   6
 
#define AV1_ALTREF_FRAME   7
 
#define GM_ABS_ALPHA_BITS   12
 
#define GM_ALPHA_PREC_BITS   15
 
#define GM_ABS_TRANS_ONLY_BITS   9
 
#define GM_TRANS_ONLY_PREC_BITS   3
 
#define GM_ABS_TRANS_BITS   12
 
#define GM_TRANS_PREC_BITS   6
 
#define WARPEDMODEL_PREC_BITS   16
 
#define gf_bs_read_ue_log_idx2(_bs, _fname, _idx1, _idx2)   gf_bs_read_ue_log_idx3(_bs, _fname, (s32) _idx1, (s32) _idx2, -1)
 
#define gf_bs_read_ue_log_idx(_bs, _fname, _idx)   gf_bs_read_ue_log_idx3(_bs, _fname, (s32) _idx, -1, -1)
 
#define gf_bs_read_ue_log(_bs, _fname)   gf_bs_read_ue_log_idx3(_bs, _fname, -1, -1, -1)
 
#define gf_bs_read_se_log_idx(_bs, _fname, _idx)   gf_bs_read_se_log_idx2(_bs, _fname, (s32) _idx, -1)
 
#define gf_bs_read_se_log(_bs, _fname)   gf_bs_read_se_log_idx2(_bs, _fname, -1, -1)
 
#define AVC_SPS_BROKEN
 
#define AVC_PPS_BROKEN
 
#define LHVC_VIEW_ORDER_INDEX   1
 
#define LHVC_SCALABILITY_INDEX   2
 
#define HEVC_VPS_BROKEN
 
#define HEVC_SPS_BROKEN
 
#define HEVC_PPS_BROKEN
 
#define VVC_VPS_BROKEN
 
#define VVC_SPS_BROKEN
 
#define VVC_PPS_BROKEN
 
#define AC4_CH_MODE_MONO   0
 
#define AC4_CH_MODE_STEREO   1
 
#define AC4_CH_MODE_3_0   2
 
#define AC4_CH_MODE_5_0   3
 
#define AC4_CH_MODE_5_1   4
 
#define AC4_CH_MODE_7_0_34   5
 
#define AC4_CH_MODE_7_1_34   6
 
#define AC4_CH_MODE_7_0_52   7
 
#define AC4_CH_MODE_7_1_52   8
 
#define AC4_CH_MODE_7_0_322   9
 
#define AC4_CH_MODE_7_1_322   10
 
#define AC4_CH_MODE_7_0_4   11
 
#define AC4_CH_MODE_7_1_4   12
 
#define AC4_CH_MODE_9_0_4   13
 
#define AC4_CH_MODE_9_1_4   14
 
#define AC4_CH_MODE_22_2   15
 
#define AC4_CH_MODE_RESERVED   16
 
#define GF_AP4_CH_MODE_LENGTH   16 /* AC-4 ch_mode length */
 
#define GF_AC4_CHECK_N_OBJS_ARRAY_SIZE(n)
 

Enumerations

enum  VP9_color_space {
  CS_UNKNOWN = 0 , CS_BT_601 = 1 , CS_BT_709 = 2 , CS_SMPTE_170 = 3 ,
  CS_SMPTE_240 = 4 , CS_BT_2020 = 5 , CS_RESERVED = 6 , CS_RGB = 7
}
 
enum  { AV1_RESTORE_NONE = 0 , AV1_RESTORE_SWITCHABLE , AV1_RESTORE_WIENER , AV1_RESTORE_SGRPROJ }
 

Functions

void gf_bs_log_idx (GF_BitStream *bs, u32 nBits, const char *fname, s64 val, s32 idx1, s32 idx2, s32 idx3)
 
static u32 gf_bs_read_int_log_idx3 (GF_BitStream *bs, u32 nBits, const char *fname, s32 idx1, s32 idx2, s32 idx3)
 
GF_EXPORT void gf_media_reduce_aspect_ratio (u32 *width, u32 *height)
 
GF_EXPORT void gf_media_get_reduced_frame_rate (u32 *timescale, u32 *sample_dur)
 
GF_EXPORT const char * gf_m4v_get_profile_name (u8 video_pl)
 
s32 gf_mv12_next_start_code (unsigned char *pbuffer, u32 buflen, u32 *optr, u32 *scode)
 
s32 gf_mv12_next_slice_start (unsigned char *pbuffer, u32 startoffset, u32 buflen, u32 *slice_offset)
 
GF_EXPORT GF_M4VParser * gf_m4v_parser_new (u8 *data, u64 data_size, Bool mpeg12video)
 
GF_M4VParser * gf_m4v_parser_bs_new (GF_BitStream *bs, Bool mpeg12video)
 
GF_EXPORT void gf_m4v_parser_del (GF_M4VParser *m4v)
 
GF_EXPORT void gf_m4v_parser_del_no_bs (GF_M4VParser *m4v)
 
GF_EXPORT void gf_m4v_parser_set_inspect (GF_M4VParser *m4v)
 
GF_EXPORT u32 gf_m4v_parser_get_obj_type (GF_M4VParser *m4v)
 
s32 M4V_LoadObject (GF_M4VParser *m4v)
 
GF_EXPORT void gf_m4v_rewrite_pl (u8 **o_data, u32 *o_dataLen, u8 PL)
 
static GF_Err M4V_Reset (GF_M4VParser *m4v, u64 start)
 
void gf_m4v_parser_reset (GF_M4VParser *m4v, u8 sc_type)
 
static GF_Err gf_m4v_parse_config_mpeg12 (GF_M4VParser *m4v, GF_M4VDecSpecInfo *dsi)
 
static u8 m4v_get_sar_idx (u32 w, u32 h)
 
static void gf_m4v_parse_vol (GF_M4VParser *m4v, GF_M4VDecSpecInfo *dsi)
 
static GF_Err gf_m4v_parse_config_mpeg4 (GF_M4VParser *m4v, GF_M4VDecSpecInfo *dsi)
 
GF_EXPORT GF_Err gf_m4v_parse_config (GF_M4VParser *m4v, GF_M4VDecSpecInfo *dsi)
 
static GF_Err gf_m4v_parse_frame_mpeg12 (GF_M4VParser *m4v, GF_M4VDecSpecInfo *dsi, u8 *frame_type, u32 *time_inc, u64 *size, u64 *start, Bool *is_coded)
 
static GF_Err gf_m4v_parse_frame_mpeg4 (GF_M4VParser *m4v, GF_M4VDecSpecInfo *dsi, u8 *frame_type, u32 *time_inc, u64 *size, u64 *start, Bool *is_coded)
 
GF_EXPORT GF_Err gf_m4v_parse_frame (GF_M4VParser *m4v, GF_M4VDecSpecInfo *dsi, u8 *frame_type, u32 *time_inc, u64 *size, u64 *start, Bool *is_coded)
 
GF_Err gf_m4v_rewrite_par (u8 **o_data, u32 *o_dataLen, s32 par_n, s32 par_d)
 
GF_EXPORT u64 gf_m4v_get_object_start (GF_M4VParser *m4v)
 
GF_EXPORT GF_Err gf_m4v_get_config (u8 *rawdsi, u32 rawdsi_size, GF_M4VDecSpecInfo *dsi)
 
GF_EXPORT GF_Err gf_mpegv12_get_config (u8 *rawdsi, u32 rawdsi_size, GF_M4VDecSpecInfo *dsi)
 
GF_EXPORT const char * gf_m4a_object_type_name (u32 objectType)
 
GF_EXPORT const char * gf_m4a_get_profile_name (u8 audio_pl)
 
GF_EXPORT u32 gf_m4a_get_profile (GF_M4ADecSpecInfo *cfg)
 
GF_EXPORT GF_Err gf_m4a_parse_program_config_element (GF_BitStream *bs, GF_M4ADecSpecInfo *cfg)
 
GF_EXPORT GF_Err gf_m4a_parse_config (GF_BitStream *bs, GF_M4ADecSpecInfo *cfg, Bool size_known)
 
GF_EXPORT GF_Err gf_m4a_get_config (u8 *dsi, u32 dsi_size, GF_M4ADecSpecInfo *cfg)
 
u32 gf_latm_get_value (GF_BitStream *bs)
 
GF_EXPORT u32 gf_m4a_get_channel_cfg (u32 nb_chan)
 
GF_EXPORT GF_Err gf_m4a_write_program_config_element_bs (GF_BitStream *bs, GF_M4ADecSpecInfo *cfg)
 
GF_EXPORT GF_Err gf_m4a_write_config_bs (GF_BitStream *bs, GF_M4ADecSpecInfo *cfg)
 
GF_EXPORT GF_Err gf_m4a_write_config (GF_M4ADecSpecInfo *cfg, u8 **dsi, u32 *dsi_size)
 
static u32 av1_read_ns (GF_BitStream *bs, u32 n, const char *fname)
 
static void av1_color_config (GF_BitStream *bs, AV1State *state)
 
static u32 av1_uvlc (GF_BitStream *bs, const char *fname)
 
static void timing_info (GF_BitStream *bs, AV1State *state)
 
static void decoder_model_info (AV1State *state, GF_BitStream *bs)
 
static void operating_parameters_info (GF_BitStream *bs, const u8 idx, const u8 buffer_delay_length_minus_1)
 
u64 av1_bit_position (GF_BitStream *bs)
 
void av1_parse_sequence_header_obu (GF_BitStream *bs, AV1State *state)
 
Bool gf_media_probe_ivf (GF_BitStream *bs)
 
GF_Err gf_media_parse_ivf_file_header (GF_BitStream *bs, u32 *width, u32 *height, u32 *codec_fourcc, u32 *timebase_num, u32 *timebase_den, u32 *num_frames)
 
GF_Err gf_media_parse_ivf_frame_header (GF_BitStream *bs, u64 *frame_size, u64 *pts)
 
GF_Err gf_vp9_parse_superframe (GF_BitStream *bs, u64 ivf_frame_size, u32 *num_frames_in_superframe, u32 frame_sizes[VP9_MAX_FRAMES_IN_SUPERFRAME], u32 *superframe_index_size)
 
static Bool vp9_frame_sync_code (GF_BitStream *bs)
 
static GF_Err vp9_color_config (GF_BitStream *bs, GF_VPConfig *vp9_cfg)
 
static void vp9_compute_image_size (int FrameWidth, int FrameHeight, int *Sb64Cols, int *Sb64Rows)
 
static void vp9_frame_size (GF_BitStream *bs, int *FrameWidth, int *FrameHeight, int *Sb64Cols, int *Sb64Rows)
 
static void vp9_render_size (GF_BitStream *bs, int FrameWidth, int FrameHeight, int *renderWidth, int *renderHeight)
 
static s64 vp9_s (GF_BitStream *bs, int n, const char *fname, u32 idx)
 
static void vp9_loop_filter_params (GF_BitStream *bs)
 
static void vp9_delta_q (GF_BitStream *bs)
 
static void vp9_quantization_params (GF_BitStream *bs)
 
static void vp9_read_prob (GF_BitStream *bs)
 
static void vp9_segmentation_params (GF_BitStream *bs)
 
static int calc_min_log2_tile_cols (int Sb64Cols)
 
static int calc_max_log2_tile_cols (int Sb64Cols)
 
static void vp9_tile_info (GF_BitStream *bs, int Sb64Cols)
 
static void vp9_frame_size_with_refs (GF_BitStream *bs, u8 refresh_frame_flags, u8 *ref_frame_idx, int *RefFrameWidth, int *RefFrameHeight, int *FrameWidth, int *FrameHeight, int *RenderWidth, int *RenderHeight, int *Sb64Cols, int *Sb64Rows)
 
static void vp9_read_interpolation_filter (GF_BitStream *bs)
 
GF_Err gf_vp9_parse_sample (GF_BitStream *bs, GF_VPConfig *vp9_cfg, Bool *key_frame, u32 *FrameWidth, u32 *FrameHeight, u32 *renderWidth, u32 *renderHeight)
 
void gf_av1_format_mdcv_to_mpeg (u8 mdcv_in[24], u8 mdcv_out[24])
 
GF_EXPORT GF_Err gf_av1_parse_obu_header (GF_BitStream *bs, ObuType *obu_type, Bool *obu_extension_flag, Bool *obu_has_size_field, u8 *temporal_id, u8 *spatial_id)
 
GF_EXPORT const char * gf_av1_get_obu_name (ObuType obu_type)
 
Bool av1_is_obu_header (ObuType obu_type)
 
static Bool av1_is_obu_frame (AV1State *state, ObuType obu_type)
 
Bool iamf_is_audio_frame_obu (IamfObuType obu_type)
 
Bool iamf_is_temporal_unit_obu (IamfObuType obu_type)
 
Bool iamf_is_descriptor_obu (IamfObuType obu_type)
 
GF_EXPORT u64 gf_av1_leb128_read (GF_BitStream *bs, u8 *opt_Leb128Bytes)
 
u32 gf_av1_leb128_size (u64 value)
 
u64 gf_av1_leb128_write (GF_BitStream *bs, u64 value)
 
static void av1_add_obu_internal (GF_BitStream *bs, u64 pos, u64 obu_length, ObuType obu_type, GF_List **obu_list, AV1State *state)
 
static void av1_populate_state_from_obu (GF_BitStream *bs, u64 pos, u64 obu_length, ObuType obu_type, AV1State *state)
 
GF_Err aom_av1_parse_temporal_unit_from_section5 (GF_BitStream *bs, AV1State *state)
 
Bool gf_media_aom_probe_annexb (GF_BitStream *bs)
 
GF_Err aom_av1_parse_temporal_unit_from_annexb (GF_BitStream *bs, AV1State *state)
 
GF_Err aom_av1_parse_temporal_unit_from_ivf (GF_BitStream *bs, AV1State *state)
 
u32 aom_av1_tile_log2 (u32 blkSize, u32 target)
 
static u64 aom_av1_le (GF_BitStream *bs, u32 n, const char *name)
 
static void av1_parse_tile_info (GF_BitStream *bs, AV1State *state)
 
static void superres_params (GF_BitStream *bs, AV1State *state)
 
static void av1_frame_size (GF_BitStream *bs, AV1State *state, Bool frame_size_override_flag)
 
static void av1_render_size (GF_BitStream *bs, AV1State *state)
 
static void read_interpolation_filter (GF_BitStream *bs)
 
static void frame_size_with_refs (GF_BitStream *bs, AV1State *state, Bool frame_size_override_flag, s8 *ref_frame_idx)
 
static s32 av1_delta_q (GF_BitStream *bs, const char *name_flag, const char *name)
 
static u8 av1_get_qindex (Bool ignoreDeltaQ, u32 segmentId, u32 base_q_idx, u32 delta_q_present, u32 CurrentQIndex, Bool segmentation_enabled, u8 *features_SEG_LVL_ALT_Q_enabled, s32 *features_SEG_LVL_ALT_Q)
 
static u32 av1_decode_subexp (GF_BitStream *bs, s32 numSyms)
 
static GFINLINE s32 inverse_recenter (s32 r, u32 v)
 
static s32 av1_decode_unsigned_subexp_with_ref (GF_BitStream *bs, s32 mx, s32 r)
 
static s16 av1_decode_signed_subexp_with_ref (GF_BitStream *bs, s32 low, s32 high, s32 r)
 
static void av1_read_global_param (AV1State *state, GF_BitStream *bs, u8 type, u8 ref, u8 idx)
 
static s32 av1_get_relative_dist (s32 a, s32 b, AV1State *state)
 
static void av1_setup_past_independence (AV1State *state)
 
static void av1_load_previous (AV1State *state, u8 primary_ref_frame, s8 *ref_frame_idx)
 
static void av1_decode_frame_wrapup (AV1State *state)
 
static s32 find_latest_forward (u32 curFrameHint, u8 *shiftedOrderHints, u8 *usedFrame)
 
static void av1_set_frame_refs (AV1State *state, u8 last_frame_idx, u8 gold_frame_idx, s8 *ref_frame_idx)
 
static void av1_parse_uncompressed_header (GF_BitStream *bs, AV1State *state)
 
GF_EXPORT void gf_av1_init_state (AV1State *state)
 
GF_EXPORT void gf_av1_reset_state (AV1State *state, Bool is_destroy)
 
GF_EXPORT void gf_iamf_init_state (IAMFState *state)
 
GF_EXPORT void gf_iamf_reset_state (IAMFState *state, Bool is_destroy)
 
GF_Err av1_parse_tile_group (GF_BitStream *bs, AV1State *state, u64 obu_start, u64 obu_size)
 
void av1_parse_frame_header (GF_BitStream *bs, AV1State *state)
 
static GF_Err av1_parse_frame (GF_BitStream *bs, AV1State *state, u64 obu_start, u64 obu_size)
 
static void av1_parse_timecode_obu (GF_SEIInfo *sei, GF_BitStream *bs)
 
static void av1_parse_itu_t_t35_metadata (GF_BitStream *bs, AV1State *state)
 
static void av1_parse_obu_metadata (AV1State *state, GF_BitStream *bs)
 
GF_EXPORT GF_Err gf_av1_parse_obu (GF_BitStream *bs, ObuType *obu_type, u64 *obu_size, u32 *obu_hdr_size, AV1State *state)
 
GF_Err bs_av1_obu_inspect (const u8 *data, u32 size, BSAV1OBU *obu)
 
GF_EXPORT GF_Err gf_media_prores_parse_bs (GF_BitStream *bs, GF_ProResFrameInfo *prores_frame)
 
GF_EXPORT const char * gf_iamf_get_obu_name (IamfObuType obu_type)
 
static GF_Err gf_iamf_parse_obu_header (GF_BitStream *bs, IamfObuType *obu_type, u64 *obu_size, u64 *num_samples_to_trim_at_start, u64 *num_samples_to_trim_at_end)
 
static Bool iamf_is_profile_supported (u8 profile)
 
static GF_Err iamf_parse_iamf_sequence_header (GF_BitStream *bs, IAMFState *state)
 
static GF_Err iamf_parse_codec_config (GF_BitStream *bs, IAMFState *state)
 
static void iamf_parse_audio_element (GF_BitStream *bs, IAMFState *state)
 
Bool gf_media_probe_iamf (GF_BitStream *bs)
 
GF_EXPORT GF_Err gf_iamf_parse_obu (GF_BitStream *bs, IamfObuType *obu_type, u64 *obu_size, IAMFState *state)
 
static void iamf_add_obu_internal (GF_BitStream *bs, u64 pos, u64 obu_size, IamfObuType obu_type, GF_List **obu_list, IAMFState *state)
 
static void iamf_populate_state_from_obu (GF_BitStream *bs, u64 pos, u64 obu_length, IamfObuType obu_type, IAMFState *state)
 
GF_Err aom_iamf_parse_temporal_unit (GF_BitStream *bs, IAMFState *state)
 
GF_EXPORT u8 gf_mp3_version (u32 hdr)
 
GF_EXPORT const char * gf_mp3_version_name (u32 hdr)
 
GF_EXPORT u8 gf_mp3_layer (u32 hdr)
 
GF_EXPORT u8 gf_mp3_num_channels (u32 hdr)
 
GF_EXPORT u16 gf_mp3_sampling_rate (u32 hdr)
 
GF_EXPORT u16 gf_mp3_window_size (u32 hdr)
 
GF_EXPORT u8 gf_mp3_object_type_indication (u32 hdr)
 
u32 gf_mp3_bit_rate (u32 hdr)
 
GF_EXPORT u16 gf_mp3_frame_size (u32 hdr)
 
GF_EXPORT u32 gf_mp3_get_next_header (FILE *in)
 
GF_EXPORT u32 gf_mp3_get_next_header_mem (const u8 *buffer, u32 size, u32 *pos)
 
GF_EXPORT Bool gf_avcc_use_extensions (u8 profile_idc)
 
GF_EXPORT const char * gf_avc_get_profile_name (u8 video_prof)
 
GF_EXPORT const char * gf_hevc_get_profile_name (u8 video_prof)
 
GF_EXPORT const char * gf_avc_hevc_get_chroma_format_name (u8 chroma_format)
 
u32 gf_bs_read_ue_log_idx3 (GF_BitStream *bs, const char *fname, s32 idx1, s32 idx2, s32 idx3)
 
u32 gf_bs_read_ue (GF_BitStream *bs)
 
s32 gf_bs_read_se (GF_BitStream *bs)
 
s32 gf_bs_read_se_log_idx2 (GF_BitStream *bs, const char *fname, s32 idx1, s32 idx2)
 
void gf_bs_write_ue (GF_BitStream *bs, u32 num)
 
static u32 gf_get_ue_nb_bits (u32 num)
 
void gf_bs_write_se (GF_BitStream *bs, s32 num)
 
u32 gf_media_nalu_emulation_bytes_add_count (u8 *buffer, u32 nal_size)
 
u32 gf_media_nalu_add_emulation_bytes (const u8 *buffer_src, u8 *buffer_dst, u32 nal_size)
 
u32 gf_media_nalu_emulation_bytes_remove_count (const u8 *buffer, u32 nal_size)
 
GF_EXPORT u32 gf_media_nalu_remove_emulation_bytes (const u8 *buffer_src, u8 *buffer_dst, u32 nal_size)
 
GF_EXPORT u32 gf_media_nalu_next_start_code (const u8 *data, u32 data_len, u32 *sc_size)
 
Bool gf_avc_slice_is_intra (AVCState *avc)
 
static s32 avc_parse_hrd_parameters (GF_BitStream *bs, AVC_HRD *hrd)
 
static s32 gf_avc_read_sps_bs_internal (GF_BitStream *bs, AVCState *avc, u32 subseq_sps, u32 *vui_flag_pos, u32 nal_hdr)
 
GF_EXPORT s32 gf_avc_read_sps_bs (GF_BitStream *bs, AVCState *avc, u32 subseq_sps, u32 *vui_flag_pos)
 
GF_EXPORT s32 gf_avc_read_sps (const u8 *sps_data, u32 sps_size, AVCState *avc, u32 subseq_sps, u32 *vui_flag_pos)
 
static s32 gf_avc_read_pps_bs_internal (GF_BitStream *bs, AVCState *avc, u32 nal_hdr)
 
GF_EXPORT s32 gf_avc_read_pps_bs (GF_BitStream *bs, AVCState *avc)
 
GF_EXPORT s32 gf_avc_read_pps (const u8 *pps_data, u32 pps_size, AVCState *avc)
 
static s32 SVC_ReadNal_header_extension (GF_BitStream *bs, SVC_NALUHeader *NalHeader)
 
static void avc_ref_pic_list_modification (GF_BitStream *bs, u32 slice_type, Bool is_mvc)
 
static void avc_pred_weight_table (GF_BitStream *bs, u32 slice_type, u32 ChromaArrayType, u32 num_ref_idx_l0_active_minus1, u32 num_ref_idx_l1_active_minus1)
 
static void dec_ref_pic_marking (GF_BitStream *bs, Bool IdrPicFlag)
 
static s32 avc_parse_slice (GF_BitStream *bs, AVCState *avc, Bool svc_idr_flag, AVCSliceInfo *si)
 
static s32 svc_parse_slice (GF_BitStream *bs, AVCState *avc, AVCSliceInfo *si)
 
static s32 avc_parse_recovery_point_sei (GF_BitStream *bs, AVCState *avc)
 
static s32 avc_parse_pic_timing_sei (GF_BitStream *bs, AVCState *avc)
 
static s32 hevc_parse_pic_timing_sei (GF_BitStream *bs, HEVCState *hevc)
 
static void avc_parse_itu_t_t35_sei (GF_BitStream *bs, AVCSeiItuTT35DolbyVision *dovi)
 
static void avc_compute_poc (AVCSliceInfo *si)
 
GF_EXPORT s32 gf_avc_parse_nalu (GF_BitStream *bs, AVCState *avc)
 
u32 gf_avc_reformat_sei (u8 *buffer, u32 nal_size, Bool isobmf_rewrite, AVCState *avc, SEI_Filter *sei_filter)
 
static u8 avc_hevc_get_sar_idx (u32 w, u32 h)
 
static void sub_layer_hrd_parameters (GF_BitStream *bs, int subLayerId, u32 cpb_cnt, Bool sub_pic_hrd_params_present_flag, u32 idx1, u32 idx2)
 
static void hevc_parse_hrd_parameters (GF_BitStream *bs, Bool commonInfPresentFlag, int maxNumSubLayersMinus1, u32 idx)
 
static void avc_hevc_vvc_rewrite_vui (GF_VUIInfo *vui_info, GF_BitStream *orig, GF_BitStream *mod, GF_CodecID codec)
 
GF_Err gf_avc_change_vui (GF_AVCConfig *avcc, GF_VUIInfo *vui_info)
 
GF_EXPORT GF_Err gf_avc_change_par (GF_AVCConfig *avcc, s32 ar_n, s32 ar_d)
 
GF_EXPORT GF_Err gf_avc_change_color (GF_AVCConfig *avcc, s32 fullrange, s32 vidformat, s32 colorprim, s32 transfer, s32 colmatrix)
 
GF_EXPORT GF_Err gf_avc_get_sps_info (u8 *sps_data, u32 sps_size, u32 *sps_id, u32 *width, u32 *height, s32 *par_n, s32 *par_d)
 
GF_EXPORT GF_Err gf_avc_get_pps_info (u8 *pps_data, u32 pps_size, u32 *pps_id, u32 *sps_id)
 
Bool gf_hevc_slice_is_intra (HEVCState *hevc)
 
Bool gf_hevc_slice_is_IDR (HEVCState *hevc)
 
static Bool hevc_parse_short_term_ref_pic_set (GF_BitStream *bs, HEVC_SPS *sps, u32 idx_rps)
 
void hevc_pred_weight_table (GF_BitStream *bs, HEVCState *hevc, HEVCSliceInfo *si, HEVC_PPS *pps, HEVC_SPS *sps, u32 num_ref_idx_l0_active, u32 num_ref_idx_l1_active)
 
static void hevc_ref_pic_lists_modification (GF_BitStream *bs, HEVC_ReferencePictureSets *rps, u32 slice_type, u32 num_ref_idx_l0_active, u32 num_ref_idx_l1_active, u32 NumPicTotalCurr)
 
static s32 hevc_parse_slice_segment (GF_BitStream *bs, HEVCState *hevc, HEVCSliceInfo *si)
 
static void gf_hevc_push_ref_poc (HEVCSliceInfo *si, s32 poc)
 
static void gf_hevc_compute_ref_list (HEVCState *hevc, HEVCSliceInfo *si)
 
u32 gf_hevc_vvc_reformat_sei (u8 *buffer, u32 nal_size, Bool isobmf_rewrite, Bool is_hevc, SEI_Filter *sei_filter)
 
static void gf_hevc_vvc_parse_sei (char *buffer, u32 nal_size, HEVCState *hevc, VVCState *vvc)
 
void gf_hevc_parse_sei (char *buffer, u32 nal_size, HEVCState *hevc)
 
u32 gf_hevc_reformat_sei (char *buffer, u32 nal_size, Bool isobmf_rewrite, SEI_Filter *sei_filter)
 
GF_Err gf_hevc_filter_suffix_hash (char *data, u32 *nal_length, Bool keep_hash)
 
static void hevc_compute_poc (HEVCSliceInfo *si)
 
static Bool hevc_parse_nal_header (GF_BitStream *bs, u8 *nal_unit_type, u8 *temporal_id, u8 *layer_id)
 
void hevc_profile_tier_level (GF_BitStream *bs, Bool ProfilePresentFlag, u8 MaxNumSubLayersMinus1, HEVC_ProfileTierLevel *ptl, u32 idx)
 
static u32 scalability_type_to_idx (HEVC_VPS *vps, u32 scalability_type)
 
static u32 lhvc_get_scalability_id (HEVC_VPS *vps, u32 layer_id_in_vps, u32 scalability_type)
 
static u32 lhvc_get_view_index (HEVC_VPS *vps, u32 id)
 
static u32 lhvc_get_num_views (HEVC_VPS *vps)
 
static void lhvc_parse_rep_format (HEVC_RepFormat *fmt, GF_BitStream *bs, u32 idx)
 
static Bool hevc_parse_vps_extension (HEVC_VPS *vps, GF_BitStream *bs)
 
static s32 gf_hevc_read_vps_bs_internal (GF_BitStream *bs, HEVCState *hevc, Bool stop_at_vps_ext)
 
GF_EXPORT s32 gf_hevc_read_vps_ex (u8 *data, u32 *size, HEVCState *hevc, Bool remove_extensions)
 
GF_EXPORT s32 gf_hevc_read_vps (u8 *data, u32 size, HEVCState *hevc)
 
GF_EXPORT s32 gf_hevc_read_vps_bs (GF_BitStream *bs, HEVCState *hevc)
 
static void hevc_scaling_list_data (GF_BitStream *bs)
 
static s32 gf_hevc_read_sps_bs_internal (GF_BitStream *bs, HEVCState *hevc, u8 layer_id, u32 *vui_flag_pos)
 
GF_EXPORT s32 gf_hevc_read_sps_ex (char *data, u32 size, HEVCState *hevc, u32 *vui_flag_pos)
 
GF_EXPORT s32 gf_hevc_read_sps (u8 *data, u32 size, HEVCState *hevc)
 
GF_EXPORT s32 gf_hevc_read_sps_bs (GF_BitStream *bs, HEVCState *hevc)
 
static void hevc_color_map_octants (GF_BitStream *bs, u32 cm_octant_depth, u32 OctantNumY, u32 PartNumY, u32 CMResLSBits, u32 inpDepth, u32 idxY, u32 idxCb, u32 idxCr, u32 inpLength)
 
static s32 gf_hevc_read_pps_bs_internal (GF_BitStream *bs, HEVCState *hevc)
 
GF_EXPORT s32 gf_hevc_read_pps (u8 *data, u32 size, HEVCState *hevc)
 
GF_EXPORT s32 gf_hevc_read_pps_bs (GF_BitStream *bs, HEVCState *hevc)
 
GF_EXPORT s32 gf_hevc_parse_nalu_bs (GF_BitStream *bs, HEVCState *hevc, u8 *nal_unit_type, u8 *temporal_id, u8 *layer_id)
 
GF_EXPORT s32 gf_hevc_parse_nalu (u8 *data, u32 size, HEVCState *hevc, u8 *nal_unit_type, u8 *temporal_id, u8 *layer_id)
 
GF_EXPORT GF_Err gf_hevc_change_vui (GF_HEVCConfig *hvcc, GF_VUIInfo *vui_info)
 
GF_EXPORT GF_Err gf_hevc_change_par (GF_HEVCConfig *hvcc, s32 ar_n, s32 ar_d)
 
GF_EXPORT GF_Err gf_hevc_change_color (GF_HEVCConfig *hvcc, s32 fullrange, s32 vidformat, s32 colorprim, s32 transfer, s32 colmatrix)
 
GF_EXPORT GF_Err gf_hevc_get_sps_info_with_state (HEVCState *hevc, u8 *sps_data, u32 sps_size, u32 *sps_id, u32 *width, u32 *height, s32 *par_n, s32 *par_d)
 
GF_EXPORT GF_Err gf_hevc_get_sps_info (u8 *sps_data, u32 sps_size, u32 *sps_id, u32 *width, u32 *height, s32 *par_n, s32 *par_d)
 
static u32 AC3_FindSyncCode (u8 *buf, u32 buflen)
 
static Bool AC3_FindSyncCodeBS (GF_BitStream *bs)
 
GF_EXPORT u32 gf_ac3_get_total_channels (u32 acmod)
 
GF_EXPORT u32 gf_ac3_get_surround_channels (u32 acmod)
 
GF_EXPORT u32 gf_ac3_get_bitrate (u32 brcode)
 
GF_EXPORT Bool gf_ac3_parser (u8 *buf, u32 buflen, u32 *pos, GF_AC3Config *hdr, Bool full_parse)
 
GF_EXPORT Bool gf_ac3_parser_bs (GF_BitStream *bs, GF_AC3Config *hdr, Bool full_parse)
 
GF_EXPORT u64 gf_ac3_get_channel_layout (GF_AC3Config *ac3)
 
GF_EXPORT u32 gf_eac3_get_chan_loc_count (u32 chan_loc)
 
static u32 eac3_chanmap_to_chan_loc (u32 chan_map)
 
static void eac3_update_channels (GF_AC3Config *hdr)
 
static Bool gf_eac3_parser_internal (GF_BitStream *bs, GF_AC3Config *hdr, Bool full_parse)
 
GF_EXPORT Bool gf_eac3_parser_bs (GF_BitStream *bs, GF_AC3Config *hdr, Bool full_parse)
 
GF_EXPORT Bool gf_eac3_parser (u8 *buf, u32 buflen, u32 *pos, GF_AC3Config *hdr, Bool full_parse)
 
u32 gf_id3_read_size (GF_BitStream *bs)
 
static u32 vorbis_book_maptype1_quantvals (u32 entries, u32 dim)
 
static u32 ilog (u32 v, Bool dec)
 
static u32 icount (u32 v)
 
GF_EXPORT Bool gf_vorbis_parse_header (GF_VorbisParser *vp, u8 *data, u32 data_len)
 
GF_EXPORT u32 gf_vorbis_check_frame (GF_VorbisParser *vp, u8 *data, u32 data_length)
 
Bool gf_opus_parse_header (GF_OpusConfig *ocfg, u8 *data, u32 data_len)
 
u32 gf_opus_check_frame (GF_OpusConfig *ocfg, u8 *data, u32 data_length)
 
static u8 gf_opus_read_length (u8 *data, u32 data_length, u32 offset, u16 *read_length)
 
GF_EXPORT u8 gf_opus_parse_packet_header (u8 *data, u32 data_length, Bool self_delimited, GF_OpusPacketHeader *header)
 
u64 gf_mpegh_escaped_value (GF_BitStream *bs, u32 nBits1, u32 nBits2, u32 nBits3)
 
GF_EXPORT s32 gf_mpegh_get_mhas_pl (u8 *ptr, u32 size, u64 *ch_layout)
 
GF_EXPORT void gf_vvc_parse_sei (char *buffer, u32 nal_size, VVCState *vvc)
 
GF_EXPORT u32 gf_vvc_reformat_sei (char *buffer, u32 nal_size, Bool isobmf_rewrite, SEI_Filter *sei_filter)
 
static Bool vvc_parse_nal_header (GF_BitStream *bs, u8 *nal_unit_type, u8 *temporal_id, u8 *layer_id)
 
static void vvc_profile_tier_level (GF_BitStream *bs, VVC_ProfileTierLevel *ptl, u32 idx)
 
static s32 gf_vvc_read_vps_bs_internal (GF_BitStream *bs, VVCState *vvc, Bool stop_at_vps_ext)
 
static s32 vvc_parse_ref_pic_list_struct (GF_BitStream *bs, VVC_SPS *sps, u32 listIdx, u32 rplsIdx, VVC_RefPicList *rpl)
 
static void vvc_parse_general_timing_hrd_parameters (GF_BitStream *bs, VVC_SPS *sps, VVC_VPS *vps, Bool *general_nal_hrd_params_present_flag, Bool *general_vcl_hrd_params_present_flag, Bool *general_du_hrd_params_present_flag, u32 *hrd_cpb_cnt_minus1)
 
static void vvc_parse_sublayer_hrd_parameters (GF_BitStream *bs, u32 subLayerId, Bool general_du_hrd_params_present_flag, u32 hrd_cpb_cnt_minus1)
 
static void vvc_parse_ols_timing_hrd_parameters (GF_BitStream *bs, u32 firstSubLayer, u32 MaxSubLayersVal, Bool general_nal_hrd_params_present_flag, Bool general_vcl_hrd_params_present_flag, Bool general_du_hrd_params_present_flag, u32 hrd_cpb_cnt_minus1)
 
static u32 vvc_ceillog2 (u32 val)
 
static s32 gf_vvc_read_sps_bs_internal (GF_BitStream *bs, VVCState *vvc, u8 layer_id, u32 *vui_flag_pos)
 
static s32 gf_vvc_read_pps_bs_internal (GF_BitStream *bs, VVCState *vvc)
 
static s32 vvc_parse_ref_pic_lists (GF_BitStream *bs, VVCSliceInfo *si, Bool is_pic_header)
 
static s32 vvc_pred_weight_table (GF_BitStream *bs, VVCState *vvc, VVCSliceInfo *si, VVC_PPS *pps, VVC_SPS *sps, u32 *num_ref_idx_active)
 
static s32 vvc_parse_picture_header (GF_BitStream *bs, VVCState *vvc, VVCSliceInfo *si)
 
static s32 vvc_get_ctb_info_in_slice (VVCSliceInfo *si, u32 sh_slice_address, u32 sh_num_tiles_in_slice, s32 ctu_index)
 
static u32 vvc_ctb_to_tile_row_bd (VVCSliceInfo *si, u32 ctb_addr_y)
 
static u32 vvc_ctb_to_tile_col_bd (VVCSliceInfo *si, u32 ctb_addr_x)
 
static s32 vvc_get_num_entry_points (VVCSliceInfo *si, u32 sh_slice_address, u32 sh_num_tiles_in_slice)
 
static s32 vvc_parse_slice (GF_BitStream *bs, VVCState *vvc, VVCSliceInfo *si)
 
static void vvc_compute_poc (VVCSliceInfo *si, Bool poc_reset)
 
static void vvc_push_ref_poc (VVCSliceInfo *si, s32 poc)
 
static void vvc_compute_refs (VVCState *vvc, VVCSliceInfo *si)
 
GF_EXPORT s32 gf_vvc_parse_nalu_bs (GF_BitStream *bs, VVCState *vvc, u8 *nal_unit_type, u8 *temporal_id, u8 *layer_id)
 
GF_EXPORT s32 gf_vvc_parse_nalu (u8 *data, u32 size, VVCState *vvc, u8 *nal_unit_type, u8 *temporal_id, u8 *layer_id)
 
Bool gf_vvc_slice_is_ref (VVCState *vvc)
 
GF_EXPORT GF_Err gf_vvc_change_vui (GF_VVCConfig *vvcc, GF_VUIInfo *vui_info)
 
GF_EXPORT GF_Err gf_vvc_change_par (GF_VVCConfig *vvcc, s32 ar_n, s32 ar_d)
 
GF_EXPORT GF_Err gf_vvc_change_color (GF_VVCConfig *vvcc, s32 fullrange, s32 vidformat, s32 colorprim, s32 transfer, s32 colmatrix)
 
GF_EXPORT GF_Err gf_vvc_get_sps_info (u8 *sps_data, u32 sps_size, u32 *sps_id, u32 *width, u32 *height, s32 *par_n, s32 *par_d)
 
GF_EXPORT const char * gf_vvc_get_profile_name (u8 video_prof)
 
GF_Err gf_media_vc1_seq_header_to_dsi (const u8 *seq_hdr, u32 seq_hdr_len, u8 **dsi, u32 *dsi_size)
 
void gf_hevc_parse_ps (GF_HEVCConfig *hevccfg, HEVCState *hevc, u32 nal_type)
 
void gf_vvc_parse_ps (GF_VVCConfig *vvccfg, VVCState *vvc, u32 nal_type)
 
static u32 gf_ac4_variable_bits (GF_BitStream *bs, int bits)
 
static u32 gf_ac4_read_substream_index (GF_BitStream *bs)
 
static Bool gf_ac4_frame_rate_multiply_info (GF_BitStream *bs, GF_AC4PresentationV1 *pinfo, u32 frame_rate_idx)
 
static Bool gf_ac4_presentation_version (GF_BitStream *bs, GF_AC4PresentationV1 *pinfo, u8 bitstream_version)
 
static Bool gf_ac4_emdf_payloads_substream_info (GF_BitStream *bs, GF_AC4SubStream *substream)
 
static Bool gf_ac4_emdf_reserved (GF_BitStream *bs)
 
static Bool gf_ac4_emdf_info (GF_BitStream *bs, GF_List *substreams_list, u32 *emdf_version, u32 *key_id)
 
static Bool gf_ac4_frame_rate_fractions_info (GF_BitStream *bs, GF_AC4PresentationV1 *pinfo, u32 frame_rate_index)
 
static Bool gf_ac4_get_channel_mode (GF_BitStream *bs, GF_AC4SubStream *substream, u32 presentation_version, u8 *immersive_audio_indicator_ims)
 
static Bool gf_ac4_dsi_sf_mutiplier (GF_BitStream *bs, GF_AC4SubStream *substream, u32 fs_index)
 
static Bool gf_ac4_bitreate_indicator (GF_BitStream *bs, GF_AC4SubStream *substream)
 
static Bool gf_compare_ch_mode (const u32 ch_mode, const u32 *list, const u32 n)
 
static Bool gf_ac4_substream_info_chan (GF_BitStream *bs, GF_AC4SubStream *substream, u32 presentation_version, u8 default_presentation_flag, u32 fs_index, u32 *speaker_index_mask, u32 frame_rate_factor, u8 b_substreams_present, u8 *immersive_audio_indicator_ims)
 
static Bool gf_ac4_hsf_ext_substream_info (GF_BitStream *bs, GF_AC4SubStream *substream, u8 b_substreams_present)
 
static Bool gf_ac4_oamd_substream_info (GF_BitStream *bs, GF_AC4SubStream *substream, u8 b_substreams_present)
 
static Bool gf_ac4_bed_dyn_obj_assignment (GF_BitStream *bs, GF_AC4SubStream *substream, GF_AC4BedChannelAssignment *bed_dyn_obj, u32 n_signals, Bool is_upmix)
 
static Bool gf_ac4_trim (GF_BitStream *bs)
 
static Bool gf_ac4_tool_t2_to_f_s_b (GF_BitStream *bs)
 
static Bool gf_ac4_tool_t2_to_f_s (GF_BitStream *bs)
 
static Bool gf_ac4_tool_tb_to_f_s_b (GF_BitStream *bs)
 
static Bool gf_ac4_tool_tb_to_f_s (GF_BitStream *bs)
 
static Bool gf_ac4_tool_tf_to_f_s_b (GF_BitStream *bs)
 
static Bool gf_ac4_tool_tf_to_f_s (GF_BitStream *bs)
 
static Bool gf_ac4_stereo_dmx_coeff (GF_BitStream *bs)
 
static Bool gf_ac4_bed_render_info (GF_BitStream *bs)
 
static Bool gf_ac4_headphone (GF_BitStream *bs)
 
static Bool gf_ac4_oamd_common_data (GF_BitStream *bs)
 
static u32 gf_ac4_convert_mask_to_ch (u32 mask)
 
static u32 gf_ac4_get_obj_channel_mask (GF_AC4SubStream *substream)
 
static Bool gf_ac4_substream_info_ajoc (GF_BitStream *bs, GF_AC4SubStream *substream, u32 *channel_count, u8 default_presentation_flag, u32 fs_index, u32 frame_rate_factor, u8 b_substreams_present)
 
static u32 gf_ac4_objs_to_channel_mode (u32 n_objects)
 
static Bool gf_ac4_substream_info_obj (GF_BitStream *bs, GF_AC4SubStream *substream, u32 *channel_count, u8 default_presentation_flag, u32 fs_index, u32 frame_rate_factor, u8 b_substreams_present)
 
static Bool gf_ac4_content_type (GF_BitStream *bs, GF_AC4SubStreamGroupV1 *ginfo)
 
static Bool gf_ac4_substream_group_info (GF_BitStream *bs, GF_AC4SubStreamGroupV1 *ginfo, u8 bitstream_version, u8 presentation_version, u8 default_presentation_flag, u32 frame_rate_factor, u32 fs_index, u32 *channel_count, u32 *speaker_index_mask, u32 *b_obj_or_ajoc)
 
static Bool gf_ac4_presentation_config_ext_info (GF_BitStream *bs, GF_AC4PresentationV1 *pinfo, u8 bitstream_version)
 
static Bool gf_ac4_presentation_substream_info (GF_BitStream *bs, GF_AC4SubStream *substream)
 
static Bool gf_ac4_sgi_specifier (GF_BitStream *bs, GF_List *idx_list, u8 bitstream_version, u32 *group_index)
 
static Bool gf_ac4_presentation_v1_info (GF_BitStream *bs, GF_AC4PresentationV1 *pinfo, u8 bitstream_version, u32 frame_rate_index, u32 *max_group_index)
 
static GF_AC4PresentationV1 * gf_ac4_get_presentation_by_substreamgroup (GF_AC4StreamInfo *stream, u32 idx)
 
static Bool gf_ac4_is_substream_group_part_of_default_presentation (GF_List *presentation_v1, u32 idx)
 
static u32 gf_ac4_get_channel_count_from_speaker_group_index_mask (u32 mask)
 
static s32 gf_ac4_cfg_super_set (s32 lvalue, s32 rvalue)
 
static u32 gf_ac4_convert_obj_channel_mask_to_ch_mode (u32 channel_mask)
 
static u32 gf_ac4_convert_obj_channel_mask_to_channel_mask_v1 (u32 mask)
 
static Bool gf_ac4_is_lf_substream (GF_AC4SubStream *substream)
 
static s32 gf_ac4_assign_presentation_channel (GF_AC4PresentationV1 *p)
 
static u8 gf_ac4_pres_b_4_back_channels_present (GF_AC4PresentationV1 *p)
 
static u8 gf_ac4_pres_top_channel_pairs (GF_AC4PresentationV1 *p)
 
static s32 gf_ac4_get_ch_mode_core (u8 b_channel_coded, u8 b_ajoc, u8 b_static_dmx, u8 b_lfe, u32 ch_mode)
 
static s32 gf_ac4_get_b_presentation_core_differs (GF_AC4PresentationV1 *p, s32 pres_ch_mode)
 
static Bool gf_ac4_assign_substream_info (u32 index, GF_AC4SubStreamInfo *info, GF_List *hdr_p_list, GF_List *parsed_substream_groups)
 
static u32 gf_ac4_substream_index_table (GF_BitStream *bs, GF_List *substream_index_table, GF_List *hdr_p_list, GF_List *parsed_substream_groups)
 
static Bool gf_ac4_de_config (GF_BitStream *bs, GF_AC4SubStream *substream)
 
static u32 gf_ac4_huff_decode_diff (const u32 *cw, u32 code)
 
static u32 gf_ac4_de_abs_huffman (u8 table_idx, u32 code)
 
static u32 gf_ac4_de_diff_huffman (u8 table_idx, u32 code)
 
static u32 gf_ac4_de_read_abs_huffman (GF_BitStream *bs, u8 table_idx)
 
static u32 gf_ac4_de_read_diff_huffman (GF_BitStream *bs, u8 table_idx)
 
static Bool gf_ac4_de_data (GF_BitStream *bs, u8 de_method, u8 de_nr_channels, u8 b_iframe, u8 b_de_simulcast)
 
static Bool gf_ac4_dialog_enhancement (GF_BitStream *bs, GF_AC4SubStream *substream, u8 b_iframe)
 
static Bool gf_ac4_channel_mode_contains_Lfe (u32 ch_mode)
 
static Bool gf_ac4_further_loudness_info (GF_BitStream *bs, u8 sus_ver, u8 b_presentation_ldn)
 
static Bool gf_ac4_basic_metadata (GF_BitStream *bs, GF_AC4SubStream *substream)
 
static Bool gf_ac4_extended_metadata (GF_BitStream *bs, GF_AC4SubStream *substream, GF_AC4PresentationV1 *presentation)
 
static Bool gf_ac4_dialog_enhancement_info (GF_BitStream *bs, GF_AC4SubStream *substream)
 
static Bool gf_ac4_emdf_payloads_substream (GF_BitStream *bs, GF_AC4SubStream *substream)
 
static Bool gf_ac4_ext_prec_pos (GF_BitStream *bs)
 
static Bool gf_ac4_ext_prec_alt_pos (GF_BitStream *bs, u32 n_objs, u8 b_keep, u32 *obj_type, u32 *b_lfe)
 
static Bool gf_ac4_object_basic_info (GF_BitStream *bs)
 
static Bool gf_ac4_object_render_info (GF_BitStream *bs, u32 object_render_info_status, u8 b_no_delta)
 
static Bool gf_ac4_object_info_block (GF_BitStream *bs, u8 b_no_delta, u8 b_dynamic_object)
 
static Bool gf_ac4_oamd_dyndata_single (GF_BitStream *bs, GF_AC4SubStream *substream, GF_AC4PresentationV1 *presentation)
 
static Bool gf_ac4_metadata (GF_BitStream *bs, GF_AC4SubStream *substream, GF_AC4PresentationV1 *presentation)
 
static Bool gf_ac4_substream (GF_BitStream *bs, GF_AC4SubStream *substream, GF_AC4PresentationV1 *presentation)
 
static Bool gf_ac4_presentation_substream (GF_BitStream *bs, GF_AC4PresentationV1 *presentation)
 
static Bool gf_ac4_raw_frame (GF_BitStream *bs, GF_AC4Config *hdr, Bool full_parse)
 
static Bool AC4_FindSyncCodeBS (GF_BitStream *bs)
 
static u32 AC4_FindSyncCode (u8 *buf, u32 buflen)
 
GF_EXPORT Bool gf_ac4_parser (u8 *buf, u32 buflen, u32 *pos, GF_AC4Config *hdr, Bool full_parse, Bool start_from_toc)
 
static Bool gf_ac4_frame_size (GF_BitStream *bs, GF_AC4Config *hdr)
 
GF_EXPORT Bool gf_ac4_parser_bs (GF_BitStream *bs, GF_AC4Config *hdr, Bool full_parse, Bool start_from_toc)
 

Variables

struct { 
 
u32 w
 
u32 h
 
} std_par [] 
 
struct __m4v_profile M4VProfiles []
 
struct { 
 
u32 w
 
u32 h
 
} m4v_sar [6] = { { 0, 0 }, { 1, 1 }, { 12, 11 }, { 10, 11 }, { 16, 11 }, { 40, 33 } } 
 
struct __m4a_oti M4AObjectTypes []
 
struct __m4a_profile M4AProfiles []
 
static const int VP9_CS_to_23001_8_colour_primaries [] = { 2, 5, 1, 6, 7, 9, -1, 1 }
 
static const int VP9_CS_to_23001_8_transfer_characteristics [] = { 2, 5, 1, 6, 7, 9, -1, 13 }
 
static const int VP9_CS_to_23001_8_matrix_coefficients [] = { 2, 6, 1, -1, -1, 9, -1, 0 }
 
static const int segmentation_feature_bits [VP9_SEG_LVL_MAX] = { 8, 6, 2, 0 }
 
static const int segmentation_feature_signed [VP9_SEG_LVL_MAX] = { 1, 1, 0, 0 }
 
static u8 Segmentation_Feature_Bits [] = { 8,6,6,6,6,3,0,0 }
 
static u8 Segmentation_Feature_Signed [] = { 1, 1, 1, 1, 1, 0, 0, 0 }
 
static u32 const bitrate_table [5][15]
 
struct { 
 
u32 w
 
u32 h
 
} avc_hevc_sar [] 
 
struct { 
 
u32 w
 
u32 h
 
} hevc_sar [17] 
 
static const u32 ac3_sizecod_to_bitrate []
 
static const u32 ac3_sizecod2_to_framesize []
 
static const u32 ac3_sizecod1_to_framesize []
 
static const u32 ac3_sizecod0_to_framesize []
 
static const u32 ac3_mod_to_total_chans []
 
static const u32 ac3_mod_to_surround_chans []
 
const s32 AC4_SPEAKER_GROUP_INDEX_MASK_BY_CH_MODE []
 
const unsigned char AC4_SUPER_SET_CH_MODE [GF_AP4_CH_MODE_LENGTH][GF_AP4_CH_MODE_LENGTH]
 
const u32 AC4_SAMPLING_FREQ_TABLE []
 
const u32 AC4_SAMPLE_DELTA_TABLE_48 []
 
const u32 AC4_SAMPLE_DELTA_TABLE_441 []
 
const u32 AC4_MEDIA_TIMESCALE_48 []
 
const u32 AC4_MEDIA_TIMESCALE_441 []
 
const u32 GF_AC4_DE_HCB_ABS_0_LEN [32]
 
const u32 GF_AC4_DE_HCB_ABS_0_CW [32]
 
const u32 GF_AC4_DE_HCB_DIFF_0_LEN [63]
 
const u32 GF_AC4_DE_HCB_DIFF_0_CW [63]
 
const u32 GF_AC4_DE_HCB_ABS_1_LEN [61]
 
const u32 GF_AC4_DE_HCB_ABS_1_CW [61]
 
const u32 GF_AC4_DE_HCB_DIFF_1_LEN [121]
 
const u32 GF_AC4_DE_HCB_DIFF_1_CW [121]
 

Data Structure Documentation

◆ __m4v_profile

struct __m4v_profile
Data Fields
u32 value
const char * name

◆ __tag_m4v_parser

struct __tag_m4v_parser

MPEG (1,2,4) visual object parser (DSI extraction and timing/framing)

Data Fields
GF_BitStream * bs
Bool mpeg12
Bool step_mode
u32 current_object_type
u32 force_next_obj_type
u64 current_object_start
u32 tc_dec
u32 prev_tc_dec
u32 tc_disp
u32 prev_tc_disp

◆ __m4a_oti

struct __m4a_oti
Data Fields
u32 type
const char * name

◆ __m4a_profile

struct __m4a_profile
Data Fields
u32 value
const char * name

Macro Definition Documentation

◆ gf_bs_log

#define gf_bs_log (   _bs,
  _nBits,
  _fname,
  _val 
)    gf_bs_log_idx(_bs, _nBits, _fname, _val, -1, -1, -1)

◆ gf_bs_read_int_log

#define gf_bs_read_int_log (   _bs,
  _nBits,
  _fname 
)    gf_bs_read_int_log_idx3(_bs, _nBits, _fname, -1, -1, -1)

◆ gf_bs_read_int_log_idx

#define gf_bs_read_int_log_idx (   _bs,
  _nBits,
  _fname,
  _idx 
)    gf_bs_read_int_log_idx3(_bs, _nBits, _fname, _idx, -1, -1)

◆ gf_bs_read_int_log_idx2

#define gf_bs_read_int_log_idx2 (   _bs,
  _nBits,
  _fname,
  _idx1,
  _idx2 
)    gf_bs_read_int_log_idx3(_bs, _nBits, _fname, (s32) _idx1, (s32) _idx2, -1)

◆ MPEG12_START_CODE_PREFIX

#define MPEG12_START_CODE_PREFIX   0x000001

◆ MPEG12_PICTURE_START_CODE

#define MPEG12_PICTURE_START_CODE   0x00000100

◆ MPEG12_SLICE_MIN_START

#define MPEG12_SLICE_MIN_START   0x00000101

◆ MPEG12_SLICE_MAX_START

#define MPEG12_SLICE_MAX_START   0x000001af

◆ MPEG12_USER_DATA_START_CODE

#define MPEG12_USER_DATA_START_CODE   0x000001b2

◆ MPEG12_SEQUENCE_START_CODE

#define MPEG12_SEQUENCE_START_CODE   0x000001b3

◆ MPEG12_SEQUENCE_ERR_START_CODE

#define MPEG12_SEQUENCE_ERR_START_CODE   0x000001b4

◆ MPEG12_EXT_START_CODE

#define MPEG12_EXT_START_CODE   0x000001b5

◆ MPEG12_SEQUENCE_END_START_CODE

#define MPEG12_SEQUENCE_END_START_CODE   0x000001b7

◆ MPEG12_GOP_START_CODE

#define MPEG12_GOP_START_CODE   0x000001b8

◆ M4V_CACHE_SIZE

#define M4V_CACHE_SIZE   4096

◆ IVF_FILE_HEADER_SIZE

#define IVF_FILE_HEADER_SIZE   32

◆ VP9_MAX_SEGMENTS

#define VP9_MAX_SEGMENTS   8

◆ VP9_SEG_LVL_MAX

#define VP9_SEG_LVL_MAX   4

◆ VP9_MIN_TILE_WIDTH_B64

#define VP9_MIN_TILE_WIDTH_B64   4

◆ VP9_MAX_TILE_WIDTH_B64

#define VP9_MAX_TILE_WIDTH_B64   64

◆ VP9_KEY_FRAME

#define VP9_KEY_FRAME   0

◆ OBU_BLOCK_SIZE

#define OBU_BLOCK_SIZE   4096

◆ AV1_NUM_REF_FRAMES

#define AV1_NUM_REF_FRAMES   8

◆ AV1_ALL_FRAMES

#define AV1_ALL_FRAMES   ((1 << AV1_NUM_REF_FRAMES) - 1)

◆ AV1_SUPERRES_DENOM_MIN

#define AV1_SUPERRES_DENOM_MIN   9

◆ AV1_SUPERRES_DENOM_BITS

#define AV1_SUPERRES_DENOM_BITS   3

◆ AV1_SUPERRES_NUM

#define AV1_SUPERRES_NUM   8

◆ AV1_REFS_PER_FRAME

#define AV1_REFS_PER_FRAME   7

◆ AV1_PRIMARY_REF_NONE

#define AV1_PRIMARY_REF_NONE   7

◆ MAX_TILE_WIDTH

#define MAX_TILE_WIDTH   4096

◆ MAX_TILE_AREA

#define MAX_TILE_AREA   (4096 * 2304)

◆ AV1_GMC_IDENTITY

#define AV1_GMC_IDENTITY   0

◆ AV1_GMC_TRANSLATION

#define AV1_GMC_TRANSLATION   1

◆ AV1_GMC_ROTZOOM

#define AV1_GMC_ROTZOOM   2

◆ AV1_GMC_AFFINE

#define AV1_GMC_AFFINE   3

◆ AV1_LAST_FRAME

#define AV1_LAST_FRAME   1

◆ AV1_LAST2_FRAME

#define AV1_LAST2_FRAME   2

◆ AV1_LAST3_FRAME

#define AV1_LAST3_FRAME   3

◆ AV1_GOLDEN_FRAME

#define AV1_GOLDEN_FRAME   4

◆ AV1_BWDREF_FRAME

#define AV1_BWDREF_FRAME   5

◆ AV1_ALTREF2_FRAME

#define AV1_ALTREF2_FRAME   6

◆ AV1_ALTREF_FRAME

#define AV1_ALTREF_FRAME   7

◆ GM_ABS_ALPHA_BITS

#define GM_ABS_ALPHA_BITS   12

◆ GM_ALPHA_PREC_BITS

#define GM_ALPHA_PREC_BITS   15

◆ GM_ABS_TRANS_ONLY_BITS

#define GM_ABS_TRANS_ONLY_BITS   9

◆ GM_TRANS_ONLY_PREC_BITS

#define GM_TRANS_ONLY_PREC_BITS   3

◆ GM_ABS_TRANS_BITS

#define GM_ABS_TRANS_BITS   12

◆ GM_TRANS_PREC_BITS

#define GM_TRANS_PREC_BITS   6

◆ WARPEDMODEL_PREC_BITS

#define WARPEDMODEL_PREC_BITS   16

◆ gf_bs_read_ue_log_idx2

#define gf_bs_read_ue_log_idx2 (   _bs,
  _fname,
  _idx1,
  _idx2 
)    gf_bs_read_ue_log_idx3(_bs, _fname, (s32) _idx1, (s32) _idx2, -1)

◆ gf_bs_read_ue_log_idx

#define gf_bs_read_ue_log_idx (   _bs,
  _fname,
  _idx 
)    gf_bs_read_ue_log_idx3(_bs, _fname, (s32) _idx, -1, -1)

◆ gf_bs_read_ue_log

#define gf_bs_read_ue_log (   _bs,
  _fname 
)    gf_bs_read_ue_log_idx3(_bs, _fname, -1, -1, -1)

◆ gf_bs_read_se_log_idx

#define gf_bs_read_se_log_idx (   _bs,
  _fname,
  _idx 
)    gf_bs_read_se_log_idx2(_bs, _fname, (s32) _idx, -1)

◆ gf_bs_read_se_log

#define gf_bs_read_se_log (   _bs,
  _fname 
)    gf_bs_read_se_log_idx2(_bs, _fname, -1, -1)

◆ AVC_SPS_BROKEN

#define AVC_SPS_BROKEN
Value:
{\
memset(sps, 0, sizeof(AVC_SPS)); \
return -1;\
}
Definition media_dev.h:144

◆ AVC_PPS_BROKEN

#define AVC_PPS_BROKEN
Value:
{\
memset(pps, 0, sizeof(AVC_PPS)); \
return -1;\
}
Definition media_dev.h:180

◆ LHVC_VIEW_ORDER_INDEX

#define LHVC_VIEW_ORDER_INDEX   1

◆ LHVC_SCALABILITY_INDEX

#define LHVC_SCALABILITY_INDEX   2

◆ HEVC_VPS_BROKEN

#define HEVC_VPS_BROKEN
Value:
{\
memset(vps, 0, sizeof(HEVC_VPS)); \
return -1;\
}
Definition media_dev.h:519

◆ HEVC_SPS_BROKEN

#define HEVC_SPS_BROKEN
Value:
{\
memset(sps, 0, sizeof(HEVC_SPS)); \
return -1;\
}
Definition media_dev.h:419

◆ HEVC_PPS_BROKEN

#define HEVC_PPS_BROKEN
Value:
{\
memset(pps, 0, sizeof(HEVC_PPS)); \
return -1;\
}
Definition media_dev.h:475

◆ VVC_VPS_BROKEN

#define VVC_VPS_BROKEN
Value:
{\
memset(vps, 0, sizeof(VVC_VPS)); \
return -1;\
}
Definition media_dev.h:818

◆ VVC_SPS_BROKEN

#define VVC_SPS_BROKEN
Value:
{\
memset(sps, 0, sizeof(VVC_SPS)); \
return -1;\
}
Definition media_dev.h:704

◆ VVC_PPS_BROKEN

#define VVC_PPS_BROKEN
Value:
{\
memset(pps, 0, sizeof(VVC_PPS)); \
return -1;\
}
Definition media_dev.h:763

◆ AC4_CH_MODE_MONO

#define AC4_CH_MODE_MONO   0

◆ AC4_CH_MODE_STEREO

#define AC4_CH_MODE_STEREO   1

◆ AC4_CH_MODE_3_0

#define AC4_CH_MODE_3_0   2

◆ AC4_CH_MODE_5_0

#define AC4_CH_MODE_5_0   3

◆ AC4_CH_MODE_5_1

#define AC4_CH_MODE_5_1   4

◆ AC4_CH_MODE_7_0_34

#define AC4_CH_MODE_7_0_34   5

◆ AC4_CH_MODE_7_1_34

#define AC4_CH_MODE_7_1_34   6

◆ AC4_CH_MODE_7_0_52

#define AC4_CH_MODE_7_0_52   7

◆ AC4_CH_MODE_7_1_52

#define AC4_CH_MODE_7_1_52   8

◆ AC4_CH_MODE_7_0_322

#define AC4_CH_MODE_7_0_322   9

◆ AC4_CH_MODE_7_1_322

#define AC4_CH_MODE_7_1_322   10

◆ AC4_CH_MODE_7_0_4

#define AC4_CH_MODE_7_0_4   11

◆ AC4_CH_MODE_7_1_4

#define AC4_CH_MODE_7_1_4   12

◆ AC4_CH_MODE_9_0_4

#define AC4_CH_MODE_9_0_4   13

◆ AC4_CH_MODE_9_1_4

#define AC4_CH_MODE_9_1_4   14

◆ AC4_CH_MODE_22_2

#define AC4_CH_MODE_22_2   15

◆ AC4_CH_MODE_RESERVED

#define AC4_CH_MODE_RESERVED   16

◆ GF_AP4_CH_MODE_LENGTH

#define GF_AP4_CH_MODE_LENGTH   16 /* AC-4 ch_mode length */

◆ GF_AC4_CHECK_N_OBJS_ARRAY_SIZE

#define GF_AC4_CHECK_N_OBJS_ARRAY_SIZE (   n)
Value:
{ \
if (substream->n_objs >= n) { \
GF_LOG(GF_LOG_ERROR, GF_LOG_CODING, ("[AC4] Number of objects exceeds maximum supported (%d)\n", n)); \
return GF_FALSE; \
} \
}
@ GF_LOG_CODING
Definition tools.h:886
@ GF_LOG_ERROR
Definition tools.h:849
@ GF_FALSE
Definition setup.h:484

Enumeration Type Documentation

◆ VP9_color_space

Enumerator
CS_UNKNOWN 
CS_BT_601 
CS_BT_709 
CS_SMPTE_170 
CS_SMPTE_240 
CS_BT_2020 
CS_RESERVED 
CS_RGB 

◆ anonymous enum

anonymous enum
Enumerator
AV1_RESTORE_NONE 
AV1_RESTORE_SWITCHABLE 
AV1_RESTORE_WIENER 
AV1_RESTORE_SGRPROJ 

Function Documentation

◆ gf_bs_log_idx()

void gf_bs_log_idx ( GF_BitStream *  bs,
u32  nBits,
const char *  fname,
s64  val,
s32  idx1,
s32  idx2,
s32  idx3 
)
+ Here is the caller graph for this function:

◆ gf_bs_read_int_log_idx3()

static u32 gf_bs_read_int_log_idx3 ( GF_BitStream *  bs,
u32  nBits,
const char *  fname,
s32  idx1,
s32  idx2,
s32  idx3 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_m4v_parser_set_inspect()

GF_EXPORT void gf_m4v_parser_set_inspect ( GF_M4VParser *  m4v)
+ Here is the caller graph for this function:

◆ gf_m4v_parser_get_obj_type()

GF_EXPORT u32 gf_m4v_parser_get_obj_type ( GF_M4VParser *  m4v)
+ Here is the caller graph for this function:

◆ M4V_LoadObject()

s32 M4V_LoadObject ( GF_M4VParser *  m4v)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ M4V_Reset()

static GF_Err M4V_Reset ( GF_M4VParser *  m4v,
u64  start 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_m4v_parse_config_mpeg12()

static GF_Err gf_m4v_parse_config_mpeg12 ( GF_M4VParser *  m4v,
GF_M4VDecSpecInfo *  dsi 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ m4v_get_sar_idx()

static u8 m4v_get_sar_idx ( u32  w,
u32  h 
)
static
+ Here is the caller graph for this function:

◆ gf_m4v_parse_vol()

static void gf_m4v_parse_vol ( GF_M4VParser *  m4v,
GF_M4VDecSpecInfo *  dsi 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_m4v_parse_config_mpeg4()

static GF_Err gf_m4v_parse_config_mpeg4 ( GF_M4VParser *  m4v,
GF_M4VDecSpecInfo *  dsi 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_m4v_parse_frame_mpeg12()

static GF_Err gf_m4v_parse_frame_mpeg12 ( GF_M4VParser *  m4v,
GF_M4VDecSpecInfo *  dsi,
u8 *  frame_type,
u32 *  time_inc,
u64 *  size,
u64 *  start,
Bool *  is_coded 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_m4v_parse_frame_mpeg4()

static GF_Err gf_m4v_parse_frame_mpeg4 ( GF_M4VParser *  m4v,
GF_M4VDecSpecInfo *  dsi,
u8 *  frame_type,
u32 *  time_inc,
u64 *  size,
u64 *  start,
Bool *  is_coded 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_latm_get_value()

u32 gf_latm_get_value ( GF_BitStream *  bs)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_read_ns()

static u32 av1_read_ns ( GF_BitStream *  bs,
u32  n,
const char *  fname 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_color_config()

static void av1_color_config ( GF_BitStream *  bs,
AV1State *  state 
)
static
+ Here is the caller graph for this function:

◆ av1_uvlc()

static u32 av1_uvlc ( GF_BitStream *  bs,
const char *  fname 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ timing_info()

static void timing_info ( GF_BitStream *  bs,
AV1State *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ decoder_model_info()

static void decoder_model_info ( AV1State *  state,
GF_BitStream *  bs 
)
static
+ Here is the caller graph for this function:

◆ operating_parameters_info()

static void operating_parameters_info ( GF_BitStream *  bs,
const u8  idx,
const u8  buffer_delay_length_minus_1 
)
static
+ Here is the caller graph for this function:

◆ av1_bit_position()

u64 av1_bit_position ( GF_BitStream *  bs)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_parse_sequence_header_obu()

void av1_parse_sequence_header_obu ( GF_BitStream *  bs,
AV1State *  state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_media_probe_ivf()

Bool gf_media_probe_ivf ( GF_BitStream *  bs)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_media_parse_ivf_file_header()

GF_Err gf_media_parse_ivf_file_header ( GF_BitStream *  bs,
u32 *  width,
u32 *  height,
u32 *  codec_fourcc,
u32 *  timebase_num,
u32 *  timebase_den,
u32 *  num_frames 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_media_parse_ivf_frame_header()

GF_Err gf_media_parse_ivf_frame_header ( GF_BitStream *  bs,
u64 *  frame_size,
u64 *  pts 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vp9_parse_superframe()

GF_Err gf_vp9_parse_superframe ( GF_BitStream *  bs,
u64  ivf_frame_size,
u32 *  num_frames_in_superframe,
u32  frame_sizes[VP9_MAX_FRAMES_IN_SUPERFRAME],
u32 *  superframe_index_size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vp9_frame_sync_code()

static Bool vp9_frame_sync_code ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ vp9_color_config()

static GF_Err vp9_color_config ( GF_BitStream *  bs,
GF_VPConfig *  vp9_cfg 
)
static
+ Here is the caller graph for this function:

◆ vp9_compute_image_size()

static void vp9_compute_image_size ( int  FrameWidth,
int  FrameHeight,
int *  Sb64Cols,
int *  Sb64Rows 
)
static
+ Here is the caller graph for this function:

◆ vp9_frame_size()

static void vp9_frame_size ( GF_BitStream *  bs,
int *  FrameWidth,
int *  FrameHeight,
int *  Sb64Cols,
int *  Sb64Rows 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vp9_render_size()

static void vp9_render_size ( GF_BitStream *  bs,
int  FrameWidth,
int  FrameHeight,
int *  renderWidth,
int *  renderHeight 
)
static
+ Here is the caller graph for this function:

◆ vp9_s()

static s64 vp9_s ( GF_BitStream *  bs,
int  n,
const char *  fname,
u32  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vp9_loop_filter_params()

static void vp9_loop_filter_params ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vp9_delta_q()

static void vp9_delta_q ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ vp9_quantization_params()

static void vp9_quantization_params ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vp9_read_prob()

static void vp9_read_prob ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ vp9_segmentation_params()

static void vp9_segmentation_params ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_min_log2_tile_cols()

static int calc_min_log2_tile_cols ( int  Sb64Cols)
static
+ Here is the caller graph for this function:

◆ calc_max_log2_tile_cols()

static int calc_max_log2_tile_cols ( int  Sb64Cols)
static
+ Here is the caller graph for this function:

◆ vp9_tile_info()

static void vp9_tile_info ( GF_BitStream *  bs,
int  Sb64Cols 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vp9_frame_size_with_refs()

static void vp9_frame_size_with_refs ( GF_BitStream *  bs,
u8  refresh_frame_flags,
u8 *  ref_frame_idx,
int *  RefFrameWidth,
int *  RefFrameHeight,
int *  FrameWidth,
int *  FrameHeight,
int *  RenderWidth,
int *  RenderHeight,
int *  Sb64Cols,
int *  Sb64Rows 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vp9_read_interpolation_filter()

static void vp9_read_interpolation_filter ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_vp9_parse_sample()

GF_Err gf_vp9_parse_sample ( GF_BitStream *  bs,
GF_VPConfig *  vp9_cfg,
Bool *  key_frame,
u32 *  FrameWidth,
u32 *  FrameHeight,
u32 *  renderWidth,
u32 *  renderHeight 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_av1_format_mdcv_to_mpeg()

void gf_av1_format_mdcv_to_mpeg ( u8  mdcv_in[24],
u8  mdcv_out[24] 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_av1_parse_obu_header()

GF_EXPORT GF_Err gf_av1_parse_obu_header ( GF_BitStream *  bs,
ObuType *  obu_type,
Bool *  obu_extension_flag,
Bool *  obu_has_size_field,
u8 *  temporal_id,
u8 *  spatial_id 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_is_obu_header()

Bool av1_is_obu_header ( ObuType  obu_type)
+ Here is the caller graph for this function:

◆ av1_is_obu_frame()

static Bool av1_is_obu_frame ( AV1State *  state,
ObuType  obu_type 
)
static
+ Here is the caller graph for this function:

◆ iamf_is_audio_frame_obu()

Bool iamf_is_audio_frame_obu ( IamfObuType  obu_type)
+ Here is the caller graph for this function:

◆ iamf_is_temporal_unit_obu()

Bool iamf_is_temporal_unit_obu ( IamfObuType  obu_type)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ iamf_is_descriptor_obu()

Bool iamf_is_descriptor_obu ( IamfObuType  obu_type)
+ Here is the caller graph for this function:

◆ gf_av1_leb128_read()

GF_EXPORT u64 gf_av1_leb128_read ( GF_BitStream *  bs,
u8 *  opt_Leb128Bytes 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_av1_leb128_size()

u32 gf_av1_leb128_size ( u64  value)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_av1_leb128_write()

u64 gf_av1_leb128_write ( GF_BitStream *  bs,
u64  value 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_add_obu_internal()

static void av1_add_obu_internal ( GF_BitStream *  bs,
u64  pos,
u64  obu_length,
ObuType  obu_type,
GF_List **  obu_list,
AV1State *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_populate_state_from_obu()

static void av1_populate_state_from_obu ( GF_BitStream *  bs,
u64  pos,
u64  obu_length,
ObuType  obu_type,
AV1State *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ aom_av1_parse_temporal_unit_from_section5()

GF_Err aom_av1_parse_temporal_unit_from_section5 ( GF_BitStream *  bs,
AV1State *  state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_media_aom_probe_annexb()

Bool gf_media_aom_probe_annexb ( GF_BitStream *  bs)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ aom_av1_parse_temporal_unit_from_annexb()

GF_Err aom_av1_parse_temporal_unit_from_annexb ( GF_BitStream *  bs,
AV1State *  state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ aom_av1_parse_temporal_unit_from_ivf()

GF_Err aom_av1_parse_temporal_unit_from_ivf ( GF_BitStream *  bs,
AV1State *  state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ aom_av1_tile_log2()

u32 aom_av1_tile_log2 ( u32  blkSize,
u32  target 
)
+ Here is the caller graph for this function:

◆ aom_av1_le()

static u64 aom_av1_le ( GF_BitStream *  bs,
u32  n,
const char *  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_parse_tile_info()

static void av1_parse_tile_info ( GF_BitStream *  bs,
AV1State *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ superres_params()

static void superres_params ( GF_BitStream *  bs,
AV1State *  state 
)
static
+ Here is the caller graph for this function:

◆ av1_frame_size()

static void av1_frame_size ( GF_BitStream *  bs,
AV1State *  state,
Bool  frame_size_override_flag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_render_size()

static void av1_render_size ( GF_BitStream *  bs,
AV1State *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read_interpolation_filter()

static void read_interpolation_filter ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ frame_size_with_refs()

static void frame_size_with_refs ( GF_BitStream *  bs,
AV1State *  state,
Bool  frame_size_override_flag,
s8 *  ref_frame_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_delta_q()

static s32 av1_delta_q ( GF_BitStream *  bs,
const char *  name_flag,
const char *  name 
)
static
+ Here is the caller graph for this function:

◆ av1_get_qindex()

static u8 av1_get_qindex ( Bool  ignoreDeltaQ,
u32  segmentId,
u32  base_q_idx,
u32  delta_q_present,
u32  CurrentQIndex,
Bool  segmentation_enabled,
u8 *  features_SEG_LVL_ALT_Q_enabled,
s32 *  features_SEG_LVL_ALT_Q 
)
static
+ Here is the caller graph for this function:

◆ av1_decode_subexp()

static u32 av1_decode_subexp ( GF_BitStream *  bs,
s32  numSyms 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inverse_recenter()

static GFINLINE s32 inverse_recenter ( s32  r,
u32  v 
)
static
+ Here is the caller graph for this function:

◆ av1_decode_unsigned_subexp_with_ref()

static s32 av1_decode_unsigned_subexp_with_ref ( GF_BitStream *  bs,
s32  mx,
s32  r 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_decode_signed_subexp_with_ref()

static s16 av1_decode_signed_subexp_with_ref ( GF_BitStream *  bs,
s32  low,
s32  high,
s32  r 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_read_global_param()

static void av1_read_global_param ( AV1State *  state,
GF_BitStream *  bs,
u8  type,
u8  ref,
u8  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_get_relative_dist()

static s32 av1_get_relative_dist ( s32  a,
s32  b,
AV1State *  state 
)
static
+ Here is the caller graph for this function:

◆ av1_setup_past_independence()

static void av1_setup_past_independence ( AV1State *  state)
static
+ Here is the caller graph for this function:

◆ av1_load_previous()

static void av1_load_previous ( AV1State *  state,
u8  primary_ref_frame,
s8 *  ref_frame_idx 
)
static
+ Here is the caller graph for this function:

◆ av1_decode_frame_wrapup()

static void av1_decode_frame_wrapup ( AV1State *  state)
static
+ Here is the caller graph for this function:

◆ find_latest_forward()

static s32 find_latest_forward ( u32  curFrameHint,
u8 *  shiftedOrderHints,
u8 *  usedFrame 
)
static
+ Here is the caller graph for this function:

◆ av1_set_frame_refs()

static void av1_set_frame_refs ( AV1State *  state,
u8  last_frame_idx,
u8  gold_frame_idx,
s8 *  ref_frame_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_parse_uncompressed_header()

static void av1_parse_uncompressed_header ( GF_BitStream *  bs,
AV1State *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_av1_init_state()

GF_EXPORT void gf_av1_init_state ( AV1State *  state)

init av1 frame parsing state

Parameters
statethe frame parser
+ Here is the caller graph for this function:

◆ gf_av1_reset_state()

GF_EXPORT void gf_av1_reset_state ( AV1State *  state,
Bool  is_destroy 
)

reset av1 frame parsing state - this does not destroy the structure.

Parameters
statethe frame parser
is_destroyif TRUE, destroy internal reference picture lists
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_iamf_init_state()

GF_EXPORT void gf_iamf_init_state ( IAMFState *  state)

init IAMF frame parsing state

Parameters
statethe frame parser
+ Here is the caller graph for this function:

◆ gf_iamf_reset_state()

GF_EXPORT void gf_iamf_reset_state ( IAMFState *  state,
Bool  is_destroy 
)

reset IAMF frame parsing state - this does not destroy the structure.

Parameters
statethe frame parser
is_destroyif TRUE, destroy the cached descriptor OBUs
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_parse_tile_group()

GF_Err av1_parse_tile_group ( GF_BitStream *  bs,
AV1State *  state,
u64  obu_start,
u64  obu_size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_parse_frame_header()

void av1_parse_frame_header ( GF_BitStream *  bs,
AV1State *  state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_parse_frame()

static GF_Err av1_parse_frame ( GF_BitStream *  bs,
AV1State *  state,
u64  obu_start,
u64  obu_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_parse_timecode_obu()

static void av1_parse_timecode_obu ( GF_SEIInfo *  sei,
GF_BitStream *  bs 
)
static
+ Here is the caller graph for this function:

◆ av1_parse_itu_t_t35_metadata()

static void av1_parse_itu_t_t35_metadata ( GF_BitStream *  bs,
AV1State *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ av1_parse_obu_metadata()

static void av1_parse_obu_metadata ( AV1State *  state,
GF_BitStream *  bs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_av1_parse_obu()

GF_EXPORT GF_Err gf_av1_parse_obu ( GF_BitStream *  bs,
ObuType *  obu_type,
u64 *  obu_size,
u32 *  obu_hdr_size,
AV1State *  state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bs_av1_obu_inspect()

GF_Err bs_av1_obu_inspect ( const u8 *  data,
u32  size,
BSAV1OBU *  obu 
)

inspect low-overhead OBU input buffer to a BSAV1OBU struct note: framed AV1 use the low-overhead OBU format with a size field OBU so we only inspect the framing (enh layers dont need to be decodable without their deps)

Parameters
datapointer to the input buffer
sizesize of the input buffer
obupointer to the BSAV1OBU structure to fill
Returns
GF_OK on success, GF_NON_COMPLIANT_BITSTREAM on failure
+ Here is the caller graph for this function:

◆ gf_media_prores_parse_bs()

GF_EXPORT GF_Err gf_media_prores_parse_bs ( GF_BitStream *  bs,
GF_ProResFrameInfo *  prores_frame 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_iamf_parse_obu_header()

static GF_Err gf_iamf_parse_obu_header ( GF_BitStream *  bs,
IamfObuType *  obu_type,
u64 *  obu_size,
u64 *  num_samples_to_trim_at_start,
u64 *  num_samples_to_trim_at_end 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ iamf_is_profile_supported()

static Bool iamf_is_profile_supported ( u8  profile)
static
+ Here is the caller graph for this function:

◆ iamf_parse_iamf_sequence_header()

static GF_Err iamf_parse_iamf_sequence_header ( GF_BitStream *  bs,
IAMFState *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ iamf_parse_codec_config()

static GF_Err iamf_parse_codec_config ( GF_BitStream *  bs,
IAMFState *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ iamf_parse_audio_element()

static void iamf_parse_audio_element ( GF_BitStream *  bs,
IAMFState *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_media_probe_iamf()

Bool gf_media_probe_iamf ( GF_BitStream *  bs)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_iamf_parse_obu()

GF_EXPORT GF_Err gf_iamf_parse_obu ( GF_BitStream *  bs,
IamfObuType *  obu_type,
u64 *  obu_size,
IAMFState *  state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ iamf_add_obu_internal()

static void iamf_add_obu_internal ( GF_BitStream *  bs,
u64  pos,
u64  obu_size,
IamfObuType  obu_type,
GF_List **  obu_list,
IAMFState *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ iamf_populate_state_from_obu()

static void iamf_populate_state_from_obu ( GF_BitStream *  bs,
u64  pos,
u64  obu_length,
IamfObuType  obu_type,
IAMFState *  state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ aom_iamf_parse_temporal_unit()

GF_Err aom_iamf_parse_temporal_unit ( GF_BitStream *  bs,
IAMFState *  state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_bs_read_ue_log_idx3()

u32 gf_bs_read_ue_log_idx3 ( GF_BitStream *  bs,
const char *  fname,
s32  idx1,
s32  idx2,
s32  idx3 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_bs_read_ue()

u32 gf_bs_read_ue ( GF_BitStream *  bs)
+ Here is the caller graph for this function:

◆ gf_bs_read_se()

s32 gf_bs_read_se ( GF_BitStream *  bs)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_bs_read_se_log_idx2()

s32 gf_bs_read_se_log_idx2 ( GF_BitStream *  bs,
const char *  fname,
s32  idx1,
s32  idx2 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_bs_write_ue()

void gf_bs_write_ue ( GF_BitStream *  bs,
u32  num 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_get_ue_nb_bits()

static u32 gf_get_ue_nb_bits ( u32  num)
static
+ Here is the caller graph for this function:

◆ gf_bs_write_se()

void gf_bs_write_se ( GF_BitStream *  bs,
s32  num 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_media_nalu_emulation_bytes_remove_count()

u32 gf_media_nalu_emulation_bytes_remove_count ( const u8 *  buffer,
u32  nal_size 
)
+ Here is the caller graph for this function:

◆ gf_media_nalu_remove_emulation_bytes()

GF_EXPORT u32 gf_media_nalu_remove_emulation_bytes ( const u8 *  buffer_src,
u8 *  buffer_dst,
u32  nal_size 
)
+ Here is the caller graph for this function:

◆ gf_media_nalu_next_start_code()

GF_EXPORT u32 gf_media_nalu_next_start_code ( const u8 *  data,
u32  data_len,
u32 *  sc_size 
)
+ Here is the caller graph for this function:

◆ gf_avc_slice_is_intra()

Bool gf_avc_slice_is_intra ( AVCState *  avc)
+ Here is the caller graph for this function:

◆ avc_parse_hrd_parameters()

static s32 avc_parse_hrd_parameters ( GF_BitStream *  bs,
AVC_HRD *  hrd 
)
static
+ Here is the caller graph for this function:

◆ gf_avc_read_sps_bs_internal()

static s32 gf_avc_read_sps_bs_internal ( GF_BitStream *  bs,
AVCState *  avc,
u32  subseq_sps,
u32 *  vui_flag_pos,
u32  nal_hdr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_avc_read_sps_bs()

GF_EXPORT s32 gf_avc_read_sps_bs ( GF_BitStream *  bs,
AVCState *  avc,
u32  subseq_sps,
u32 *  vui_flag_pos 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_avc_read_sps()

GF_EXPORT s32 gf_avc_read_sps ( const u8 *  sps_data,
u32  sps_size,
AVCState *  avc,
u32  subseq_sps,
u32 *  vui_flag_pos 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_avc_read_pps_bs_internal()

static s32 gf_avc_read_pps_bs_internal ( GF_BitStream *  bs,
AVCState *  avc,
u32  nal_hdr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_avc_read_pps_bs()

GF_EXPORT s32 gf_avc_read_pps_bs ( GF_BitStream *  bs,
AVCState *  avc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_avc_read_pps()

GF_EXPORT s32 gf_avc_read_pps ( const u8 *  pps_data,
u32  pps_size,
AVCState *  avc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SVC_ReadNal_header_extension()

static s32 SVC_ReadNal_header_extension ( GF_BitStream *  bs,
SVC_NALUHeader *  NalHeader 
)
static
+ Here is the caller graph for this function:

◆ avc_ref_pic_list_modification()

static void avc_ref_pic_list_modification ( GF_BitStream *  bs,
u32  slice_type,
Bool  is_mvc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ avc_pred_weight_table()

static void avc_pred_weight_table ( GF_BitStream *  bs,
u32  slice_type,
u32  ChromaArrayType,
u32  num_ref_idx_l0_active_minus1,
u32  num_ref_idx_l1_active_minus1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dec_ref_pic_marking()

static void dec_ref_pic_marking ( GF_BitStream *  bs,
Bool  IdrPicFlag 
)
static
+ Here is the caller graph for this function:

◆ avc_parse_slice()

static s32 avc_parse_slice ( GF_BitStream *  bs,
AVCState *  avc,
Bool  svc_idr_flag,
AVCSliceInfo *  si 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svc_parse_slice()

static s32 svc_parse_slice ( GF_BitStream *  bs,
AVCState *  avc,
AVCSliceInfo *  si 
)
static
+ Here is the caller graph for this function:

◆ avc_parse_recovery_point_sei()

static s32 avc_parse_recovery_point_sei ( GF_BitStream *  bs,
AVCState *  avc 
)
static
+ Here is the caller graph for this function:

◆ avc_parse_pic_timing_sei()

static s32 avc_parse_pic_timing_sei ( GF_BitStream *  bs,
AVCState *  avc 
)
static
+ Here is the caller graph for this function:

◆ hevc_parse_pic_timing_sei()

static s32 hevc_parse_pic_timing_sei ( GF_BitStream *  bs,
HEVCState *  hevc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ avc_parse_itu_t_t35_sei()

static void avc_parse_itu_t_t35_sei ( GF_BitStream *  bs,
AVCSeiItuTT35DolbyVision *  dovi 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ avc_compute_poc()

static void avc_compute_poc ( AVCSliceInfo *  si)
static
+ Here is the caller graph for this function:

◆ gf_avc_parse_nalu()

GF_EXPORT s32 gf_avc_parse_nalu ( GF_BitStream *  bs,
AVCState *  avc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_avc_reformat_sei()

u32 gf_avc_reformat_sei ( u8 *  buffer,
u32  nal_size,
Bool  isobmf_rewrite,
AVCState *  avc,
SEI_Filter *  sei_filter 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ avc_hevc_get_sar_idx()

static u8 avc_hevc_get_sar_idx ( u32  w,
u32  h 
)
static
+ Here is the caller graph for this function:

◆ sub_layer_hrd_parameters()

static void sub_layer_hrd_parameters ( GF_BitStream *  bs,
int  subLayerId,
u32  cpb_cnt,
Bool  sub_pic_hrd_params_present_flag,
u32  idx1,
u32  idx2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hevc_parse_hrd_parameters()

static void hevc_parse_hrd_parameters ( GF_BitStream *  bs,
Bool  commonInfPresentFlag,
int  maxNumSubLayersMinus1,
u32  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ avc_hevc_vvc_rewrite_vui()

static void avc_hevc_vvc_rewrite_vui ( GF_VUIInfo *  vui_info,
GF_BitStream *  orig,
GF_BitStream *  mod,
GF_CodecID  codec 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_avc_change_vui()

GF_Err gf_avc_change_vui ( GF_AVCConfig *  avcc,
GF_VUIInfo *  vui_info 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_avc_change_par()

GF_EXPORT GF_Err gf_avc_change_par ( GF_AVCConfig *  avcc,
s32  ar_n,
s32  ar_d 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_avc_change_color()

GF_EXPORT GF_Err gf_avc_change_color ( GF_AVCConfig *  avcc,
s32  fullrange,
s32  vidformat,
s32  colorprim,
s32  transfer,
s32  colmatrix 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_slice_is_intra()

Bool gf_hevc_slice_is_intra ( HEVCState *  hevc)
+ Here is the caller graph for this function:

◆ gf_hevc_slice_is_IDR()

Bool gf_hevc_slice_is_IDR ( HEVCState *  hevc)
+ Here is the caller graph for this function:

◆ hevc_parse_short_term_ref_pic_set()

static Bool hevc_parse_short_term_ref_pic_set ( GF_BitStream *  bs,
HEVC_SPS *  sps,
u32  idx_rps 
)
static
+ Here is the caller graph for this function:

◆ hevc_pred_weight_table()

void hevc_pred_weight_table ( GF_BitStream *  bs,
HEVCState *  hevc,
HEVCSliceInfo *  si,
HEVC_PPS *  pps,
HEVC_SPS *  sps,
u32  num_ref_idx_l0_active,
u32  num_ref_idx_l1_active 
)
+ Here is the caller graph for this function:

◆ hevc_ref_pic_lists_modification()

static void hevc_ref_pic_lists_modification ( GF_BitStream *  bs,
HEVC_ReferencePictureSets *  rps,
u32  slice_type,
u32  num_ref_idx_l0_active,
u32  num_ref_idx_l1_active,
u32  NumPicTotalCurr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hevc_parse_slice_segment()

static s32 hevc_parse_slice_segment ( GF_BitStream *  bs,
HEVCState *  hevc,
HEVCSliceInfo *  si 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_push_ref_poc()

static void gf_hevc_push_ref_poc ( HEVCSliceInfo *  si,
s32  poc 
)
static
+ Here is the caller graph for this function:

◆ gf_hevc_compute_ref_list()

static void gf_hevc_compute_ref_list ( HEVCState *  hevc,
HEVCSliceInfo *  si 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_vvc_reformat_sei()

u32 gf_hevc_vvc_reformat_sei ( u8 *  buffer,
u32  nal_size,
Bool  isobmf_rewrite,
Bool  is_hevc,
SEI_Filter *  sei_filter 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_vvc_parse_sei()

static void gf_hevc_vvc_parse_sei ( char *  buffer,
u32  nal_size,
HEVCState *  hevc,
VVCState *  vvc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_parse_sei()

void gf_hevc_parse_sei ( char *  buffer,
u32  nal_size,
HEVCState *  hevc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_reformat_sei()

u32 gf_hevc_reformat_sei ( char *  buffer,
u32  nal_size,
Bool  isobmf_rewrite,
SEI_Filter *  sei_filter 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_filter_suffix_hash()

GF_Err gf_hevc_filter_suffix_hash ( char *  data,
u32 *  nal_length,
Bool  keep_hash 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hevc_compute_poc()

static void hevc_compute_poc ( HEVCSliceInfo *  si)
static
+ Here is the caller graph for this function:

◆ hevc_parse_nal_header()

static Bool hevc_parse_nal_header ( GF_BitStream *  bs,
u8 *  nal_unit_type,
u8 *  temporal_id,
u8 *  layer_id 
)
static
+ Here is the caller graph for this function:

◆ hevc_profile_tier_level()

void hevc_profile_tier_level ( GF_BitStream *  bs,
Bool  ProfilePresentFlag,
u8  MaxNumSubLayersMinus1,
HEVC_ProfileTierLevel *  ptl,
u32  idx 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ scalability_type_to_idx()

static u32 scalability_type_to_idx ( HEVC_VPS *  vps,
u32  scalability_type 
)
static
+ Here is the caller graph for this function:

◆ lhvc_get_scalability_id()

static u32 lhvc_get_scalability_id ( HEVC_VPS *  vps,
u32  layer_id_in_vps,
u32  scalability_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lhvc_get_view_index()

static u32 lhvc_get_view_index ( HEVC_VPS *  vps,
u32  id 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lhvc_get_num_views()

static u32 lhvc_get_num_views ( HEVC_VPS *  vps)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lhvc_parse_rep_format()

static void lhvc_parse_rep_format ( HEVC_RepFormat *  fmt,
GF_BitStream *  bs,
u32  idx 
)
static
+ Here is the caller graph for this function:

◆ hevc_parse_vps_extension()

static Bool hevc_parse_vps_extension ( HEVC_VPS *  vps,
GF_BitStream *  bs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_vps_bs_internal()

static s32 gf_hevc_read_vps_bs_internal ( GF_BitStream *  bs,
HEVCState *  hevc,
Bool  stop_at_vps_ext 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_vps_ex()

GF_EXPORT s32 gf_hevc_read_vps_ex ( u8 *  data,
u32 *  size,
HEVCState *  hevc,
Bool  remove_extensions 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_vps()

GF_EXPORT s32 gf_hevc_read_vps ( u8 *  data,
u32  size,
HEVCState *  hevc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_vps_bs()

GF_EXPORT s32 gf_hevc_read_vps_bs ( GF_BitStream *  bs,
HEVCState *  hevc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hevc_scaling_list_data()

static void hevc_scaling_list_data ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_sps_bs_internal()

static s32 gf_hevc_read_sps_bs_internal ( GF_BitStream *  bs,
HEVCState *  hevc,
u8  layer_id,
u32 *  vui_flag_pos 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_sps_ex()

GF_EXPORT s32 gf_hevc_read_sps_ex ( char *  data,
u32  size,
HEVCState *  hevc,
u32 *  vui_flag_pos 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_sps()

GF_EXPORT s32 gf_hevc_read_sps ( u8 *  data,
u32  size,
HEVCState *  hevc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_sps_bs()

GF_EXPORT s32 gf_hevc_read_sps_bs ( GF_BitStream *  bs,
HEVCState *  hevc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hevc_color_map_octants()

static void hevc_color_map_octants ( GF_BitStream *  bs,
u32  cm_octant_depth,
u32  OctantNumY,
u32  PartNumY,
u32  CMResLSBits,
u32  inpDepth,
u32  idxY,
u32  idxCb,
u32  idxCr,
u32  inpLength 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_pps_bs_internal()

static s32 gf_hevc_read_pps_bs_internal ( GF_BitStream *  bs,
HEVCState *  hevc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_pps()

GF_EXPORT s32 gf_hevc_read_pps ( u8 *  data,
u32  size,
HEVCState *  hevc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_read_pps_bs()

GF_EXPORT s32 gf_hevc_read_pps_bs ( GF_BitStream *  bs,
HEVCState *  hevc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_parse_nalu_bs()

GF_EXPORT s32 gf_hevc_parse_nalu_bs ( GF_BitStream *  bs,
HEVCState *  hevc,
u8 *  nal_unit_type,
u8 *  temporal_id,
u8 *  layer_id 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_parse_nalu()

GF_EXPORT s32 gf_hevc_parse_nalu ( u8 *  data,
u32  size,
HEVCState *  hevc,
u8 *  nal_unit_type,
u8 *  temporal_id,
u8 *  layer_id 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_change_vui()

GF_EXPORT GF_Err gf_hevc_change_vui ( GF_HEVCConfig *  hvcc,
GF_VUIInfo *  vui_info 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_change_par()

GF_EXPORT GF_Err gf_hevc_change_par ( GF_HEVCConfig *  hvcc,
s32  ar_n,
s32  ar_d 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_change_color()

GF_EXPORT GF_Err gf_hevc_change_color ( GF_HEVCConfig *  hvcc,
s32  fullrange,
s32  vidformat,
s32  colorprim,
s32  transfer,
s32  colmatrix 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_get_sps_info_with_state()

GF_EXPORT GF_Err gf_hevc_get_sps_info_with_state ( HEVCState *  hevc,
u8 *  sps_data,
u32  sps_size,
u32 *  sps_id,
u32 *  width,
u32 *  height,
s32 *  par_n,
s32 *  par_d 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AC3_FindSyncCode()

static u32 AC3_FindSyncCode ( u8 *  buf,
u32  buflen 
)
static
+ Here is the caller graph for this function:

◆ AC3_FindSyncCodeBS()

static Bool AC3_FindSyncCodeBS ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ eac3_chanmap_to_chan_loc()

static u32 eac3_chanmap_to_chan_loc ( u32  chan_map)
static
+ Here is the caller graph for this function:

◆ eac3_update_channels()

static void eac3_update_channels ( GF_AC3Config *  hdr)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_eac3_parser_internal()

static Bool gf_eac3_parser_internal ( GF_BitStream *  bs,
GF_AC3Config *  hdr,
Bool  full_parse 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vorbis_book_maptype1_quantvals()

static u32 vorbis_book_maptype1_quantvals ( u32  entries,
u32  dim 
)
static
+ Here is the caller graph for this function:

◆ ilog()

static u32 ilog ( u32  v,
Bool  dec 
)
static
+ Here is the caller graph for this function:

◆ icount()

static u32 icount ( u32  v)
static
+ Here is the caller graph for this function:

◆ gf_opus_read_length()

static u8 gf_opus_read_length ( u8 *  data,
u32  data_length,
u32  offset,
u16 *  read_length 
)
static
+ Here is the caller graph for this function:

◆ gf_opus_parse_packet_header()

GF_EXPORT u8 gf_opus_parse_packet_header ( u8 *  data,
u32  data_length,
Bool  self_delimited,
GF_OpusPacketHeader *  header 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_parse_sei()

GF_EXPORT void gf_vvc_parse_sei ( char *  buffer,
u32  nal_size,
VVCState *  vvc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_reformat_sei()

GF_EXPORT u32 gf_vvc_reformat_sei ( char *  buffer,
u32  nal_size,
Bool  isobmf_rewrite,
SEI_Filter *  sei_filter 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_parse_nal_header()

static Bool vvc_parse_nal_header ( GF_BitStream *  bs,
u8 *  nal_unit_type,
u8 *  temporal_id,
u8 *  layer_id 
)
static
+ Here is the caller graph for this function:

◆ vvc_profile_tier_level()

static void vvc_profile_tier_level ( GF_BitStream *  bs,
VVC_ProfileTierLevel *  ptl,
u32  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_read_vps_bs_internal()

static s32 gf_vvc_read_vps_bs_internal ( GF_BitStream *  bs,
VVCState *  vvc,
Bool  stop_at_vps_ext 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_parse_ref_pic_list_struct()

static s32 vvc_parse_ref_pic_list_struct ( GF_BitStream *  bs,
VVC_SPS *  sps,
u32  listIdx,
u32  rplsIdx,
VVC_RefPicList *  rpl 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_parse_general_timing_hrd_parameters()

static void vvc_parse_general_timing_hrd_parameters ( GF_BitStream *  bs,
VVC_SPS *  sps,
VVC_VPS *  vps,
Bool *  general_nal_hrd_params_present_flag,
Bool *  general_vcl_hrd_params_present_flag,
Bool *  general_du_hrd_params_present_flag,
u32 *  hrd_cpb_cnt_minus1 
)
static
+ Here is the caller graph for this function:

◆ vvc_parse_sublayer_hrd_parameters()

static void vvc_parse_sublayer_hrd_parameters ( GF_BitStream *  bs,
u32  subLayerId,
Bool  general_du_hrd_params_present_flag,
u32  hrd_cpb_cnt_minus1 
)
static
+ Here is the caller graph for this function:

◆ vvc_parse_ols_timing_hrd_parameters()

static void vvc_parse_ols_timing_hrd_parameters ( GF_BitStream *  bs,
u32  firstSubLayer,
u32  MaxSubLayersVal,
Bool  general_nal_hrd_params_present_flag,
Bool  general_vcl_hrd_params_present_flag,
Bool  general_du_hrd_params_present_flag,
u32  hrd_cpb_cnt_minus1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_ceillog2()

static u32 vvc_ceillog2 ( u32  val)
static
+ Here is the caller graph for this function:

◆ gf_vvc_read_sps_bs_internal()

static s32 gf_vvc_read_sps_bs_internal ( GF_BitStream *  bs,
VVCState *  vvc,
u8  layer_id,
u32 *  vui_flag_pos 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_read_pps_bs_internal()

static s32 gf_vvc_read_pps_bs_internal ( GF_BitStream *  bs,
VVCState *  vvc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_parse_ref_pic_lists()

static s32 vvc_parse_ref_pic_lists ( GF_BitStream *  bs,
VVCSliceInfo *  si,
Bool  is_pic_header 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_pred_weight_table()

static s32 vvc_pred_weight_table ( GF_BitStream *  bs,
VVCState *  vvc,
VVCSliceInfo *  si,
VVC_PPS *  pps,
VVC_SPS *  sps,
u32 *  num_ref_idx_active 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_parse_picture_header()

static s32 vvc_parse_picture_header ( GF_BitStream *  bs,
VVCState *  vvc,
VVCSliceInfo *  si 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_get_ctb_info_in_slice()

static s32 vvc_get_ctb_info_in_slice ( VVCSliceInfo *  si,
u32  sh_slice_address,
u32  sh_num_tiles_in_slice,
s32  ctu_index 
)
static
+ Here is the caller graph for this function:

◆ vvc_ctb_to_tile_row_bd()

static u32 vvc_ctb_to_tile_row_bd ( VVCSliceInfo *  si,
u32  ctb_addr_y 
)
static
+ Here is the caller graph for this function:

◆ vvc_ctb_to_tile_col_bd()

static u32 vvc_ctb_to_tile_col_bd ( VVCSliceInfo *  si,
u32  ctb_addr_x 
)
static
+ Here is the caller graph for this function:

◆ vvc_get_num_entry_points()

static s32 vvc_get_num_entry_points ( VVCSliceInfo *  si,
u32  sh_slice_address,
u32  sh_num_tiles_in_slice 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_parse_slice()

static s32 vvc_parse_slice ( GF_BitStream *  bs,
VVCState *  vvc,
VVCSliceInfo *  si 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vvc_compute_poc()

static void vvc_compute_poc ( VVCSliceInfo *  si,
Bool  poc_reset 
)
static
+ Here is the caller graph for this function:

◆ vvc_push_ref_poc()

static void vvc_push_ref_poc ( VVCSliceInfo *  si,
s32  poc 
)
static
+ Here is the caller graph for this function:

◆ vvc_compute_refs()

static void vvc_compute_refs ( VVCState *  vvc,
VVCSliceInfo *  si 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_parse_nalu_bs()

GF_EXPORT s32 gf_vvc_parse_nalu_bs ( GF_BitStream *  bs,
VVCState *  vvc,
u8 *  nal_unit_type,
u8 *  temporal_id,
u8 *  layer_id 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_parse_nalu()

GF_EXPORT s32 gf_vvc_parse_nalu ( u8 *  data,
u32  size,
VVCState *  vvc,
u8 *  nal_unit_type,
u8 *  temporal_id,
u8 *  layer_id 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_slice_is_ref()

Bool gf_vvc_slice_is_ref ( VVCState *  vvc)
+ Here is the caller graph for this function:

◆ gf_vvc_change_vui()

GF_EXPORT GF_Err gf_vvc_change_vui ( GF_VVCConfig *  vvcc,
GF_VUIInfo *  vui_info 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_change_par()

GF_EXPORT GF_Err gf_vvc_change_par ( GF_VVCConfig *  vvcc,
s32  ar_n,
s32  ar_d 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_change_color()

GF_EXPORT GF_Err gf_vvc_change_color ( GF_VVCConfig *  vvcc,
s32  fullrange,
s32  vidformat,
s32  colorprim,
s32  transfer,
s32  colmatrix 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_media_vc1_seq_header_to_dsi()

GF_Err gf_media_vc1_seq_header_to_dsi ( const u8 *  seq_hdr,
u32  seq_hdr_len,
u8 **  dsi,
u32 *  dsi_size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_hevc_parse_ps()

void gf_hevc_parse_ps ( GF_HEVCConfig *  hevccfg,
HEVCState *  hevc,
u32  nal_type 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_vvc_parse_ps()

void gf_vvc_parse_ps ( GF_VVCConfig *  vvccfg,
VVCState *  vvc,
u32  nal_type 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_variable_bits()

static u32 gf_ac4_variable_bits ( GF_BitStream *  bs,
int  bits 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_read_substream_index()

static u32 gf_ac4_read_substream_index ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_frame_rate_multiply_info()

static Bool gf_ac4_frame_rate_multiply_info ( GF_BitStream *  bs,
GF_AC4PresentationV1 *  pinfo,
u32  frame_rate_idx 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_presentation_version()

static Bool gf_ac4_presentation_version ( GF_BitStream *  bs,
GF_AC4PresentationV1 *  pinfo,
u8  bitstream_version 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_emdf_payloads_substream_info()

static Bool gf_ac4_emdf_payloads_substream_info ( GF_BitStream *  bs,
GF_AC4SubStream *  substream 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_emdf_reserved()

static Bool gf_ac4_emdf_reserved ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_emdf_info()

static Bool gf_ac4_emdf_info ( GF_BitStream *  bs,
GF_List *  substreams_list,
u32 *  emdf_version,
u32 *  key_id 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_frame_rate_fractions_info()

static Bool gf_ac4_frame_rate_fractions_info ( GF_BitStream *  bs,
GF_AC4PresentationV1 *  pinfo,
u32  frame_rate_index 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_get_channel_mode()

static Bool gf_ac4_get_channel_mode ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
u32  presentation_version,
u8 *  immersive_audio_indicator_ims 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_dsi_sf_mutiplier()

static Bool gf_ac4_dsi_sf_mutiplier ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
u32  fs_index 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_bitreate_indicator()

static Bool gf_ac4_bitreate_indicator ( GF_BitStream *  bs,
GF_AC4SubStream *  substream 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_compare_ch_mode()

static Bool gf_compare_ch_mode ( const u32  ch_mode,
const u32 *  list,
const u32  n 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_substream_info_chan()

static Bool gf_ac4_substream_info_chan ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
u32  presentation_version,
u8  default_presentation_flag,
u32  fs_index,
u32 *  speaker_index_mask,
u32  frame_rate_factor,
u8  b_substreams_present,
u8 *  immersive_audio_indicator_ims 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_hsf_ext_substream_info()

static Bool gf_ac4_hsf_ext_substream_info ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
u8  b_substreams_present 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_oamd_substream_info()

static Bool gf_ac4_oamd_substream_info ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
u8  b_substreams_present 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_bed_dyn_obj_assignment()

static Bool gf_ac4_bed_dyn_obj_assignment ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
GF_AC4BedChannelAssignment *  bed_dyn_obj,
u32  n_signals,
Bool  is_upmix 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_trim()

static Bool gf_ac4_trim ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_tool_t2_to_f_s_b()

static Bool gf_ac4_tool_t2_to_f_s_b ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_tool_t2_to_f_s()

static Bool gf_ac4_tool_t2_to_f_s ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_tool_tb_to_f_s_b()

static Bool gf_ac4_tool_tb_to_f_s_b ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_tool_tb_to_f_s()

static Bool gf_ac4_tool_tb_to_f_s ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_tool_tf_to_f_s_b()

static Bool gf_ac4_tool_tf_to_f_s_b ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_tool_tf_to_f_s()

static Bool gf_ac4_tool_tf_to_f_s ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_stereo_dmx_coeff()

static Bool gf_ac4_stereo_dmx_coeff ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_bed_render_info()

static Bool gf_ac4_bed_render_info ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_headphone()

static Bool gf_ac4_headphone ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_oamd_common_data()

static Bool gf_ac4_oamd_common_data ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_convert_mask_to_ch()

static u32 gf_ac4_convert_mask_to_ch ( u32  mask)
static
+ Here is the caller graph for this function:

◆ gf_ac4_get_obj_channel_mask()

static u32 gf_ac4_get_obj_channel_mask ( GF_AC4SubStream *  substream)
static
+ Here is the caller graph for this function:

◆ gf_ac4_substream_info_ajoc()

static Bool gf_ac4_substream_info_ajoc ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
u32 *  channel_count,
u8  default_presentation_flag,
u32  fs_index,
u32  frame_rate_factor,
u8  b_substreams_present 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_objs_to_channel_mode()

static u32 gf_ac4_objs_to_channel_mode ( u32  n_objects)
static
+ Here is the caller graph for this function:

◆ gf_ac4_substream_info_obj()

static Bool gf_ac4_substream_info_obj ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
u32 *  channel_count,
u8  default_presentation_flag,
u32  fs_index,
u32  frame_rate_factor,
u8  b_substreams_present 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_content_type()

static Bool gf_ac4_content_type ( GF_BitStream *  bs,
GF_AC4SubStreamGroupV1 *  ginfo 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_substream_group_info()

static Bool gf_ac4_substream_group_info ( GF_BitStream *  bs,
GF_AC4SubStreamGroupV1 *  ginfo,
u8  bitstream_version,
u8  presentation_version,
u8  default_presentation_flag,
u32  frame_rate_factor,
u32  fs_index,
u32 *  channel_count,
u32 *  speaker_index_mask,
u32 *  b_obj_or_ajoc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_presentation_config_ext_info()

static Bool gf_ac4_presentation_config_ext_info ( GF_BitStream *  bs,
GF_AC4PresentationV1 *  pinfo,
u8  bitstream_version 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_presentation_substream_info()

static Bool gf_ac4_presentation_substream_info ( GF_BitStream *  bs,
GF_AC4SubStream *  substream 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_sgi_specifier()

static Bool gf_ac4_sgi_specifier ( GF_BitStream *  bs,
GF_List *  idx_list,
u8  bitstream_version,
u32 *  group_index 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_presentation_v1_info()

static Bool gf_ac4_presentation_v1_info ( GF_BitStream *  bs,
GF_AC4PresentationV1 *  pinfo,
u8  bitstream_version,
u32  frame_rate_index,
u32 *  max_group_index 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_get_presentation_by_substreamgroup()

static GF_AC4PresentationV1 * gf_ac4_get_presentation_by_substreamgroup ( GF_AC4StreamInfo *  stream,
u32  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_is_substream_group_part_of_default_presentation()

static Bool gf_ac4_is_substream_group_part_of_default_presentation ( GF_List *  presentation_v1,
u32  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_get_channel_count_from_speaker_group_index_mask()

static u32 gf_ac4_get_channel_count_from_speaker_group_index_mask ( u32  mask)
static
+ Here is the caller graph for this function:

◆ gf_ac4_cfg_super_set()

static s32 gf_ac4_cfg_super_set ( s32  lvalue,
s32  rvalue 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_convert_obj_channel_mask_to_ch_mode()

static u32 gf_ac4_convert_obj_channel_mask_to_ch_mode ( u32  channel_mask)
static
+ Here is the caller graph for this function:

◆ gf_ac4_convert_obj_channel_mask_to_channel_mask_v1()

static u32 gf_ac4_convert_obj_channel_mask_to_channel_mask_v1 ( u32  mask)
static
+ Here is the caller graph for this function:

◆ gf_ac4_is_lf_substream()

static Bool gf_ac4_is_lf_substream ( GF_AC4SubStream *  substream)
static
+ Here is the caller graph for this function:

◆ gf_ac4_assign_presentation_channel()

static s32 gf_ac4_assign_presentation_channel ( GF_AC4PresentationV1 *  p)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_pres_b_4_back_channels_present()

static u8 gf_ac4_pres_b_4_back_channels_present ( GF_AC4PresentationV1 *  p)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_pres_top_channel_pairs()

static u8 gf_ac4_pres_top_channel_pairs ( GF_AC4PresentationV1 *  p)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_get_ch_mode_core()

static s32 gf_ac4_get_ch_mode_core ( u8  b_channel_coded,
u8  b_ajoc,
u8  b_static_dmx,
u8  b_lfe,
u32  ch_mode 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_get_b_presentation_core_differs()

static s32 gf_ac4_get_b_presentation_core_differs ( GF_AC4PresentationV1 *  p,
s32  pres_ch_mode 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_assign_substream_info()

static Bool gf_ac4_assign_substream_info ( u32  index,
GF_AC4SubStreamInfo *  info,
GF_List *  hdr_p_list,
GF_List *  parsed_substream_groups 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_substream_index_table()

static u32 gf_ac4_substream_index_table ( GF_BitStream *  bs,
GF_List *  substream_index_table,
GF_List *  hdr_p_list,
GF_List *  parsed_substream_groups 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_de_config()

static Bool gf_ac4_de_config ( GF_BitStream *  bs,
GF_AC4SubStream *  substream 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_huff_decode_diff()

static u32 gf_ac4_huff_decode_diff ( const u32 *  cw,
u32  code 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_de_abs_huffman()

static u32 gf_ac4_de_abs_huffman ( u8  table_idx,
u32  code 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_de_diff_huffman()

static u32 gf_ac4_de_diff_huffman ( u8  table_idx,
u32  code 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_de_read_abs_huffman()

static u32 gf_ac4_de_read_abs_huffman ( GF_BitStream *  bs,
u8  table_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_de_read_diff_huffman()

static u32 gf_ac4_de_read_diff_huffman ( GF_BitStream *  bs,
u8  table_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_de_data()

static Bool gf_ac4_de_data ( GF_BitStream *  bs,
u8  de_method,
u8  de_nr_channels,
u8  b_iframe,
u8  b_de_simulcast 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_dialog_enhancement()

static Bool gf_ac4_dialog_enhancement ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
u8  b_iframe 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_channel_mode_contains_Lfe()

static Bool gf_ac4_channel_mode_contains_Lfe ( u32  ch_mode)
static
+ Here is the caller graph for this function:

◆ gf_ac4_further_loudness_info()

static Bool gf_ac4_further_loudness_info ( GF_BitStream *  bs,
u8  sus_ver,
u8  b_presentation_ldn 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_basic_metadata()

static Bool gf_ac4_basic_metadata ( GF_BitStream *  bs,
GF_AC4SubStream *  substream 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_extended_metadata()

static Bool gf_ac4_extended_metadata ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
GF_AC4PresentationV1 *  presentation 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_dialog_enhancement_info()

static Bool gf_ac4_dialog_enhancement_info ( GF_BitStream *  bs,
GF_AC4SubStream *  substream 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_emdf_payloads_substream()

static Bool gf_ac4_emdf_payloads_substream ( GF_BitStream *  bs,
GF_AC4SubStream *  substream 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_ext_prec_pos()

static Bool gf_ac4_ext_prec_pos ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_ext_prec_alt_pos()

static Bool gf_ac4_ext_prec_alt_pos ( GF_BitStream *  bs,
u32  n_objs,
u8  b_keep,
u32 *  obj_type,
u32 *  b_lfe 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_object_basic_info()

static Bool gf_ac4_object_basic_info ( GF_BitStream *  bs)
static
+ Here is the caller graph for this function:

◆ gf_ac4_object_render_info()

static Bool gf_ac4_object_render_info ( GF_BitStream *  bs,
u32  object_render_info_status,
u8  b_no_delta 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_object_info_block()

static Bool gf_ac4_object_info_block ( GF_BitStream *  bs,
u8  b_no_delta,
u8  b_dynamic_object 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_oamd_dyndata_single()

static Bool gf_ac4_oamd_dyndata_single ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
GF_AC4PresentationV1 *  presentation 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_metadata()

static Bool gf_ac4_metadata ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
GF_AC4PresentationV1 *  presentation 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_substream()

static Bool gf_ac4_substream ( GF_BitStream *  bs,
GF_AC4SubStream *  substream,
GF_AC4PresentationV1 *  presentation 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_presentation_substream()

static Bool gf_ac4_presentation_substream ( GF_BitStream *  bs,
GF_AC4PresentationV1 *  presentation 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_ac4_raw_frame()

static Bool gf_ac4_raw_frame ( GF_BitStream *  bs,
GF_AC4Config *  hdr,
Bool  full_parse 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AC4_FindSyncCodeBS()

static Bool AC4_FindSyncCodeBS ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AC4_FindSyncCode()

static u32 AC4_FindSyncCode ( u8 *  buf,
u32  buflen 
)
static
+ Here is the caller graph for this function:

◆ gf_ac4_frame_size()

static Bool gf_ac4_frame_size ( GF_BitStream *  bs,
GF_AC4Config *  hdr 
)
static
+ Here is the caller graph for this function:

Variable Documentation

◆ [struct]

const struct { ... } std_par[]
Initial value:
=
{
{ 4, 3}, {3, 2}, {16, 9}, {5, 3}, {5, 4}, {8, 5}, {2, 1}, {1, 1},
{0, 0},
}

◆ M4VProfiles

struct __m4v_profile M4VProfiles[]

◆ [struct]

const struct { ... } m4v_sar[6]

◆ M4AObjectTypes

struct __m4a_oti M4AObjectTypes[]

◆ M4AProfiles

struct __m4a_profile M4AProfiles[]

◆ VP9_CS_to_23001_8_colour_primaries

const int VP9_CS_to_23001_8_colour_primaries[] = { 2, 5, 1, 6, 7, 9, -1, 1 }
static

◆ VP9_CS_to_23001_8_transfer_characteristics

const int VP9_CS_to_23001_8_transfer_characteristics[] = { 2, 5, 1, 6, 7, 9, -1, 13 }
static

◆ VP9_CS_to_23001_8_matrix_coefficients

const int VP9_CS_to_23001_8_matrix_coefficients[] = { 2, 6, 1, -1, -1, 9, -1, 0 }
static

◆ segmentation_feature_bits

const int segmentation_feature_bits[VP9_SEG_LVL_MAX] = { 8, 6, 2, 0 }
static

◆ segmentation_feature_signed

const int segmentation_feature_signed[VP9_SEG_LVL_MAX] = { 1, 1, 0, 0 }
static

◆ Segmentation_Feature_Bits

u8 Segmentation_Feature_Bits[] = { 8,6,6,6,6,3,0,0 }
static

◆ Segmentation_Feature_Signed

u8 Segmentation_Feature_Signed[] = { 1, 1, 1, 1, 1, 0, 0, 0 }
static

◆ bitrate_table

u32 const bitrate_table[5][15]
static
Initial value:
= {
{ 0, 32000, 64000, 96000, 128000, 160000, 192000, 224000,
256000, 288000, 320000, 352000, 384000, 416000, 448000
},
{ 0, 32000, 48000, 56000, 64000, 80000, 96000, 112000,
128000, 160000, 192000, 224000, 256000, 320000, 384000
},
{ 0, 32000, 40000, 48000, 56000, 64000, 80000, 96000,
112000, 128000, 160000, 192000, 224000, 256000, 320000
},
{ 0, 32000, 48000, 56000, 64000, 80000, 96000, 112000,
128000, 144000, 160000, 176000, 192000, 224000, 256000
},
{ 0, 8000, 16000, 24000, 32000, 40000, 48000, 56000,
64000, 80000, 96000, 112000, 128000, 144000, 160000
}
}

◆ [struct]

const struct { ... } avc_hevc_sar[]
Initial value:
= {
{ 0, 0 }, { 1, 1 }, { 12, 11 }, { 10, 11 },
{ 16, 11 }, { 40, 33 }, { 24, 11 }, { 20, 11 },
{ 32, 11 }, { 80, 33 }, { 18, 11 }, { 15, 11 },
{ 64, 33 }, { 160,99 }, { 4, 3 }, { 3, 2 },
{ 2, 1 }
}

◆ [struct]

const struct { ... } hevc_sar[17]
Initial value:
=
{
{ 0, 0 }, { 1, 1 }, { 12, 11 }, { 10, 11 },
{ 16, 11 }, { 40, 33 }, { 24, 11 }, { 20, 11 },
{ 32, 11 }, { 80, 33 }, { 18, 11 }, { 15, 11 },
{ 64, 33 }, { 160,99 }, { 4,3}, { 3,2}, { 2,1}
}

◆ ac3_sizecod_to_bitrate

const u32 ac3_sizecod_to_bitrate[]
static
Initial value:
= {
32000, 40000, 48000, 56000, 64000, 80000, 96000,
112000, 128000, 160000, 192000, 224000, 256000,
320000, 384000, 448000, 512000, 576000, 640000
}

◆ ac3_sizecod2_to_framesize

const u32 ac3_sizecod2_to_framesize[]
static
Initial value:
= {
96, 120, 144, 168, 192, 240, 288, 336, 384, 480, 576, 672,
768, 960, 1152, 1344, 1536, 1728, 1920
}

◆ ac3_sizecod1_to_framesize

const u32 ac3_sizecod1_to_framesize[]
static
Initial value:
= {
69, 87, 104, 121, 139, 174, 208, 243, 278, 348, 417, 487,
557, 696, 835, 975, 1114, 1253, 1393
}

◆ ac3_sizecod0_to_framesize

const u32 ac3_sizecod0_to_framesize[]
static
Initial value:
= {
64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448,
512, 640, 768, 896, 1024, 1152, 1280
}

◆ ac3_mod_to_total_chans

const u32 ac3_mod_to_total_chans[]
static
Initial value:
= {
2, 1, 2, 3, 3, 4, 4, 5
}

◆ ac3_mod_to_surround_chans

const u32 ac3_mod_to_surround_chans[]
static
Initial value:
= {
0, 0, 0, 0, 1, 1, 2, 2
}

◆ AC4_SPEAKER_GROUP_INDEX_MASK_BY_CH_MODE

const s32 AC4_SPEAKER_GROUP_INDEX_MASK_BY_CH_MODE[]
Initial value:
=
{
2,
1,
3,
7,
71,
15,
79,
131079,
131143,
262151,
262215,
63,
127,
65599,
65663,
196479,
0
}

◆ AC4_SUPER_SET_CH_MODE

const unsigned char AC4_SUPER_SET_CH_MODE[GF_AP4_CH_MODE_LENGTH][GF_AP4_CH_MODE_LENGTH]
Initial value:
=
{
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11,12,13,14,15},
{1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11,12,13,14,15},
{2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10,11,12,13,14,15},
{3, 3, 3, 3, 4, 5, 6, 7, 8, 9, 10,11,12,13,14,15},
{4, 4, 4, 4, 4, 6, 6, 8, 8, 10,10,12,12,14,14,15},
{5, 5, 5, 5, 6, 5, 6, 7, 8, 9, 10,11,12,13,14,15},
{6, 6, 6, 6, 6, 6, 6, 6, 8, 6, 10,12,12,14,14,15},
{7, 7, 7, 7, 8, 7, 6, 7, 8, 9, 10,12,12,13,14,15},
{8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 10,11,12,14,14,15},
{9, 9, 9, 9, 10,9, 10,9, 9, 9, 10,11,12,13,14,15},
{10,10,10,10,10,10,10,10,10,10,10,10,12,13,14,15},
{11,11,11,11,12,11,12,11,12,11,12,11,13,13,14,15},
{12,12,12,12,12,12,12,12,12,12,12,12,12,13,14,15},
{13,13,13,13,14,13,14,13,14,13,14,13,14,13,14,15},
{14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15},
{15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15}
}

◆ AC4_SAMPLING_FREQ_TABLE

const u32 AC4_SAMPLING_FREQ_TABLE[]
Initial value:
= {
44100,
48000
}

◆ AC4_SAMPLE_DELTA_TABLE_48

const u32 AC4_SAMPLE_DELTA_TABLE_48[]
Initial value:
= {
2002,
2000,
1920,
8008,
1600,
1001,
1000,
960,
4004,
800,
480,
2002,
400,
2048
}

◆ AC4_SAMPLE_DELTA_TABLE_441

const u32 AC4_SAMPLE_DELTA_TABLE_441[]
Initial value:
= {
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2048
}

◆ AC4_MEDIA_TIMESCALE_48

const u32 AC4_MEDIA_TIMESCALE_48[]
Initial value:
= {
48000,
48000,
48000,
240000,
48000,
48000,
48000,
48000,
240000,
48000,
48000,
240000,
48000,
48000
}

◆ AC4_MEDIA_TIMESCALE_441

const u32 AC4_MEDIA_TIMESCALE_441[]
Initial value:
= {
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
44100
}

◆ GF_AC4_DE_HCB_ABS_0_LEN

const u32 GF_AC4_DE_HCB_ABS_0_LEN[32]
Initial value:
= {
3, 3, 4, 4, 5, 5, 5, 5, 4, 4, 3, 7, 7, 7, 8, 7,
7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 8,
}

◆ GF_AC4_DE_HCB_ABS_0_CW

const u32 GF_AC4_DE_HCB_ABS_0_CW[32]
Initial value:
= {
0x000006, 0x000003, 0x000009, 0x000001, 0x00001f, 0x00001d, 0x000015, 0x000017, 0x000000, 0x000003, 0x000002, 0x000079, 0x000015, 0x000010, 0x000029, 0x000078,
0x00005a, 0x000020, 0x00003d, 0x000039, 0x000022, 0x000021, 0x000028, 0x00002c, 0x000029, 0x000038, 0x000023, 0x00000b, 0x000009, 0x00005b, 0x000011, 0x000028,
}

◆ GF_AC4_DE_HCB_DIFF_0_LEN

const u32 GF_AC4_DE_HCB_DIFF_0_LEN[63]
Initial value:
= {
14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
14, 14, 13, 13, 13, 10, 10, 9, 8, 8, 7, 6, 5, 4, 3, 1,
3, 5, 5, 6, 7, 7, 7, 8, 8, 8, 10, 10, 10, 11, 11, 11,
11, 12, 12, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 13,
}

◆ GF_AC4_DE_HCB_DIFF_0_CW

const u32 GF_AC4_DE_HCB_DIFF_0_CW[63]
Initial value:
= {
0x0002b0, 0x0002b1, 0x0002b4, 0x0002b5, 0x0002b7, 0x0002b6, 0x0002ba, 0x0002bb, 0x0002bc, 0x00079d, 0x00148d, 0x0014b1, 0x00079e, 0x00079f, 0x00148f, 0x0014b6,
0x0014b4, 0x0014b5, 0x00014c, 0x000159, 0x0003cc, 0x00002a, 0x00014a, 0x00003d, 0x00000b, 0x000057, 0x000028, 0x000003, 0x000002, 0x000004, 0x000003, 0x000001,
0x000001, 0x00000b, 0x000000, 0x000006, 0x00002a, 0x00000e, 0x000004, 0x000053, 0x00001f, 0x000056, 0x000149, 0x000078, 0x000028, 0x000297, 0x000290, 0x0000f2,
0x000052, 0x000522, 0x0000a7, 0x000a59, 0x0003cd, 0x00015c, 0x0014b7, 0x0014b0, 0x00148e, 0x00148c, 0x00079c, 0x0002bf, 0x0002bd, 0x0002be, 0x00014d,
}

◆ GF_AC4_DE_HCB_ABS_1_LEN

const u32 GF_AC4_DE_HCB_ABS_1_LEN[61]
Initial value:
= {
9, 12, 12, 12, 12, 12, 12, 11, 10, 11, 11, 10, 10, 10, 10, 10,
10, 10, 9, 9, 9, 9, 8, 8, 8, 7, 6, 6, 6, 5, 1, 4,
5, 5, 5, 5, 5, 5, 6, 6, 5, 6, 7, 6, 7, 8, 8, 9,
9, 9, 9, 10, 10, 10, 11, 10, 11, 11, 12, 12, 10,
}

◆ GF_AC4_DE_HCB_ABS_1_CW

const u32 GF_AC4_DE_HCB_ABS_1_CW[61]
Initial value:
= {
0x00015c, 0x000aea, 0x000aeb, 0x000c56, 0x000c78, 0x000c79, 0x000e51, 0x000427, 0x000210, 0x00062a, 0x00063d, 0x000212, 0x00021d, 0x00031d, 0x0002bb, 0x000314,
0x000390, 0x000395, 0x00010b, 0x00015f, 0x00018b, 0x0001cb, 0x000086, 0x0000ab, 0x0000c6, 0x000054, 0x000020, 0x000024, 0x000038, 0x00001e, 0x000000, 0x00000d,
0x00001f, 0x000017, 0x000016, 0x000014, 0x000013, 0x000011, 0x00003b, 0x00003a, 0x000019, 0x000025, 0x000073, 0x000030, 0x000056, 0x0000c4, 0x0000aa, 0x0001c9,
0x00015e, 0x00010f, 0x00010a, 0x000391, 0x00031c, 0x00021c, 0x000729, 0x000211, 0x000574, 0x000426, 0x000e50, 0x000c57, 0x00031f,
}

◆ GF_AC4_DE_HCB_DIFF_1_LEN

const u32 GF_AC4_DE_HCB_DIFF_1_LEN[121]
Initial value:
= {
13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 12, 13, 13, 13, 13, 13, 13, 12, 12, 12, 11, 12,
12, 12, 12, 12, 12, 12, 11, 11, 11, 11, 11, 10, 10, 10, 10, 9,
9, 9, 8, 8, 7, 7, 7, 6, 6, 5, 4, 3, 1, 4, 5, 5,
6, 6, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 11, 11, 11, 11,
11, 12, 11, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13,
}

◆ GF_AC4_DE_HCB_DIFF_1_CW

const u32 GF_AC4_DE_HCB_DIFF_1_CW[121]
Initial value:
= {
0x001cf0, 0x001cbd, 0x001cbc, 0x001ccc, 0x001cb8, 0x001ccb, 0x001ccf, 0x001cc6, 0x001cca, 0x001cc9, 0x001cc8, 0x001cce, 0x001cc5, 0x001cd8, 0x001cc4, 0x001cdf,
0x001cd1, 0x001cd5, 0x001ce2, 0x001ce3, 0x000c21, 0x001cfc, 0x001cf1, 0x001cf2, 0x001cf6, 0x001cf4, 0x001cf7, 0x000c20, 0x000c24, 0x000c25, 0x000729, 0x000d1e,
0x000d1f, 0x000d59, 0x000d5b, 0x000d5f, 0x000e6d, 0x000e77, 0x00061b, 0x000613, 0x0006a8, 0x0006ae, 0x000730, 0x00030a, 0x00030c, 0x000355, 0x000396, 0x00016c,
0x0001a2, 0x0001bb, 0x0000d0, 0x0000dc, 0x00005a, 0x000069, 0x00006f, 0x000031, 0x000038, 0x000019, 0x00000a, 0x000004, 0x000000, 0x00000f, 0x00001d, 0x000017,
0x000036, 0x00002c, 0x00006b, 0x000060, 0x0000e4, 0x0000d4, 0x0000b7, 0x0001ba, 0x000187, 0x00016d, 0x000395, 0x00030b, 0x00073e, 0x000728, 0x0006a9, 0x00068d,
0x00068e, 0x000e7f, 0x000611, 0x000d5e, 0x000d5a, 0x000d58, 0x000d19, 0x000d18, 0x000c34, 0x000c35, 0x000e74, 0x001cfd, 0x001cf3, 0x001cf5, 0x001cec, 0x001ced,
0x001cea, 0x001ce7, 0x001ce5, 0x001ce6, 0x001ce4, 0x001cdd, 0x001ce1, 0x001ce0, 0x001cd4, 0x001cde, 0x001cd7, 0x001cdc, 0x001cd2, 0x001cd6, 0x001ccd, 0x001cd3,
0x001cd9, 0x001cbf, 0x001cbe, 0x001cd0, 0x001cbb, 0x001cba, 0x001cb9, 0x001cc7, 0x001ceb,
}