mpeg4_odf.h File Reference

#include <gpac/list.h>
#include <gpac/bitstream.h>
#include <gpac/sync_layer.h>
Include dependency graph for mpeg4_odf.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  GF_Descriptor
struct  GF_DefaultDescriptor
struct  GF_IPMP_ToolList
struct  GF_ObjectDescriptor
struct  GF_InitialObjectDescriptor
struct  GF_IsomObjectDescriptor
struct  GF_IsomInitialObjectDescriptor
struct  GF_ES_ID_Inc
struct  GF_ES_ID_Ref
struct  GF_DecoderConfig
struct  GF_CIDesc
struct  GF_SCIDesc
struct  GF_IPIPtr
struct  GF_IPMPPtr
struct  GF_GF_IPMPX_Base
struct  GF_IPMP_Descriptor
struct  GF_IPMP_Tool
struct  GF_ElementaryMask
struct  GF_BIFSConfig
struct  GF_StyleRecord
struct  GF_FontRecord
struct  GF_BoxRecord
struct  GF_TextSampleDescriptor
struct  GF_TextConfig
struct  GF_GenericSubtitleSampleDescriptor
struct  GF_GenericSubtitleConfig
struct  GF_MuxInfo
struct  GF_UIConfig
struct  GF_LASERConfig
struct  GF_QoS_Descriptor
struct  GF_QoS_Default
struct  GF_QoS_MaxDelay
struct  GF_QoS_PrefMaxDelay
struct  GF_QoS_LossProb
struct  GF_QoS_MaxGapLoss
struct  GF_QoS_MaxAUSize
struct  GF_QoS_AvgAUSize
struct  GF_QoS_MaxAURate
struct  GF_QoS_Private
struct  GF_Registration
struct  GF_Language
struct  GF_ESD
struct  GF_AuxVideoDescriptor
struct  GF_CCDescriptor
struct  GF_KeyWordItem
struct  GF_KeyWord
struct  GF_Rating
struct  GF_ShortTextual
struct  GF_ETD_ItemText
struct  GF_ExpandedTextual
struct  GF_ContentCreatorInfo
struct  GF_CC_Name
struct  GF_CC_Date
struct  GF_OCICreator_item
struct  GF_OCICreators
struct  GF_OCI_Data
struct  GF_SmpteParam
struct  GF_SMPTECamera
struct  GF_PLExt
struct  GF_PL_IDX
struct  GF_AVCConfigSlot
struct  GF_AVCConfig
struct  GF_HEVCParamArray
struct  GF_HEVCConfig
struct  GF_Segment
struct  GF_MediaTime
struct  GF_ODCom
struct  GF_BaseODCom
struct  GF_ODUpdate
struct  GF_ODRemove
struct  GF_ESDUpdate
struct  GF_ESDRemove
struct  GF_IPMPUpdate
struct  GF_IPMPRemove
struct  GF_ODCodec
struct  GF_IPMPX_ByteArray
struct  GF_IPMPX_Authentication
struct  GF_IPMPX_AUTH_KeyDescriptor
struct  GF_IPMPX_AUTH_AlgorithmDescriptor
struct  GF_IPMPX_Data
struct  GF_IPMPX_InitAuthentication
struct  GF_IPMPX_TrustSpecification
struct  GF_IPMPX_TrustedTool
struct  GF_IPMPX_TrustSecurityMetadata
struct  GF_IPMPX_MutualAuthentication
struct  GF_IPMPX_SecureContainer
struct  GF_IPMPX_GetToolsResponse
struct  GF_IPMPX_ParametricDescriptionItem
struct  GF_IPMPX_ParametricDescription
struct  GF_IPMPX_ToolParamCapabilitiesQuery
struct  GF_IPMPX_ToolParamCapabilitiesResponse
struct  GF_IPMPX_ConnectTool
struct  GF_IPMPX_DisconnectTool
struct  GF_IPMPX_GetToolContext
struct  GF_IPMPX_GetToolContextResponse
struct  GF_IPMPX_AddToolNotificationListener
struct  GF_IPMPX_RemoveToolNotificationListener
struct  GF_IPMPX_NotifyToolEvent
struct  GF_IPMPX_CanProcess
struct  GF_IPMPX_OpaqueData
struct  GF_IPMPX_KeyData
struct  GF_IPMPX_RightsData
struct  GF_IPMPX_SelEncBuffer
struct  GF_IPMPX_SelEncField
struct  GF_IPMPX_SelectiveDecryptionInit
struct  GF_IPMPX_WatermarkingInit
struct  GF_IPMPX_SendWatermark
struct  GF_IPMPX_ToolAPI_Config
struct  GF_IPMPX_ISMACryp

Defines

#define BASE_DESCRIPTOR   u8 tag;
#define GF_IPMPX_BASE
#define MAX_IPMP_ALT_TOOLS   20
#define QOS_BASE_QUALIFIER
#define BASE_OD_COMMAND   u8 tag;
#define GF_IPMPX_AUTH_DESC   u8 tag; \
#define GF_IPMPX_DATA_BASE

Typedefs

typedef struct __tag_oci_event OCIEvent
typedef struct __tag_oci_codec OCICodec
typedef char GF_IPMPX_Date [5]

Enumerations

