libgpac
Documentation of the core library of GPAC
av_parsers.c File Reference
#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
 

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)
 
static 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)
 
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)
 
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)
 
static 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)
 
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)
 
static GF_Err av1_parse_tile_group (GF_BitStream *bs, AV1State *state, u64 obu_start, u64 obu_size)
 
static 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_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_EXPORT GF_Err gf_media_prores_parse_bs (GF_BitStream *bs, GF_ProResFrameInfo *prores_frame)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 

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 []
 

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:486

◆ HEVC_SPS_BROKEN

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

◆ HEVC_PPS_BROKEN

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

◆ VVC_VPS_BROKEN

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

◆ VVC_SPS_BROKEN

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

◆ VVC_PPS_BROKEN

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

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_parse_sequence_header_obu()

static void av1_parse_sequence_header_obu ( GF_BitStream *  bs,
AV1State state 
)
static
+ 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_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:

◆ 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()

static u32 aom_av1_tile_log2 ( u32  blkSize,
u32  target 
)
static
+ 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)
static
+ 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:

◆ av1_parse_tile_group()

static GF_Err av1_parse_tile_group ( 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_frame_header()

static void av1_parse_frame_header ( GF_BitStream *  bs,
AV1State state 
)
static
+ 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_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:

◆ 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_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_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_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_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 
)
+ 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_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:

◆ 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:

◆ 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:

Variable Documentation

◆ 

const { ... } 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[]

◆ 

const { ... } 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
}
}

◆ 

const { ... } 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 }
}

◆ 

const { ... } 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
}