libasf.h File Reference

Go to the source code of this file.

Data Structures

struct  guid_s
struct  asf_object_common_t
struct  asf_index_entry_t
struct  asf_object_header_t
struct  asf_object_data_t
struct  asf_object_index_t
struct  asf_object_file_properties_t
struct  asf_object_stream_properties_t
struct  asf_object_header_extension_t
struct  asf_metadata_record_t
struct  asf_object_metadata_t
struct  asf_object_content_description_t
struct  string16_t
struct  asf_codec_entry_t
struct  asf_object_codec_list_t
struct  asf_marker_t
struct  asf_object_marker_t
struct  asf_object_language_list_t
struct  asf_object_stream_bitrate_properties_t
struct  asf_object_extended_stream_properties_t
struct  asf_object_advanced_mutual_exclusion_t
struct  asf_object_stream_prioritization_t
struct  asf_object_extended_content_description_t
struct  asf_object_root_t
union  asf_object_u

Defines

#define ASF_OBJECT_COMMON
#define ASF_FILE_PROPERTIES_BROADCAST   0x01
#define ASF_FILE_PROPERTIES_SEEKABLE   0x02
#define ASF_STREAM_PROPERTIES_ENCRYPTED   0x8000
#define ASF_METADATA_TYPE_STRING   0x0000
#define ASF_METADATA_TYPE_BYTE   0x0001
#define ASF_METADATA_TYPE_BOOL   0x0002
#define ASF_METADATA_TYPE_DWORD   0x0003
#define ASF_METADATA_TYPE_QWORD   0x0004
#define ASF_METADATA_TYPE_WORD   0x0005
#define ASF_CODEC_TYPE_VIDEO   0x0001
#define ASF_CODEC_TYPE_AUDIO   0x0002
#define ASF_CODEC_TYPE_UNKNOW   0xffff
#define ASF_CountObject(a, b)   __ASF_CountObject( (asf_object_t*)(a), b )
#define ASF_FindObject(a, b, c)   __ASF_FindObject( (asf_object_t*)(a), b, c )

Typedefs

typedef guid_s guid_t
typedef asf_object_u asf_object_t

Enumerations

enum  {
  ASF_OBJECT_NULL = 0, ASF_OBJECT_ROOT, ASF_OBJECT_HEADER, ASF_OBJECT_DATA,
  ASF_OBJECT_INDEX, ASF_OBJECT_FILE_PROPERTIES, ASF_OBJECT_STREAM_PROPERTIES, ASF_OBJECT_HEADER_EXTENSION,
  ASF_OBJECT_CODEC_LIST, ASF_OBJECT_MARKER, ASF_OBJECT_CONTENT_DESCRIPTION, ASF_OBJECT_METADATA,
  ASF_OBJECT_PADDING, ASF_OBJECT_OTHER
}

Functions

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)
asf_object_root_tASF_ReadObjectRoot (stream_t *, int b_seekable)
void ASF_FreeObjectRoot (stream_t *, 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

static const guid_t asf_object_null_guid
static const guid_t asf_object_header_guid
static const guid_t asf_object_data_guid
static const guid_t asf_object_index_guid
static const guid_t asf_object_file_properties_guid
static const guid_t asf_object_stream_properties_guid
static const guid_t asf_object_content_description_guid
static const guid_t asf_object_header_extension_guid
static const guid_t asf_object_metadata_guid
static const guid_t asf_object_codec_list_guid
static const guid_t asf_object_marker_guid
static const guid_t asf_object_stream_type_audio
static const guid_t asf_object_stream_type_video
static const guid_t asf_object_stream_type_command
static const guid_t asf_object_stream_bitrate_properties
static const guid_t asf_object_language_list
static const guid_t asf_object_extended_stream_properties
static const guid_t asf_object_advanced_mutual_exclusion
static const guid_t asf_object_padding
static const guid_t asf_object_stream_prioritization
static const guid_t asf_object_extended_content_description
static const guid_t asf_object_extended_stream_header
static const guid_t asf_object_extended_stream_type_audio


Define Documentation

#define ASF_CODEC_TYPE_AUDIO   0x0002

#define ASF_CODEC_TYPE_UNKNOW   0xffff

#define ASF_CODEC_TYPE_VIDEO   0x0001

#define ASF_CountObject ( a,
 )     __ASF_CountObject( (asf_object_t*)(a), b )