enum  {
  GF_ODF_OD_TAG = 0x01, GF_ODF_IOD_TAG = 0x02, GF_ODF_ESD_TAG = 0x03, GF_ODF_DCD_TAG = 0x04,
  GF_ODF_DSI_TAG = 0x05, GF_ODF_SLC_TAG = 0x06, GF_ODF_CI_TAG = 0x07, GF_ODF_SCI_TAG = 0x08,
  GF_ODF_IPI_PTR_TAG = 0x09, GF_ODF_IPMP_PTR_TAG = 0x0A, GF_ODF_IPMP_TAG = 0x0B, GF_ODF_QOS_TAG = 0x0C,
  GF_ODF_REG_TAG = 0x0D, GF_ODF_ESD_INC_TAG = 0x0E, GF_ODF_ESD_REF_TAG = 0x0F, GF_ODF_ISOM_IOD_TAG = 0x10,
  GF_ODF_ISOM_OD_TAG = 0x11, GF_ODF_ISOM_IPI_PTR_TAG = 0x12, GF_ODF_EXT_PL_TAG = 0x13, GF_ODF_PL_IDX_TAG = 0x14,
  GF_ODF_ISO_BEGIN_TAG = 0x15, GF_ODF_ISO_END_TAG = 0x3F, GF_ODF_CC_TAG = 0x40, GF_ODF_KW_TAG = 0x41,
  GF_ODF_RATING_TAG = 0x42, GF_ODF_LANG_TAG = 0x43, GF_ODF_SHORT_TEXT_TAG = 0x44, GF_ODF_TEXT_TAG = 0x45,
  GF_ODF_CC_NAME_TAG = 0x46, GF_ODF_CC_DATE_TAG = 0x47, GF_ODF_OCI_NAME_TAG = 0x48, GF_ODF_OCI_DATE_TAG = 0x49,
  GF_ODF_SMPTE_TAG = 0x4A, GF_ODF_SEGMENT_TAG = 0x4B, GF_ODF_MEDIATIME_TAG = 0x4C, GF_ODF_IPMP_TL_TAG = 0x60,
  GF_ODF_IPMP_TOOL_TAG = 0x61, GF_ODF_ISO_RES_BEGIN_TAG = 0x62, GF_ODF_ISO_RES_END_TAG = 0xBF, GF_ODF_USER_BEGIN_TAG = 0xC0,
  GF_ODF_MUXINFO_TAG = GF_ODF_USER_BEGIN_TAG, GF_ODF_BIFS_CFG_TAG = GF_ODF_USER_BEGIN_TAG + 1, GF_ODF_UI_CFG_TAG = GF_ODF_USER_BEGIN_TAG + 2, GF_ODF_TEXT_CFG_TAG = GF_ODF_USER_BEGIN_TAG + 3,
  GF_ODF_TX3G_TAG = GF_ODF_USER_BEGIN_TAG + 4, GF_ODF_ELEM_MASK_TAG = GF_ODF_USER_BEGIN_TAG + 5, GF_ODF_LASER_CFG_TAG = GF_ODF_USER_BEGIN_TAG + 6, GF_ODF_GEN_SUB_CFG_TAG = GF_ODF_USER_BEGIN_TAG + 7,
  GF_ODF_USER_END_TAG = 0xFE, GF_ODF_OCI_BEGIN_TAG = 0x40, GF_ODF_OCI_END_TAG = (GF_ODF_ISO_RES_BEGIN_TAG - 1), GF_ODF_EXT_BEGIN_TAG = 0x80,
  GF_ODF_EXT_END_TAG = 0xFE, GF_ODF_AUX_VIDEO_DATA = GF_ODF_EXT_BEGIN_TAG + 1
}
enum  {
  IPMP_CP_NONE = 0, IPMP_CP_DB = 1, IPMP_CP_CB = 2, IPMP_CP_CM = 3,
  IPMP_CP_BIFS = 4
}
enum  { GF_TXT_STYLE_NORMAL = 0, GF_TXT_STYLE_BOLD = 1, GF_TXT_STYLE_ITALIC = 2, GF_TXT_STYLE_UNDERLINED = 4 }
enum  { GF_TXT_SCROLL_CREDITS = 0, GF_TXT_SCROLL_MARQUEE = 1, GF_TXT_SCROLL_DOWN = 2, GF_TXT_SCROLL_RIGHT = 3 }
enum  {
  GF_TXT_SCROLL_IN = 0x00000020, GF_TXT_SCROLL_OUT = 0x00000040, GF_TXT_SCROLL_DIRECTION = 0x00000180, GF_TXT_KARAOKE = 0x00000800,
  GF_TXT_VERTICAL = 0x00020000, GF_TXT_FILL_REGION = 0x00040000
}
enum  {
  QoSMaxDelayTag = 0x01, QoSPrefMaxDelayTag = 0x02, QoSLossProbTag = 0x03, QoSMaxGapLossTag = 0x04,
  QoSMaxAUSizeTag = 0x41, QoSAvgAUSizeTag = 0x42, QoSMaxAURateTag = 0x43
}
enum  {
  GF_ODF_OD_UPDATE_TAG = 0x01, GF_ODF_OD_REMOVE_TAG = 0x02, GF_ODF_ESD_UPDATE_TAG = 0x03, GF_ODF_ESD_REMOVE_TAG = 0x04,
  GF_ODF_IPMP_UPDATE_TAG = 0x05, GF_ODF_IPMP_REMOVE_TAG = 0x06, GF_ODF_ESD_REMOVE_REF_TAG = 0x07, GF_ODF_COM_ISO_BEGIN_TAG = 0x0D,
  GF_ODF_COM_ISO_END_TAG = 0xBF, GF_ODF_COM_USER_BEGIN_TAG = 0xC0, GF_ODF_COM_USER_END_TAG = 0xFE
}
enum  {
  GF_ODF_FT_DEFAULT = 0, GF_ODF_FT_OD = 1, GF_ODF_FT_OD_LIST = 2, GF_ODF_FT_IPMPX = 3,
  GF_ODF_FT_IPMPX_LIST = 4, GF_ODF_FT_IPMPX_BA = 5, GF_ODF_FT_IPMPX_BA_LIST = 6
}
enum  { GF_IPMPX_AUTH_Forbidden_Tag = 0x00, GF_IPMPX_AUTH_AlgorithmDescr_Tag = 0x01, GF_IPMPX_AUTH_KeyDescr_Tag = 0x02 }
enum  {
  GF_IPMPX_OPAQUE_DATA_TAG = 0x01, GF_IPMPX_AUDIO_WM_INIT_TAG = 0x02, GF_IPMPX_VIDEO_WM_INIT_TAG = 0x03, GF_IPMPX_SEL_DEC_INIT_TAG = 0x04,
  GF_IPMPX_KEY_DATA_TAG = 0x05, GF_IPMPX_AUDIO_WM_SEND_TAG = 0x06, GF_IPMPX_VIDEO_WM_SEND_TAG = 0x07, GF_IPMPX_RIGHTS_DATA_TAG = 0x08,
  GF_IPMPX_SECURE_CONTAINER_TAG = 0x09, GF_IPMPX_ADD_TOOL_LISTENER_TAG = 0x0A, GF_IPMPX_REMOVE_TOOL_LISTENER_TAG = 0x0B, GF_IPMPX_INIT_AUTHENTICATION_TAG = 0x0C,
  GF_IPMPX_MUTUAL_AUTHENTICATION_TAG = 0x0D, GF_IPMPX_USER_QUERY_TAG = 0x0E, GF_IPMPX_USER_RESPONSE_TAG = 0x0F, GF_IPMPX_PARAMETRIC_DESCRIPTION_TAG = 0x10,
  GF_IPMPX_PARAMETRIC_CAPS_QUERY_TAG = 0x11, GF_IPMPX_PARAMETRIC_CAPS_RESPONSE_TAG = 0x12, GF_IPMPX_GET_TOOLS_TAG = 0x13, GF_IPMPX_GET_TOOLS_RESPONSE_TAG = 0x14,
  GF_IPMPX_GET_TOOL_CONTEXT_TAG = 0x15, GF_IPMPX_GET_TOOL_CONTEXT_RESPONSE_TAG = 0x16, GF_IPMPX_CONNECT_TOOL_TAG = 0x17, GF_IPMPX_DISCONNECT_TOOL_TAG = 0x18,
  GF_IPMPX_NOTIFY_TOOL_EVENT_TAG = 0x19, GF_IPMPX_CAN_PROCESS_TAG = 0x1A, GF_IPMPX_TRUST_SECURITY_METADATA_TAG = 0x1B, GF_IPMPX_TOOL_API_CONFIG_TAG = 0x1C,
  GF_IPMPX_ISMACRYP_TAG = 0xD0, GF_IPMPX_TRUSTED_TOOL_TAG = 0xA1, GF_IPMPX_TRUST_SPECIFICATION_TAG = 0xA2, GF_IPMPX_ALGORITHM_DESCRIPTOR_TAG = 0xA3,
  GF_IPMPX_KEY_DESCRIPTOR_TAG = 0xA4, GF_IPMPX_PARAM_DESCRIPTOR_ITEM_TAG = 0xA5, GF_IPMPX_SEL_ENC_BUFFER_TAG = 0xA6, GF_IPMPX_SEL_ENC_FIELD_TAG = 0xA7
}
enum  {
  GF_IPMPX_LISTEN_CONNECTED = 0x00, GF_IPMPX_LISTEN_CONNECTIONFAILED = 0x01, GF_IPMPX_LISTEN_DISCONNECTED = 0x02, GF_IPMPX_LISTEN_DISCONNECTIONFAILED = 0x03,
  GF_IPMPX_LISTEN_WATERMARKDETECTED = 0x04
}
enum  { GF_IPMPX_SE_MT_ISO_IEC = 0x00, GF_IPMPX_SE_MT_ITU = 0x01 }
enum  {
  GF_IPMPX_SE_COMP_FULLY = 0x00, GF_IPMPX_SE_COMP_VIDEO_PACKETS = 0x01, GF_IPMPX_SE_COMP_VIDEO_VOP = 0x02, GF_IPMPX_SE_COMP_VIDEO_NONE = 0x03,
  GF_IPMPX_SE_COMP_VIDEO_GOB = 0x04, GF_IPMPX_SE_COMP_AAC_DF = 0x30, GF_IPMPX_SE_COMP_AAC_NONE = 0x31
}
enum  { GF_IPMPX_SE_SYNC_VID7EO_PACKETS = 0x00, GF_IPMPX_SE_SYNC_VIDEO_VOP = 0x01, GF_IPMPX_SE_SYNC_VIDEO_GOV = 0x02, GF_IPMPX_SE_SYNC_AAC_DF = 0x30 }
enum  {
  GF_IPMPX_SE_FID_VIDEO_MV = 0x00, GF_IPMPX_SE_FID_VIDEO_DC = 0x01, GF_IPMPX_SE_FID_VIDEO_DCT_SIGN = 0x02, GF_IPMPX_SE_FID_VIDEO_DQUANT = 0x03,
  GF_IPMPX_SE_FID_VIDEO_DCT_COEF = 0x04, GF_IPMPX_SE_FID_VIDEO_ALL = 0x05, GF_IPMPX_SE_FID_AAC_SIGN = 0x30, GF_IPMPX_SE_FID_AAC_CODEWORDS = 0x31,
  GF_IPMPX_SE_FID_AAC_SCALE = 0x32
}
enum  { GF_IPMPX_WM_INSERT = 0, GF_IPMPX_WM_EXTRACT = 1, GF_IPMPX_WM_REMARK = 2, GF_IPMPX_WM_DETECT_COMPRESSION = 3 }
enum  { GF_IPMPX_WM_PAYLOAD = 0, GF_IPMPX_WM_NOPAYLOAD = 1, GF_IPMPX_WM_NONE = 2, GF_IPMPX_WM_UNKNOWN = 3 }
enum  { GF_IPMPX_WM_COMPRESSION = 0, GF_IPMPX_WM_NO_COMPRESSION = 1, GF_IPMPX_WM_COMPRESSION_UNKNOWN = 2 }

