
Defines | |
| #define | ASF_DEBUG 1 |
| #define | GUID_FMT "0x%x-0x%x-0x%x-0x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x" |
| #define | GUID_PRINT(guid) |
| #define | ASF_HAVE(n) AsfObjectHelperHave( p_peek, i_peek, p_data, n ) |
| #define | ASF_SKIP(n) AsfObjectHelperSkip( p_peek, i_peek, (uint8_t**)&p_data, n ) |
| #define | ASF_FUNCTION_READ_X(type, x, cmd) |
| #define | ASF_READ1() AsfObjectHelperRead1( p_peek, i_peek, (uint8_t**)&p_data ) |
| #define | ASF_READ2() AsfObjectHelperRead2( p_peek, i_peek, (uint8_t**)&p_data ) |
| #define | ASF_READ4() AsfObjectHelperRead4( p_peek, i_peek, (uint8_t**)&p_data ) |
| #define | ASF_READ8() AsfObjectHelperRead8( p_peek, i_peek, (uint8_t**)&p_data ) |
| #define | ASF_READS(n) AsfObjectHelperReadString( p_peek, i_peek, (uint8_t**)&p_data, n ) |
| #define | GETSTRINGW(psz_str, i_size) |
Functions | |
| static bool | AsfObjectHelperHave (const uint8_t *p_peek, int i_peek, const uint8_t *p_current, int i_wanted) |
| static void | AsfObjectHelperSkip (const uint8_t *p_peek, int i_peek, uint8_t **pp_data, int i_wanted) |
| static uint8_t | AsfObjectHelperRead1 (const uint8_t *p_peek, int i_peek, uint8_t **pp_data) |
| static uint16_t | AsfObjectHelperRead2 (const uint8_t *p_peek, int i_peek, uint8_t **pp_data) |
| static uint32_t | AsfObjectHelperRead4 (const uint8_t *p_peek, int i_peek, uint8_t **pp_data) |
| static uint64_t | AsfObjectHelperRead8 (const uint8_t *p_peek, int i_peek, uint8_t **pp_data) |
| static char * | AsfObjectHelperReadString (const uint8_t *p_peek, int i_peek, uint8_t **pp_data, int i_size) |
| static int | ASF_ReadObject (stream_t *, asf_object_t *, asf_object_t *) |
| void | ASF_GetGUID (guid_t *p_guid, const uint8_t *p_data) |
| bool | ASF_CmpGUID (const guid_t *p_guid1, const guid_t *p_guid2) |
| static int | ASF_ReadObjectCommon (stream_t *s, asf_object_t *p_obj) |
| static int | ASF_NextObject (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_Null (asf_object_t *pp_obj) |
| static int | ASF_ReadObject_Header (stream_t *s, asf_object_t *p_obj) |
| static int | ASF_ReadObject_Data (stream_t *s, asf_object_t *p_obj) |
| static int | ASF_ReadObject_Index (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_Index (asf_object_t *p_obj) |
| static int | ASF_ReadObject_file_properties (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_metadata (asf_object_t *p_obj) |
| static int | ASF_ReadObject_metadata (stream_t *s, asf_object_t *p_obj) |
| static int | ASF_ReadObject_header_extension (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_header_extension (asf_object_t *p_obj) |
| static int | ASF_ReadObject_stream_properties (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_stream_properties (asf_object_t *p_obj) |
| static int | ASF_ReadObject_codec_list (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_codec_list (asf_object_t *p_obj) |
| static int | ASF_ReadObject_content_description (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_content_description (asf_object_t *p_obj) |
| static int | ASF_ReadObject_language_list (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_language_list (asf_object_t *p_obj) |
| static int | ASF_ReadObject_stream_bitrate_properties (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_stream_bitrate_properties (asf_object_t *p_obj) |
| static int | ASF_ReadObject_extended_stream_properties (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_extended_stream_properties (asf_object_t *p_obj) |
| static int | ASF_ReadObject_advanced_mutual_exclusion (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_advanced_mutual_exclusion (asf_object_t *p_obj) |
| static int | ASF_ReadObject_stream_prioritization (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_stream_prioritization (asf_object_t *p_obj) |
| static int | ASF_ReadObject_extended_content_description (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_FreeObject_extended_content_description (asf_object_t *p_obj) |
| static void | ASF_FreeObject (stream_t *s, asf_object_t *p_obj) |
| static void | ASF_ObjectDumpDebug (vlc_object_t *p_obj, asf_object_common_t *p_node, unsigned i_level) |
| asf_object_root_t * | ASF_ReadObjectRoot (stream_t *s, int b_seekable) |
| void | ASF_FreeObjectRoot (stream_t *s, asf_object_root_t *p_root) |
| int | __ASF_CountObject (asf_object_t *p_obj, const guid_t *p_guid) |
| void * | __ASF_FindObject (asf_object_t *p_obj, const guid_t *p_guid, int i_number) |
Variables | |
| struct { | |
| const guid_t * p_id | |
| int i_type | |
| int(* ASF_ReadObject_function )(stream_t *, asf_object_t *p_obj) | |
| void(* ASF_FreeObject_function )(asf_object_t *p_obj) | |
| } | ASF_Object_Function [] |
| struct { | |
| const guid_t * p_id | |
| const char * psz_name | |
| } | ASF_ObjectDumpDebugInfo [] |
| #define ASF_DEBUG 1 |
| #define ASF_FUNCTION_READ_X | ( | type, | |||
| x, | |||||
| cmd | ) |
| #define ASF_HAVE | ( | n | ) | AsfObjectHelperHave( p_peek, i_peek, p_data, n ) |
Referenced by ASF_ReadObject_advanced_mutual_exclusion(), ASF_ReadObject_codec_list(), ASF_ReadObject_content_description(), ASF_ReadObject_extended_content_description(), ASF_ReadObject_extended_stream_properties(), ASF_ReadObject_language_list(), ASF_ReadObject_metadata(), ASF_ReadObject_stream_bitrate_properties(), ASF_ReadObject_stream_prioritization(), and AsfObjectHelperReadString().
| #define ASF_READ1 | ( | ) | AsfObjectHelperRead1( p_peek, i_peek, (uint8_t**)&p_data ) |
Referenced by ASF_ReadObject_extended_content_description(), and ASF_ReadObject_language_list().
| #define ASF_READ2 | ( | ) | AsfObjectHelperRead2( p_peek, i_peek, (uint8_t**)&p_data ) |
Referenced by ASF_ReadObject_advanced_mutual_exclusion(), ASF_ReadObject_codec_list(), ASF_ReadObject_content_description(), ASF_ReadObject_extended_content_description(), ASF_ReadObject_extended_stream_properties(), ASF_ReadObject_language_list(), ASF_ReadObject_metadata(), ASF_ReadObject_stream_bitrate_properties(), and ASF_ReadObject_stream_prioritization().
| #define ASF_READ4 | ( | ) | AsfObjectHelperRead4( p_peek, i_peek, (uint8_t**)&p_data ) |
| #define ASF_READ8 | ( | ) | AsfObjectHelperRead8( p_peek, i_peek, (uint8_t**)&p_data ) |
Referenced by ASF_ReadObject_extended_content_description(), and ASF_ReadObject_metadata().
| #define ASF_READS | ( | n | ) | AsfObjectHelperReadString( p_peek, i_peek, (uint8_t**)&p_data, n ) |
| #define ASF_SKIP | ( | n | ) | AsfObjectHelperSkip( p_peek, i_peek, (uint8_t**)&p_data, n ) |
| #define GETSTRINGW | ( | psz_str, | |||
| i_size | ) |
Value:
do { \ psz_str = calloc( i_size*3+1, sizeof(char) ); \ if( psz_str ) { \ ib = (const char *)p_data; \ ob = psz_str; \ i_ibl = i_size; \ i_obl = i_size*3; \ i_len = vlc_iconv(cd, &ib, &i_ibl, &ob, &i_obl); \ p_data += i_size; \ } } while(0)
Referenced by ASF_ReadObject_content_description().
| #define GUID_FMT "0x%x-0x%x-0x%x-0x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x" |
| #define GUID_PRINT | ( | guid | ) |
Value:
(guid).v1, \
(guid).v2, \
(guid).v3, \
(guid).v4[0],(guid).v4[1],(guid).v4[2],(guid).v4[3], \
(guid).v4[4],(guid).v4[5],(guid).v4[6],(guid).v4[7]
| int __ASF_CountObject | ( | asf_object_t * | p_obj, | |
| const guid_t * | p_guid | |||
| ) |
| void* __ASF_FindObject | ( | asf_object_t * | p_obj, | |
| const guid_t * | p_guid, | |||
| int | i_number | |||
| ) |
References guid_s::v1, guid_s::v2, guid_s::v3, and guid_s::v4.
Referenced by __ASF_CountObject(), __ASF_FindObject(), ASF_FreeObject(), ASF_ObjectDumpDebug(), ASF_ReadObject(), Demux(), and DemuxInit().
| static void ASF_FreeObject | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
| static void ASF_FreeObject_advanced_mutual_exclusion | ( | asf_object_t * | p_obj | ) | [static] |
| static void ASF_FreeObject_codec_list | ( | asf_object_t * | p_obj | ) | [static] |
| static void ASF_FreeObject_content_description | ( | asf_object_t * | p_obj | ) | [static] |
| static void ASF_FreeObject_extended_content_description | ( | asf_object_t * | p_obj | ) | [static] |
| static void ASF_FreeObject_extended_stream_properties | ( | asf_object_t * | p_obj | ) | [static] |
| static void ASF_FreeObject_header_extension | ( | asf_object_t * | p_obj | ) | [static] |
| static void ASF_FreeObject_Index | ( | asf_object_t * | p_obj | ) | [static] |
References FREENULL, asf_object_u::index, and asf_object_index_t::index_entry.
| static void ASF_FreeObject_language_list | ( | asf_object_t * | p_obj | ) | [static] |
| static void ASF_FreeObject_metadata | ( | asf_object_t * | p_obj | ) | [static] |
| static void ASF_FreeObject_Null | ( | asf_object_t * | pp_obj | ) | [static] |
References VLC_UNUSED.
| static void ASF_FreeObject_stream_bitrate_properties | ( | asf_object_t * | p_obj | ) | [static] |
References VLC_UNUSED.
| static void ASF_FreeObject_stream_prioritization | ( | asf_object_t * | p_obj | ) | [static] |
| static void ASF_FreeObject_stream_properties | ( | asf_object_t * | p_obj | ) | [static] |
| void ASF_FreeObjectRoot | ( | stream_t * | s, | |
| asf_object_root_t * | p_root | |||
| ) |
References ASF_FreeObject(), asf_object_u::common, asf_object_root_t::p_first, and asf_object_common_t::p_next.
Referenced by ASF_ReadObjectRoot(), DemuxEnd(), and DemuxInit().
| void ASF_GetGUID | ( | guid_t * | p_guid, | |
| const uint8_t * | p_data | |||
| ) |
References GetDWLE(), GetWLE(), guid_s::v1, guid_s::v2, guid_s::v3, and guid_s::v4.
Referenced by ASF_ReadObject_advanced_mutual_exclusion(), ASF_ReadObject_codec_list(), ASF_ReadObject_Data(), ASF_ReadObject_file_properties(), ASF_ReadObject_header_extension(), ASF_ReadObject_Index(), ASF_ReadObject_stream_properties(), ASF_ReadObjectCommon(), and Demux().
| static int ASF_NextObject | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
| static void ASF_ObjectDumpDebug | ( | vlc_object_t * | p_obj, | |
| asf_object_common_t * | p_node, | |||
| unsigned | i_level | |||
| ) | [static] |
References ASF_CmpGUID(), ASF_ObjectDumpDebugInfo, asf_object_u::common, GUID_FMT, GUID_PRINT, i, asf_object_common_t::i_object_id, asf_object_common_t::i_object_pos, asf_object_common_t::i_object_size, msg_Dbg, asf_object_common_t::p_first, p_id, asf_object_common_t::p_next, psz_name, and gen_builder::str.
Referenced by ASF_ReadObjectRoot().
| static int ASF_ReadObject | ( | stream_t * | s, | |
| asf_object_t * | p_obj, | |||
| asf_object_t * | p_father | |||
| ) | [static] |
References ASF_CmpGUID(), ASF_Object_Function, asf_object_null_guid, ASF_ReadObject_function, ASF_ReadObjectCommon(), asf_object_u::common, asf_object_common_t::i_object_id, asf_object_common_t::i_object_size, asf_object_common_t::i_type, msg_Warn, asf_object_common_t::p_father, asf_object_common_t::p_first, p_id, asf_object_common_t::p_last, asf_object_common_t::p_next, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by ASF_ReadObject_extended_stream_properties(), ASF_ReadObject_Header(), ASF_ReadObject_header_extension(), and ASF_ReadObjectRoot().
| static int ASF_ReadObject_advanced_mutual_exclusion | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References asf_object_u::advanced_mutual_exclusion, ASF_GetGUID(), ASF_HAVE, ASF_READ2, ASF_SKIP, i, asf_object_advanced_mutual_exclusion_t::i_object_size, asf_object_advanced_mutual_exclusion_t::i_stream_number_count, msg_Dbg, asf_object_advanced_mutual_exclusion_t::pi_stream_number, stream_Peek(), asf_object_advanced_mutual_exclusion_t::type, VLC_EGENERIC, and VLC_SUCCESS.
| static int ASF_ReadObject_codec_list | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_CODEC_TYPE_AUDIO, ASF_CODEC_TYPE_VIDEO, ASF_GetGUID(), ASF_HAVE, ASF_READ2, ASF_READS, asf_object_codec_list_t::codec, asf_object_u::codec_list, GetWLE(), GUID_FMT, GUID_PRINT, i_codec, asf_object_codec_list_t::i_codec_entries_count, asf_codec_entry_t::i_information_length, asf_object_codec_list_t::i_object_size, asf_object_codec_list_t::i_reserved, asf_codec_entry_t::i_type, msg_Dbg, asf_codec_entry_t::p_information, asf_codec_entry_t::psz_description, asf_codec_entry_t::psz_name, stream_Peek(), VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int ASF_ReadObject_content_description | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_HAVE, ASF_READ2, asf_object_u::content_description, GETSTRINGW, asf_object_content_description_t::i_object_size, msg_Dbg, msg_Err, asf_object_content_description_t::psz_artist, asf_object_content_description_t::psz_copyright, asf_object_content_description_t::psz_description, asf_object_content_description_t::psz_rating, asf_object_content_description_t::psz_title, stream_Peek(), VLC_EGENERIC, vlc_iconv_close(), vlc_iconv_open(), and VLC_SUCCESS.
| static int ASF_ReadObject_Data | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
| static int ASF_ReadObject_extended_content_description | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_HAVE, ASF_READ1, ASF_READ2, ASF_READ4, ASF_READ8, ASF_READS, ASF_SKIP, asprintf(), asf_object_u::extended_content_description, hex(), i, asf_object_extended_content_description_t::i_count, asf_object_extended_content_description_t::i_object_size, i_type, msg_Dbg, asf_object_extended_content_description_t::ppsz_name, asf_object_extended_content_description_t::ppsz_value, psz_value, strdup(), stream_Peek(), VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int ASF_ReadObject_extended_stream_properties | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_HAVE, ASF_READ2, ASF_READ4, ASF_ReadObject(), ASF_READS, ASF_SKIP, asf_object_u::ext_stream, GetDWLE(), GetQWLE(), GetWLE(), i, asf_object_extended_stream_properties_t::i_alternate_buffer_size, asf_object_extended_stream_properties_t::i_alternate_data_bitrate, asf_object_extended_stream_properties_t::i_alternate_initial_buffer_fullness, asf_object_extended_stream_properties_t::i_average_time_per_frame, asf_object_extended_stream_properties_t::i_buffer_size, asf_object_extended_stream_properties_t::i_data_bitrate, asf_object_extended_stream_properties_t::i_end_time, asf_object_extended_stream_properties_t::i_flags, asf_object_extended_stream_properties_t::i_initial_buffer_fullness, asf_object_extended_stream_properties_t::i_language_index, asf_object_extended_stream_properties_t::i_maximum_object_size, asf_object_extended_stream_properties_t::i_object_size, asf_object_extended_stream_properties_t::i_payload_extension_system_count, asf_object_extended_stream_properties_t::i_start_time, asf_object_extended_stream_properties_t::i_stream_name_count, asf_object_extended_stream_properties_t::i_stream_number, msg_Dbg, asf_object_extended_stream_properties_t::p_sp, asf_object_extended_stream_properties_t::pi_stream_name_language, asf_object_extended_stream_properties_t::ppsz_stream_name, stream_Peek(), stream_Read(), VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int ASF_ReadObject_file_properties | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_GetGUID(), asf_object_u::file_properties, GetDWLE(), GetQWLE(), GUID_FMT, GUID_PRINT, asf_object_file_properties_t::i_creation_date, asf_object_file_properties_t::i_data_packets_count, asf_object_file_properties_t::i_file_id, asf_object_file_properties_t::i_file_size, asf_object_file_properties_t::i_flags, asf_object_file_properties_t::i_max_bitrate, asf_object_file_properties_t::i_max_data_packet_size, asf_object_file_properties_t::i_min_data_packet_size, asf_object_file_properties_t::i_play_duration, asf_object_file_properties_t::i_preroll, asf_object_file_properties_t::i_send_duration, msg_Dbg, stream_Peek(), VLC_EGENERIC, and VLC_SUCCESS.
| static int ASF_ReadObject_Header | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_NextObject(), ASF_ReadObject(), GetDWLE(), asf_object_u::header, asf_object_header_t::i_reserved1, asf_object_header_t::i_reserved2, asf_object_header_t::i_sub_object_count, msg_Dbg, asf_object_header_t::p_first, asf_object_header_t::p_last, stream_Peek(), stream_Read(), VLC_EGENERIC, and VLC_SUCCESS.
| static int ASF_ReadObject_header_extension | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_GetGUID(), ASF_NextObject(), ASF_ReadObject(), GetDWLE(), GetWLE(), GUID_FMT, GUID_PRINT, asf_object_u::header_extension, asf_object_header_extension_t::i_header_extension_size, asf_object_header_extension_t::i_object_size, asf_object_header_extension_t::i_reserved1, asf_object_header_extension_t::i_reserved2, msg_Dbg, asf_object_header_extension_t::p_header_extension_data, stream_Peek(), stream_Read(), VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int ASF_ReadObject_Index | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References __MAX, ASF_GetGUID(), GetDWLE(), GetQWLE(), GetWLE(), GUID_FMT, GUID_PRINT, i, asf_object_index_t::i_file_id, asf_object_index_t::i_index_entry_count, asf_object_index_t::i_index_entry_time_interval, asf_object_index_t::i_max_packet_count, asf_object_index_t::i_object_size, asf_index_entry_t::i_packet_count, asf_index_entry_t::i_packet_number, asf_object_u::index, asf_object_index_t::index_entry, msg_Dbg, stream_Peek(), VLC_ENOMEM, and VLC_SUCCESS.
| static int ASF_ReadObject_language_list | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
| static int ASF_ReadObject_metadata | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References __MAX, ASF_HAVE, ASF_METADATA_TYPE_BOOL, ASF_METADATA_TYPE_BYTE, ASF_METADATA_TYPE_DWORD, ASF_METADATA_TYPE_QWORD, ASF_METADATA_TYPE_STRING, ASF_METADATA_TYPE_WORD, ASF_READ2, ASF_READ4, ASF_READ8, ASF_READS, GetWLE(), i, asf_metadata_record_t::i_data, asf_object_metadata_t::i_object_size, asf_object_metadata_t::i_record_entries_count, asf_metadata_record_t::i_stream, asf_metadata_record_t::i_type, asf_metadata_record_t::i_val, asf_object_u::metadata, msg_Dbg, asf_metadata_record_t::p_data, asf_metadata_record_t::psz_name, asf_object_metadata_t::record, stream_Peek(), VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int ASF_ReadObject_stream_bitrate_properties | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_HAVE, ASF_READ2, ASF_READ4, asf_object_stream_bitrate_properties_t::bitrate, i, asf_object_stream_bitrate_properties_t::i_avg_bitrate, asf_object_stream_bitrate_properties_t::i_bitrate, asf_object_stream_bitrate_properties_t::i_object_size, asf_object_stream_bitrate_properties_t::i_stream_number, msg_Dbg, asf_object_u::stream_bitrate, stream_Peek(), VLC_EGENERIC, and VLC_SUCCESS.
| static int ASF_ReadObject_stream_prioritization | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_HAVE, ASF_READ2, i, asf_object_stream_prioritization_t::i_object_size, asf_object_stream_prioritization_t::i_priority_count, msg_Dbg, asf_object_stream_prioritization_t::pi_priority_flag, asf_object_stream_prioritization_t::pi_priority_stream_number, stream_Peek(), asf_object_u::stream_prioritization, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int ASF_ReadObject_stream_properties | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_GetGUID(), GetDWLE(), GetQWLE(), GetWLE(), GUID_FMT, GUID_PRINT, asf_object_stream_properties_t::i_error_correction_data_length, asf_object_stream_properties_t::i_error_correction_type, asf_object_stream_properties_t::i_flags, asf_object_stream_properties_t::i_object_size, asf_object_stream_properties_t::i_reserved, asf_object_stream_properties_t::i_stream_number, asf_object_stream_properties_t::i_stream_type, asf_object_stream_properties_t::i_time_offset, asf_object_stream_properties_t::i_type_specific_data_length, msg_Dbg, asf_object_stream_properties_t::p_error_correction_data, asf_object_stream_properties_t::p_type_specific_data, stream_Peek(), asf_object_u::stream_properties, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int ASF_ReadObjectCommon | ( | stream_t * | s, | |
| asf_object_t * | p_obj | |||
| ) | [static] |
References ASF_GetGUID(), asf_object_u::common, GetQWLE(), GUID_FMT, GUID_PRINT, asf_object_common_t::i_object_id, asf_object_common_t::i_object_pos, asf_object_common_t::i_object_size, msg_Dbg, asf_object_common_t::p_next, stream_Peek(), stream_Tell(), VLC_EGENERIC, and VLC_SUCCESS.
Referenced by ASF_NextObject(), and ASF_ReadObject().
| asf_object_root_t* ASF_ReadObjectRoot | ( | stream_t * | s, | |
| int | b_seekable | |||
| ) |
References ASF_CountObject, ASF_FindObject, ASF_FreeObjectRoot(), ASF_NextObject(), ASF_OBJECT_DATA, asf_object_extended_stream_properties, asf_object_file_properties_guid, ASF_OBJECT_HEADER, asf_object_header_extension_guid, ASF_OBJECT_INDEX, asf_object_metadata_guid, asf_object_null_guid, ASF_OBJECT_ROOT, ASF_ObjectDumpDebug(), ASF_ReadObject(), asf_object_u::common, asf_object_u::ext_stream, i, asf_object_root_t::i_object_id, asf_object_root_t::i_object_pos, asf_object_common_t::i_object_size, asf_object_root_t::i_object_size, asf_object_common_t::i_type, asf_object_root_t::i_type, msg_Warn, asf_object_root_t::p_data, asf_object_common_t::p_father, asf_object_root_t::p_first, asf_object_root_t::p_fp, asf_object_root_t::p_hdr, asf_object_root_t::p_index, asf_object_header_t::p_last, asf_object_root_t::p_last, asf_object_root_t::p_metadata, asf_object_common_t::p_next, asf_object_root_t::p_next, asf_object_extended_stream_properties_t::p_sp, stream_Tell(), and VLC_OBJECT.
Referenced by DemuxInit().
| static bool AsfObjectHelperHave | ( | const uint8_t * | p_peek, | |
| int | i_peek, | |||
| const uint8_t * | p_current, | |||
| int | i_wanted | |||
| ) | [inline, static] |
Referenced by AsfObjectHelperSkip().
| static uint8_t AsfObjectHelperRead1 | ( | const uint8_t * | p_peek, | |
| int | i_peek, | |||
| uint8_t ** | pp_data | |||
| ) | [inline, static] |
| static uint16_t AsfObjectHelperRead2 | ( | const uint8_t * | p_peek, | |
| int | i_peek, | |||
| uint8_t ** | pp_data | |||
| ) | [inline, static] |
| static uint32_t AsfObjectHelperRead4 | ( | const uint8_t * | p_peek, | |
| int | i_peek, | |||
| uint8_t ** | pp_data | |||
| ) | [inline, static] |
| static uint64_t AsfObjectHelperRead8 | ( | const uint8_t * | p_peek, | |
| int | i_peek, | |||
| uint8_t ** | pp_data | |||
| ) | [inline, static] |
| static char* AsfObjectHelperReadString | ( | const uint8_t * | p_peek, | |
| int | i_peek, | |||
| uint8_t ** | pp_data, | |||
| int | i_size | |||
| ) | [static] |
| static void AsfObjectHelperSkip | ( | const uint8_t * | p_peek, | |
| int | i_peek, | |||
| uint8_t ** | pp_data, | |||
| int | i_wanted | |||
| ) | [inline, static] |
References AsfObjectHelperHave().
| void(* ASF_FreeObject_function)(asf_object_t *p_obj) |
Referenced by ASF_FreeObject().
struct { ... } ASF_Object_Function[] [static] |
Referenced by ASF_FreeObject(), and ASF_ReadObject().
struct { ... } ASF_ObjectDumpDebugInfo[] [static] |
Referenced by ASF_ObjectDumpDebug().
| int(* ASF_ReadObject_function)(stream_t *, asf_object_t *p_obj) |
Referenced by ASF_ReadObject().
| int i_type |
Referenced by ASF_FreeObject(), ASF_ObjectDumpDebug(), ASF_ReadObject(), and vlm_vaControlInternal().
| const char* psz_name |
1.5.6