#define ASF_FILE_PROPERTIES_BROADCAST   0x01

#define ASF_FILE_PROPERTIES_SEEKABLE   0x02

#define ASF_FindObject ( a,
b,
 )     __ASF_FindObject( (asf_object_t*)(a), b, c )

#define ASF_METADATA_TYPE_BOOL   0x0002

#define ASF_METADATA_TYPE_BYTE   0x0001

#define ASF_METADATA_TYPE_DWORD   0x0003

#define ASF_METADATA_TYPE_QWORD   0x0004

#define ASF_METADATA_TYPE_STRING   0x0000

#define ASF_METADATA_TYPE_WORD   0x0005

#define ASF_OBJECT_COMMON

Value:

int          i_type;           \
    guid_t       i_object_id;      \
    uint64_t     i_object_size;    \
    uint64_t     i_object_pos;     \
    union asf_object_u *p_father;  \
    union asf_object_u *p_first;   \
    union asf_object_u *p_last;    \
    union asf_object_u *p_next;

#define ASF_STREAM_PROPERTIES_ENCRYPTED   0x8000


Typedef Documentation

typedef union asf_object_u asf_object_t

typedef struct guid_s guid_t


Enumeration Type Documentation

anonymous enum

Enumerator:
ASF_OBJECT_NULL 
ASF_OBJECT_ROOT 
ASF_OBJECT_HEADER 
ASF_OBJECT_DATA 
ASF_OBJECT_INDEX 
ASF_OBJECT_FILE_PROPERTIES 
ASF_OBJECT_STREAM_PROPERTIES 
ASF_OBJECT_HEADER_EXTENSION 
ASF_OBJECT_CODEC_LIST 
ASF_OBJECT_MARKER 
ASF_OBJECT_CONTENT_DESCRIPTION 
ASF_OBJECT_METADATA 
ASF_OBJECT_PADDING 
ASF_OBJECT_OTHER 


Function Documentation

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 
)

bool ASF_CmpGUID ( const guid_t p_guid1,
const guid_t p_guid2 
)

void ASF_FreeObjectRoot ( stream_t ,
asf_object_root_t p_root 
)

void ASF_GetGUID ( guid_t p_guid,
const uint8_t *  p_data 
)

asf_object_root_t* ASF_ReadObjectRoot ( stream_t ,
int  b_seekable 
)


Variable Documentation

const guid_t asf_object_advanced_mutual_exclusion [static]

Initial value:

{0xA08649CF, 0x4775, 0x4670, {0x8A, 0x16, 0x6E, 0x35, 0x35, 0x75, 0x66, 0xCD}}

const guid_t asf_object_codec_list_guid [static]

Initial value:

{0x86D15240, 0x311D, 0x11D0, {0xA3, 0xA4, 0x00, 0xA0, 0xC9, 0x03, 0x48, 0xF6}}

const guid_t asf_object_content_description_guid [static]

Initial value:

{0x75B22633, 0x668E, 0x11CF, {0xa6, 0xd9, 0x00, 0xaa, 0x00, 0x62, 0xce, 0x6c}}

const guid_t asf_object_data_guid [static]

Initial value:

{0x75B22636, 0x668E, 0x11CF, {0xA6, 0xD9, 0x00, 0xAA, 0x00, 0x62, 0xCE, 0x6C}}

const guid_t asf_object_extended_content_description [static]

Initial value:

{0xD2D0A440, 0xE307, 0x11D2, {0x97, 0xF0, 0x00, 0xA0, 0xC9, 0x5E, 0xA8, 0x50}}