Functions

GF_ODCodecgf_odf_codec_new ()
void gf_odf_codec_del (GF_ODCodec *codec)
GF_Err gf_odf_codec_add_com (GF_ODCodec *codec, GF_ODCom *command)
GF_Err gf_odf_codec_encode (GF_ODCodec *codec, u32 cleanup_type)
GF_Err gf_odf_codec_get_au (GF_ODCodec *codec, char **outAU, u32 *au_length)
GF_Err gf_odf_codec_set_au (GF_ODCodec *codec, const char *au, u32 au_length)
GF_Err gf_odf_codec_decode (GF_ODCodec *codec)
GF_ODComgf_odf_codec_get_com (GF_ODCodec *codec)
GF_Err gf_odf_codec_apply_com (GF_ODCodec *codec, GF_ODCom *command)
GF_ODComgf_odf_com_new (u8 tag)
GF_Err gf_odf_com_del (GF_ODCom **com)
GF_Descriptorgf_odf_desc_new (u8 tag)
void gf_odf_desc_del (GF_Descriptor *desc)
GF_ESDgf_odf_desc_esd_new (u32 sl_predefined)
GF_BIFSConfiggf_odf_get_bifs_config (GF_DefaultDescriptor *dsi, u8 oti)
GF_Err gf_odf_get_laser_config (GF_DefaultDescriptor *dsi, GF_LASERConfig *cfg)
GF_Err gf_odf_get_text_config (GF_DefaultDescriptor *dsi, u8 oti, GF_TextConfig *cfg)
GF_Err gf_odf_get_ui_config (GF_DefaultDescriptor *dsi, GF_UIConfig *cfg)
GF_Err gf_odf_encode_ui_config (GF_UIConfig *cfg, GF_DefaultDescriptor **out_dsi)
GF_AVCConfiggf_odf_avc_cfg_new ()
void gf_odf_avc_cfg_del (GF_AVCConfig *cfg)
GF_AVCConfiggf_odf_avc_cfg_read (char *dsi, u32 dsi_size)
GF_Err gf_odf_avc_cfg_write (GF_AVCConfig *cfg, char **outData, u32 *outSize)
GF_HEVCConfiggf_odf_hevc_cfg_new ()
void gf_odf_hevc_cfg_del (GF_HEVCConfig *cfg)
GF_Err gf_odf_hevc_cfg_write_bs (GF_HEVCConfig *cfg, GF_BitStream *bs)
GF_Err gf_odf_hevc_cfg_write (GF_HEVCConfig *cfg, char **outData, u32 *outSize)
GF_HEVCConfiggf_odf_hevc_cfg_read_bs (GF_BitStream *bs, Bool is_shvc)
GF_HEVCConfiggf_odf_hevc_cfg_read (char *dsi, u32 dsi_size, Bool is_shvc)
GF_Err gf_odf_desc_list_del (GF_List *descList)
GF_Err gf_odf_desc_read (char *raw_desc, u32 descSize, GF_Descriptor **outDesc)
GF_Err gf_odf_desc_write (GF_Descriptor *desc, char **outEncDesc, u32 *outSize)
u32 gf_odf_desc_size (GF_Descriptor *desc)
GF_Err gf_odf_desc_copy (GF_Descriptor *inDesc, GF_Descriptor **outDesc)
GF_Err gf_odf_desc_add_desc (GF_Descriptor *parentDesc, GF_Descriptor *newDesc)
const char * gf_esd_get_textual_description (GF_ESD *esd)
const char * gf_afx_get_type_description (u8 afx_code)
GF_Err gf_odf_desc_list_read (char *raw_list, u32 raw_size, GF_List *descList)
GF_Err gf_odf_desc_list_write (GF_List *descList, char **outEncList, u32 *outSize)
GF_Err gf_odf_desc_list_size (GF_List *descList, u32 *outSize)
const char * gf_odf_stream_type_name (u32 streamType)
u32 gf_odf_stream_type_by_name (const char *streamType)
GF_QoS_Defaultgf_odf_qos_new (u8 tag)
GF_Err gf_odf_qos_del (GF_QoS_Default **qos)
GF_Err gf_odf_qos_add_qualif (GF_QoS_Descriptor *desc, GF_QoS_Default *qualif)
OCIEventgf_oci_event_new (u16 EventID)
void gf_oci_event_del (OCIEvent *event)
GF_Err gf_oci_event_set_start_time (OCIEvent *event, u8 Hours, u8 Minutes, u8 Seconds, u8 HundredSeconds, u8 IsAbsoluteTime)
GF_Err gf_oci_event_set_duration (OCIEvent *event, u8 Hours, u8 Minutes, u8 Seconds, u8 HundredSeconds)
GF_Err gf_oci_event_add_desc (OCIEvent *event, GF_Descriptor *oci_desc)
GF_Err gf_oci_event_get_id (OCIEvent *event, u16 *ID)
GF_Err gf_oci_event_get_start_time (OCIEvent *event, u8 *Hours, u8 *Minutes, u8 *Seconds, u8 *HundredSeconds, u8 *IsAbsoluteTime)
GF_Err gf_oci_event_get_duration (OCIEvent *event, u8 *Hours, u8 *Minutes, u8 *Seconds, u8 *HundredSeconds)
u32 gf_oci_event_get_desc_count (OCIEvent *event)
GF_Descriptorgf_oci_event_get_desc (OCIEvent *event, u32 DescIndex)
GF_Err gf_oci_event_rem_desc (OCIEvent *event, u32 DescIndex)
OCICodecgf_oci_codec_new (u8 IsEncoder, u8 Version)
void gf_oci_codec_del (OCICodec *codec)
GF_Err gf_oci_codec_add_event (OCICodec *codec, OCIEvent *event)
GF_Err gf_oci_codec_encode (OCICodec *codec, char **outAU, u32 *au_length)
GF_Err gf_oci_codec_decode (OCICodec *codec, char *au, u32 au_length)
OCIEventgf_oci_codec_get_event (OCICodec *codec)
GF_Err gf_odf_dump_au (char *data, u32 dataLength, FILE *trace, u32 indent, Bool XMTDump)
GF_Err gf_odf_dump_com (void *p, FILE *trace, u32 indent, Bool XMTDump)
GF_Err gf_odf_dump_desc (void *ptr, FILE *trace, u32 indent, Bool XMTDump)
GF_Err gf_odf_dump_com_list (GF_List *commandList, FILE *trace, u32 indent, Bool XMTDump)
GF_Err gf_oci_dump_event (OCIEvent *ev, FILE *trace, u32 indent, Bool XMTDump)
GF_Err gf_oci_dump_au (u8 version, char *au, u32 au_length, FILE *trace, u32 indent, Bool XMTDump)
u32 gf_odf_get_tag_by_name (char *descName)
u32 gf_odf_get_field_type (GF_Descriptor *desc, char *fieldName)
GF_Err gf_odf_set_field (GF_Descriptor *desc, char *fieldName, char *val)
GF_IPMPX_Datagf_ipmpx_data_new (u8 tag)
void gf_ipmpx_data_del (GF_IPMPX_Data *p)
GF_Err gf_ipmpx_data_parse (GF_BitStream *bs, GF_IPMPX_Data **out_data)
u32 gf_ipmpx_data_size (GF_IPMPX_Data *p)
u32 gf_ipmpx_data_full_size (GF_IPMPX_Data *p)
GF_Err gf_ipmpx_data_write (GF_BitStream *bs, GF_IPMPX_Data *_p)
u8 gf_ipmpx_get_tag (char *dataName)
u32 gf_ipmpx_get_field_type (GF_IPMPX_Data *p, char *fieldName)
GF_Err gf_ipmpx_set_field (GF_IPMPX_Data *desc, char *fieldName, char *val)
GF_Err gf_ipmpx_set_sub_data (GF_IPMPX_Data *desc, char *fieldName, GF_IPMPX_Data *subdesc)
GF_Err gf_ipmpx_set_byte_array (GF_IPMPX_Data *p, char *field, char *str)
GF_Err gf_ipmpx_dump_data (GF_IPMPX_Data *_p, FILE *trace, u32 indent, Bool XMTDump)

Define Documentation

#define BASE_DESCRIPTOR   u8 tag;
#define GF_IPMPX_BASE
Value:
u8 tag; \
        u8 version;     \
        u32 dataID;     \
#define MAX_IPMP_ALT_TOOLS   20
#define QOS_BASE_QUALIFIER
Value:
u8 tag; \
        u32 size;
#define BASE_OD_COMMAND   u8 tag;
#define GF_IPMPX_AUTH_DESC   u8 tag; \
#define GF_IPMPX_DATA_BASE
Value:
u8 tag; \
        u8 Version;     \
        u8 dataID;      \

Typedef Documentation

typedef struct __tag_oci_event OCIEvent
typedef struct __tag_oci_codec OCICodec
typedef char GF_IPMPX_Date[5]

Enumeration Type Documentation

anonymous enum
Enumerator:
GF_ODF_OD_TAG 
GF_ODF_IOD_TAG 
GF_ODF_ESD_TAG 
GF_ODF_DCD_TAG 
GF_ODF_DSI_TAG 
GF_ODF_SLC_TAG 
GF_ODF_CI_TAG 
GF_ODF_SCI_TAG 
GF_ODF_IPI_PTR_TAG 
GF_ODF_IPMP_PTR_TAG 
GF_ODF_IPMP_TAG 
GF_ODF_QOS_TAG 
GF_ODF_REG_TAG 
GF_ODF_ESD_INC_TAG 
GF_ODF_ESD_REF_TAG 
GF_ODF_ISOM_IOD_TAG 
GF_ODF_ISOM_OD_TAG 
GF_ODF_ISOM_IPI_PTR_TAG 
GF_ODF_EXT_PL_TAG 
GF_ODF_PL_IDX_TAG 
GF_ODF_ISO_BEGIN_TAG 
GF_ODF_ISO_END_TAG 
GF_ODF_CC_TAG 
GF_ODF_KW_TAG 
GF_ODF_RATING_TAG 
GF_ODF_LANG_TAG 
GF_ODF_SHORT_TEXT_TAG 
GF_ODF_TEXT_TAG 
GF_ODF_CC_NAME_TAG 
GF_ODF_CC_DATE_TAG 
GF_ODF_OCI_NAME_TAG 
GF_ODF_OCI_DATE_TAG 
GF_ODF_SMPTE_TAG 
GF_ODF_SEGMENT_TAG 
GF_ODF_MEDIATIME_TAG 
GF_ODF_IPMP_TL_TAG 
GF_ODF_IPMP_TOOL_TAG 
GF_ODF_ISO_RES_BEGIN_TAG 
GF_ODF_ISO_RES_END_TAG 
GF_ODF_USER_BEGIN_TAG 
GF_ODF_MUXINFO_TAG 
GF_ODF_BIFS_CFG_TAG 
GF_ODF_UI_CFG_TAG 
GF_ODF_TEXT_CFG_TAG 
GF_ODF_TX3G_TAG 
GF_ODF_ELEM_MASK_TAG 
GF_ODF_LASER_CFG_TAG 
GF_ODF_GEN_SUB_CFG_TAG 
GF_ODF_USER_END_TAG 
GF_ODF_OCI_BEGIN_TAG 
GF_ODF_OCI_END_TAG 
GF_ODF_EXT_BEGIN_TAG 
GF_ODF_EXT_END_TAG 
GF_ODF_AUX_VIDEO_DATA 
anonymous enum
Enumerator:
IPMP_CP_NONE 
IPMP_CP_DB 
IPMP_CP_CB 
IPMP_CP_CM 
IPMP_CP_BIFS 
anonymous enum
Enumerator:
GF_TXT_STYLE_NORMAL 
GF_TXT_STYLE_BOLD 
GF_TXT_STYLE_ITALIC 
GF_TXT_STYLE_UNDERLINED 
anonymous enum
Enumerator:
GF_TXT_SCROLL_CREDITS 
GF_TXT_SCROLL_MARQUEE 
GF_TXT_SCROLL_DOWN 
GF_TXT_SCROLL_RIGHT 
anonymous enum
Enumerator:
GF_TXT_SCROLL_IN 
GF_TXT_SCROLL_OUT 
GF_TXT_SCROLL_DIRECTION 
GF_TXT_KARAOKE 
GF_TXT_VERTICAL 
GF_TXT_FILL_REGION 
anonymous enum
Enumerator:
QoSMaxDelayTag 
QoSPrefMaxDelayTag 
QoSLossProbTag 
QoSMaxGapLossTag 
QoSMaxAUSizeTag 
QoSAvgAUSizeTag 
QoSMaxAURateTag 
anonymous enum
Enumerator:
GF_ODF_OD_UPDATE_TAG 
GF_ODF_OD_REMOVE_TAG 
GF_ODF_ESD_UPDATE_TAG 
GF_ODF_ESD_REMOVE_TAG 
GF_ODF_IPMP_UPDATE_TAG 
GF_ODF_IPMP_REMOVE_TAG 
GF_ODF_ESD_REMOVE_REF_TAG 
GF_ODF_COM_ISO_BEGIN_TAG 
GF_ODF_COM_ISO_END_TAG 
GF_ODF_COM_USER_BEGIN_TAG 
GF_ODF_COM_USER_END_TAG 
anonymous enum
Enumerator:
GF_ODF_FT_DEFAULT 
GF_ODF_FT_OD 
GF_ODF_FT_OD_LIST 
GF_ODF_FT_IPMPX 
GF_ODF_FT_IPMPX_LIST 
GF_ODF_FT_IPMPX_BA 
GF_ODF_FT_IPMPX_BA_LIST 
anonymous enum
Enumerator:
GF_IPMPX_AUTH_Forbidden_Tag 
GF_IPMPX_AUTH_AlgorithmDescr_Tag 
GF_IPMPX_AUTH_KeyDescr_Tag 
anonymous enum
Enumerator:
GF_IPMPX_OPAQUE_DATA_TAG 
GF_IPMPX_AUDIO_WM_INIT_TAG 
GF_IPMPX_VIDEO_WM_INIT_TAG 
GF_IPMPX_SEL_DEC_INIT_TAG 
GF_IPMPX_KEY_DATA_TAG 
GF_IPMPX_AUDIO_WM_SEND_TAG 
GF_IPMPX_VIDEO_WM_SEND_TAG 
GF_IPMPX_RIGHTS_DATA_TAG 
GF_IPMPX_SECURE_CONTAINER_TAG 
GF_IPMPX_ADD_TOOL_LISTENER_TAG 
GF_IPMPX_REMOVE_TOOL_LISTENER_TAG 
GF_IPMPX_INIT_AUTHENTICATION_TAG 
GF_IPMPX_MUTUAL_AUTHENTICATION_TAG 
GF_IPMPX_USER_QUERY_TAG 
GF_IPMPX_USER_RESPONSE_TAG 
GF_IPMPX_PARAMETRIC_DESCRIPTION_TAG 
GF_IPMPX_PARAMETRIC_CAPS_QUERY_TAG 
GF_IPMPX_PARAMETRIC_CAPS_RESPONSE_TAG 
GF_IPMPX_GET_TOOLS_TAG 
GF_IPMPX_GET_TOOLS_RESPONSE_TAG 
GF_IPMPX_GET_TOOL_CONTEXT_TAG 
GF_IPMPX_GET_TOOL_CONTEXT_RESPONSE_TAG 
GF_IPMPX_CONNECT_TOOL_TAG 
GF_IPMPX_DISCONNECT_TOOL_TAG 
GF_IPMPX_NOTIFY_TOOL_EVENT_TAG 
GF_IPMPX_CAN_PROCESS_TAG 
GF_IPMPX_TRUST_SECURITY_METADATA_TAG 
GF_IPMPX_TOOL_API_CONFIG_TAG 
GF_IPMPX_ISMACRYP_TAG 
GF_IPMPX_TRUSTED_TOOL_TAG 
GF_IPMPX_TRUST_SPECIFICATION_TAG 
GF_IPMPX_ALGORITHM_DESCRIPTOR_TAG 
GF_IPMPX_KEY_DESCRIPTOR_TAG 
GF_IPMPX_PARAM_DESCRIPTOR_ITEM_TAG 
GF_IPMPX_SEL_ENC_BUFFER_TAG 
GF_IPMPX_SEL_ENC_FIELD_TAG 
anonymous enum
Enumerator:
GF_IPMPX_LISTEN_CONNECTED 
GF_IPMPX_LISTEN_CONNECTIONFAILED 
GF_IPMPX_LISTEN_DISCONNECTED 
GF_IPMPX_LISTEN_DISCONNECTIONFAILED 
GF_IPMPX_LISTEN_WATERMARKDETECTED 
anonymous enum
Enumerator:
GF_IPMPX_SE_MT_ISO_IEC 
GF_IPMPX_SE_MT_ITU 
anonymous enum
Enumerator:
GF_IPMPX_SE_COMP_FULLY 
GF_IPMPX_SE_COMP_VIDEO_PACKETS 
GF_IPMPX_SE_COMP_VIDEO_VOP 
GF_IPMPX_SE_COMP_VIDEO_NONE 
GF_IPMPX_SE_COMP_VIDEO_GOB 
GF_IPMPX_SE_COMP_AAC_DF 
GF_IPMPX_SE_COMP_AAC_NONE 
anonymous enum
Enumerator:
GF_IPMPX_SE_SYNC_VID7EO_PACKETS 
GF_IPMPX_SE_SYNC_VIDEO_VOP 
GF_IPMPX_SE_SYNC_VIDEO_GOV 
GF_IPMPX_SE_SYNC_AAC_DF 
anonymous enum
Enumerator:
GF_IPMPX_SE_FID_VIDEO_MV 
GF_IPMPX_SE_FID_VIDEO_DC 
GF_IPMPX_SE_FID_VIDEO_DCT_SIGN 
GF_IPMPX_SE_FID_VIDEO_DQUANT 
GF_IPMPX_SE_FID_VIDEO_DCT_COEF 
GF_IPMPX_SE_FID_VIDEO_ALL 
GF_IPMPX_SE_FID_AAC_SIGN 
GF_IPMPX_SE_FID_AAC_CODEWORDS 
GF_IPMPX_SE_FID_AAC_SCALE 
anonymous enum
Enumerator:
GF_IPMPX_WM_INSERT 
GF_IPMPX_WM_EXTRACT 
GF_IPMPX_WM_REMARK 
GF_IPMPX_WM_DETECT_COMPRESSION 
anonymous enum
Enumerator:
GF_IPMPX_WM_PAYLOAD 
GF_IPMPX_WM_NOPAYLOAD 
GF_IPMPX_WM_NONE 
GF_IPMPX_WM_UNKNOWN 
anonymous enum
Enumerator:
GF_IPMPX_WM_COMPRESSION 
GF_IPMPX_WM_NO_COMPRESSION 
GF_IPMPX_WM_COMPRESSION_UNKNOWN 