const guid_t asf_object_extended_stream_header [static]

Initial value:

{0x3afb65e2, 0x47ef, 0x40f2, { 0xac, 0x2c, 0x70, 0xa9, 0x0d, 0x71, 0xd3, 0x43}}

const guid_t asf_object_extended_stream_properties [static]

Initial value:

{0x14E6A5CB, 0xC672, 0x4332, {0x83, 0x99, 0xA9, 0x69, 0x52, 0x06, 0x5B, 0x5A}}

const guid_t asf_object_extended_stream_type_audio [static]

Initial value:

{0x31178c9d, 0x03e1, 0x4528, { 0xb5, 0x82, 0x3d, 0xf9, 0xdb, 0x22, 0xf5, 0x03}}

const guid_t asf_object_file_properties_guid [static]

Initial value:

{0x8cabdca1, 0xa947, 0x11cf, {0x8e, 0xe4, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65}}

const guid_t asf_object_header_extension_guid [static]

Initial value:

{0x5FBF03B5, 0xA92E, 0x11CF, {0x8E, 0xE3, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65}}

const guid_t asf_object_header_guid [static]

Initial value:

{0x75B22630, 0x668E, 0x11CF, {0xA6, 0xD9, 0x00, 0xAA, 0x00, 0x62, 0xCE, 0x6C}}

const guid_t asf_object_index_guid [static]

Initial value:

{0x33000890, 0xE5B1, 0x11CF, {0x89, 0xF4, 0x00, 0xA0, 0xC9, 0x03, 0x49, 0xCB}}

const guid_t asf_object_language_list [static]

Initial value:

{0x7C4346A9, 0xEFE0, 0x4BFC, {0xB2, 0x29, 0x39, 0x3E, 0xDE, 0x41, 0x5C, 0x85}}

const guid_t asf_object_marker_guid [static]

Initial value:

{0xF487CD01, 0xA951, 0x11CF, {0x8E, 0xE6, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65}}

const guid_t asf_object_metadata_guid [static]

Initial value:

{0xC5F8CBEA, 0x5BAF, 0x4877, {0x84, 0x67, 0xAA, 0x8C, 0x44, 0xFA, 0x4C, 0xCA}}

const guid_t asf_object_null_guid [static]

Initial value:

{
    0x00000000,
    0x0000,
    0x0000,
    { 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00 }
}

const guid_t asf_object_padding [static]

Initial value:

{0x1806D474, 0xCADF, 0x4509, {0xA4, 0xBA, 0x9A, 0xAB, 0xCB, 0x96, 0xAA, 0xE8}}

const guid_t asf_object_stream_bitrate_properties [static]

Initial value:

{0x7BF875CE, 0x468D, 0x11D1, {0x8D, 0x82, 0x00, 0x60, 0x97, 0xC9, 0xA2, 0xB2}}

const guid_t asf_object_stream_prioritization [static]

Initial value:

{0xD4FED15B, 0x88D3, 0x454F, {0x81, 0xF0, 0xED, 0x5C, 0x45, 0x99, 0x9E, 0x24}}

const guid_t asf_object_stream_properties_guid [static]

Initial value:

{0xB7DC0791, 0xA9B7, 0x11CF, {0x8E, 0xE6, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65}}

const guid_t asf_object_stream_type_audio [static]

Initial value:

{0xF8699E40, 0x5B4D, 0x11CF, {0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B}}

const guid_t asf_object_stream_type_command [static]

Initial value:

{0x59DACFC0, 0x59E6, 0x11D0, {0xA3, 0xAC, 0x00, 0xA0, 0xC9, 0x03, 0x48, 0xF6}}

const guid_t asf_object_stream_type_video [static]

Initial value:

{0xbc19efc0, 0x5B4D, 0x11CF, {0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B}}


Generated on Wed Aug 13 08:03:22 2008 for VLC by  doxygen 1.5.1