Function Documentation

GF_ODCodec* gf_odf_codec_new (  ) 
void gf_odf_codec_del ( GF_ODCodec codec  ) 
GF_Err gf_odf_codec_add_com ( GF_ODCodec codec,
GF_ODCom command 
)
GF_Err gf_odf_codec_encode ( GF_ODCodec codec,
u32  cleanup_type 
)
GF_Err gf_odf_codec_get_au ( GF_ODCodec codec,
char **  outAU,
u32 au_length 
)
GF_Err gf_odf_codec_set_au ( GF_ODCodec codec,
const char *  au,
u32  au_length 
)
GF_Err gf_odf_codec_decode ( GF_ODCodec codec  ) 
GF_ODCom* gf_odf_codec_get_com ( GF_ODCodec codec  ) 
GF_Err gf_odf_codec_apply_com ( GF_ODCodec codec,
GF_ODCom command 
)
GF_ODCom* gf_odf_com_new ( u8  tag  ) 
GF_Err gf_odf_com_del ( GF_ODCom **  com  ) 
GF_Descriptor* gf_odf_desc_new ( u8  tag  ) 
void gf_odf_desc_del ( GF_Descriptor desc  ) 
GF_ESD* gf_odf_desc_esd_new ( u32  sl_predefined  ) 
GF_BIFSConfig* gf_odf_get_bifs_config ( GF_DefaultDescriptor dsi,
u8  oti 
)
GF_Err gf_odf_get_laser_config ( GF_DefaultDescriptor dsi,
GF_LASERConfig cfg 
)
GF_Err gf_odf_get_text_config ( GF_DefaultDescriptor dsi,
u8  oti,
GF_TextConfig cfg 
)
GF_Err gf_odf_get_ui_config ( GF_DefaultDescriptor dsi,
GF_UIConfig cfg 
)
GF_Err gf_odf_encode_ui_config ( GF_UIConfig cfg,
GF_DefaultDescriptor **  out_dsi 
)
GF_AVCConfig* gf_odf_avc_cfg_new (  ) 
void gf_odf_avc_cfg_del ( GF_AVCConfig cfg  ) 
GF_AVCConfig* gf_odf_avc_cfg_read ( char *  dsi,
u32  dsi_size 
)
GF_Err gf_odf_avc_cfg_write ( GF_AVCConfig cfg,
char **  outData,
u32 outSize 
)
GF_HEVCConfig* gf_odf_hevc_cfg_new (  ) 
void gf_odf_hevc_cfg_del ( GF_HEVCConfig cfg  ) 
GF_Err gf_odf_hevc_cfg_write_bs ( GF_HEVCConfig cfg,
GF_BitStream bs 
)
GF_Err gf_odf_hevc_cfg_write ( GF_HEVCConfig cfg,
char **  outData,
u32 outSize 
)
GF_HEVCConfig* gf_odf_hevc_cfg_read_bs ( GF_BitStream bs,
Bool  is_shvc 
)
GF_HEVCConfig* gf_odf_hevc_cfg_read ( char *  dsi,
u32  dsi_size,
Bool  is_shvc 
)
GF_Err gf_odf_desc_list_del ( GF_List descList  ) 
GF_Err gf_odf_desc_read ( char *  raw_desc,
u32  descSize,
GF_Descriptor **  outDesc 
)
GF_Err gf_odf_desc_write ( GF_Descriptor desc,
char **  outEncDesc,
u32 outSize 
)
u32 gf_odf_desc_size ( GF_Descriptor desc  ) 
GF_Err gf_odf_desc_copy ( GF_Descriptor inDesc,
GF_Descriptor **  outDesc 
)
GF_Err gf_odf_desc_add_desc ( GF_Descriptor parentDesc,
GF_Descriptor newDesc 
)
const char* gf_esd_get_textual_description ( GF_ESD esd  ) 
const char* gf_afx_get_type_description ( u8  afx_code  ) 
GF_Err gf_odf_desc_list_read ( char *  raw_list,
u32  raw_size,
GF_List descList 
)
GF_Err gf_odf_desc_list_write ( GF_List descList,
char **  outEncList,
u32 outSize 
)
GF_Err gf_odf_desc_list_size ( GF_List descList,
u32 outSize 
)
const char* gf_odf_stream_type_name ( u32  streamType  ) 
u32 gf_odf_stream_type_by_name ( const char *  streamType  ) 
GF_QoS_Default* gf_odf_qos_new ( u8  tag  ) 
GF_Err gf_odf_qos_del ( GF_QoS_Default **  qos  ) 
GF_Err gf_odf_qos_add_qualif ( GF_QoS_Descriptor desc,
GF_QoS_Default qualif 
)
OCIEvent* gf_oci_event_new ( u16  EventID  ) 
void gf_oci_event_del ( OCIEvent event  ) 
GF_Err gf_oci_event_set_start_time ( OCIEvent event,
u8  Hours,
u8  Minutes,
u8  Seconds,
u8  HundredSeconds,
u8  IsAbsoluteTime 
)
GF_Err gf_oci_event_set_duration ( OCIEvent event,
u8  Hours,
u8  Minutes,
u8  Seconds,
u8  HundredSeconds 
)
GF_Err gf_oci_event_add_desc ( OCIEvent event,
GF_Descriptor oci_desc 
)
GF_Err gf_oci_event_get_id ( OCIEvent event,
u16 ID 
)
GF_Err gf_oci_event_get_start_time ( OCIEvent event,
u8 Hours,
u8 Minutes,
u8 Seconds,
u8 HundredSeconds,
u8 IsAbsoluteTime 
)
GF_Err gf_oci_event_get_duration ( OCIEvent event,
u8 Hours,
u8 Minutes,
u8 Seconds,
u8 HundredSeconds 
)
u32 gf_oci_event_get_desc_count ( OCIEvent event  ) 
GF_Descriptor* gf_oci_event_get_desc ( OCIEvent event,
u32  DescIndex 
)
GF_Err gf_oci_event_rem_desc ( OCIEvent event,
u32  DescIndex 
)
OCICodec* gf_oci_codec_new ( u8  IsEncoder,
u8  Version 
)
void gf_oci_codec_del ( OCICodec codec  ) 
GF_Err gf_oci_codec_add_event ( OCICodec codec,
OCIEvent event 
)
GF_Err gf_oci_codec_encode ( OCICodec codec,
char **  outAU,
u32 au_length 
)
GF_Err gf_oci_codec_decode ( OCICodec codec,
char *  au,
u32  au_length 
)
OCIEvent* gf_oci_codec_get_event ( OCICodec codec  ) 
GF_Err gf_odf_dump_au ( char *  data,
u32  dataLength,
FILE *  trace,
u32  indent,
Bool  XMTDump 
)
GF_Err gf_odf_dump_com ( void *  p,
FILE *  trace,
u32  indent,
Bool  XMTDump 
)
GF_Err gf_odf_dump_desc ( void *  ptr,
FILE *  trace,
u32  indent,
Bool  XMTDump 
)
GF_Err gf_odf_dump_com_list ( GF_List commandList,
FILE *  trace,
u32  indent,
Bool  XMTDump 
)
GF_Err gf_oci_dump_event ( OCIEvent ev,
FILE *  trace,
u32  indent,
Bool  XMTDump 
)
GF_Err gf_oci_dump_au ( u8  version,
char *  au,
u32  au_length,
FILE *  trace,
u32  indent,
Bool  XMTDump 
)
u32 gf_odf_get_tag_by_name ( char *  descName  ) 
u32 gf_odf_get_field_type ( GF_Descriptor desc,
char *  fieldName 
)
GF_Err gf_odf_set_field ( GF_Descriptor desc,
char *  fieldName,
char *  val 
)
GF_IPMPX_Data* gf_ipmpx_data_new ( u8  tag  ) 
void gf_ipmpx_data_del ( GF_IPMPX_Data p  ) 
GF_Err gf_ipmpx_data_parse ( GF_BitStream bs,
GF_IPMPX_Data **  out_data 
)
u32 gf_ipmpx_data_size ( GF_IPMPX_Data p  ) 
u32 gf_ipmpx_data_full_size ( GF_IPMPX_Data p  ) 
GF_Err gf_ipmpx_data_write ( GF_BitStream bs,
GF_IPMPX_Data _p 
)
u8 gf_ipmpx_get_tag ( char *  dataName  ) 
u32 gf_ipmpx_get_field_type ( GF_IPMPX_Data p,
char *  fieldName 
)
GF_Err gf_ipmpx_set_field ( GF_IPMPX_Data desc,
char *  fieldName,
char *  val 
)
GF_Err gf_ipmpx_set_sub_data ( GF_IPMPX_Data desc,
char *  fieldName,
GF_IPMPX_Data subdesc 
)
GF_Err gf_ipmpx_set_byte_array ( GF_IPMPX_Data p,
char *  field,
char *  str 
)
GF_Err gf_ipmpx_dump_data ( GF_IPMPX_Data _p,
FILE *  trace,
u32  indent,
Bool  XMTDump 
)

Generated on 4 May 2016 for libgpac by  doxygen 1.6.1