libavformat/asf.h File Reference

#include <stdint.h>
#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  ASFStream
struct  ASFMainHeader
struct  ASFIndex
struct  ASFContext

Defines

#define PACKET_SIZE   3200
#define ASF_PACKET_FLAG_ERROR_CORRECTION_PRESENT   0x80
#define ASF_PPI_FLAG_MULTIPLE_PAYLOADS_PRESENT   1
#define ASF_PPI_FLAG_SEQUENCE_FIELD_IS_BYTE   0x02
#define ASF_PPI_FLAG_SEQUENCE_FIELD_IS_WORD   0x04
#define ASF_PPI_FLAG_SEQUENCE_FIELD_IS_DWORD   0x06
#define ASF_PPI_MASK_SEQUENCE_FIELD_SIZE   0x06
#define ASF_PPI_FLAG_PADDING_LENGTH_FIELD_IS_BYTE   0x08
#define ASF_PPI_FLAG_PADDING_LENGTH_FIELD_IS_WORD   0x10
#define ASF_PPI_FLAG_PADDING_LENGTH_FIELD_IS_DWORD   0x18
#define ASF_PPI_MASK_PADDING_LENGTH_FIELD_SIZE   0x18
#define ASF_PPI_FLAG_PACKET_LENGTH_FIELD_IS_BYTE   0x20
#define ASF_PPI_FLAG_PACKET_LENGTH_FIELD_IS_WORD   0x40
#define ASF_PPI_FLAG_PACKET_LENGTH_FIELD_IS_DWORD   0x60
#define ASF_PPI_MASK_PACKET_LENGTH_FIELD_SIZE   0x60
#define ASF_PL_FLAG_REPLICATED_DATA_LENGTH_FIELD_IS_BYTE   0x01
#define ASF_PL_FLAG_REPLICATED_DATA_LENGTH_FIELD_IS_WORD   0x02
#define ASF_PL_FLAG_REPLICATED_DATA_LENGTH_FIELD_IS_DWORD   0x03
#define ASF_PL_MASK_REPLICATED_DATA_LENGTH_FIELD_SIZE   0x03
#define ASF_PL_FLAG_OFFSET_INTO_MEDIA_OBJECT_LENGTH_FIELD_IS_BYTE   0x04
#define ASF_PL_FLAG_OFFSET_INTO_MEDIA_OBJECT_LENGTH_FIELD_IS_WORD   0x08
#define ASF_PL_FLAG_OFFSET_INTO_MEDIA_OBJECT_LENGTH_FIELD_IS_DWORD   0x0c
#define ASF_PL_MASK_OFFSET_INTO_MEDIA_OBJECT_LENGTH_FIELD_SIZE   0x0c
#define ASF_PL_FLAG_MEDIA_OBJECT_NUMBER_LENGTH_FIELD_IS_BYTE   0x10
#define ASF_PL_FLAG_MEDIA_OBJECT_NUMBER_LENGTH_FIELD_IS_WORD   0x20
#define ASF_PL_FLAG_MEDIA_OBJECT_NUMBER_LENGTH_FIELD_IS_DWORD   0x30
#define ASF_PL_MASK_MEDIA_OBJECT_NUMBER_LENGTH_FIELD_SIZE   0x30
#define ASF_PL_FLAG_STREAM_NUMBER_LENGTH_FIELD_IS_BYTE   0x40
#define ASF_PL_MASK_STREAM_NUMBER_LENGTH_FIELD_SIZE   0xc0
#define ASF_PL_FLAG_PAYLOAD_LENGTH_FIELD_IS_BYTE   0x40
#define ASF_PL_FLAG_PAYLOAD_LENGTH_FIELD_IS_WORD   0x80
#define ASF_PL_MASK_PAYLOAD_LENGTH_FIELD_SIZE   0xc0
#define ASF_PL_FLAG_KEY_FRAME   0x80

Typedefs

typedef uint8_t GUID [16]

Variables

static const GUID asf_header
static const GUID file_header
static const GUID stream_header
static const GUID ext_stream_header
static const GUID audio_stream
static const GUID audio_conceal_none
static const GUID audio_conceal_spread
static const GUID video_stream
static const GUID video_conceal_none
static const GUID command_stream
static const GUID comment_header
static const GUID codec_comment_header
static const GUID codec_comment1_header
static const GUID data_header
static const GUID head1_guid
static const GUID head2_guid
static const GUID extended_content_header
static const GUID simple_index_header
static const GUID ext_stream_embed_stream_header
static const GUID ext_stream_audio_stream
static const GUID metadata_header
static const GUID my_guid


Define Documentation

#define ASF_PACKET_FLAG_ERROR_CORRECTION_PRESENT   0x80

Definition at line 228 of file asf.h.

#define ASF_PL_FLAG_KEY_FRAME   0x80

Definition at line 287 of file asf.h.

Referenced by put_payload_header().

#define ASF_PL_FLAG_MEDIA_OBJECT_NUMBER_LENGTH_FIELD_IS_BYTE   0x10

Definition at line 275 of file asf.h.

#define ASF_PL_FLAG_MEDIA_OBJECT_NUMBER_LENGTH_FIELD_IS_DWORD   0x30

Definition at line 277 of file asf.h.

#define ASF_PL_FLAG_MEDIA_OBJECT_NUMBER_LENGTH_FIELD_IS_WORD   0x20

Definition at line 276 of file asf.h.

#define ASF_PL_FLAG_OFFSET_INTO_MEDIA_OBJECT_LENGTH_FIELD_IS_BYTE   0x04

Definition at line 270 of file asf.h.

#define ASF_PL_FLAG_OFFSET_INTO_MEDIA_OBJECT_LENGTH_FIELD_IS_DWORD   0x0c

Definition at line 272 of file asf.h.

#define ASF_PL_FLAG_OFFSET_INTO_MEDIA_OBJECT_LENGTH_FIELD_IS_WORD   0x08

Definition at line 271 of file asf.h.

#define ASF_PL_FLAG_PAYLOAD_LENGTH_FIELD_IS_BYTE   0x40

Definition at line 283 of file asf.h.

#define ASF_PL_FLAG_PAYLOAD_LENGTH_FIELD_IS_WORD   0x80

Definition at line 284 of file asf.h.

#define ASF_PL_FLAG_REPLICATED_DATA_LENGTH_FIELD_IS_BYTE   0x01

Definition at line 265 of file asf.h.

#define ASF_PL_FLAG_REPLICATED_DATA_LENGTH_FIELD_IS_DWORD   0x03

Definition at line 267 of file asf.h.

#define ASF_PL_FLAG_REPLICATED_DATA_LENGTH_FIELD_IS_WORD   0x02

Definition at line 266 of file asf.h.

#define ASF_PL_FLAG_STREAM_NUMBER_LENGTH_FIELD_IS_BYTE   0x40

Definition at line 280 of file asf.h.

#define ASF_PL_MASK_MEDIA_OBJECT_NUMBER_LENGTH_FIELD_SIZE   0x30

Definition at line 278 of file asf.h.

#define ASF_PL_MASK_OFFSET_INTO_MEDIA_OBJECT_LENGTH_FIELD_SIZE   0x0c

Definition at line 273 of file asf.h.

#define ASF_PL_MASK_PAYLOAD_LENGTH_FIELD_SIZE   0xc0

Definition at line 285 of file asf.h.

#define ASF_PL_MASK_REPLICATED_DATA_LENGTH_FIELD_SIZE   0x03

Definition at line 268 of file asf.h.

#define ASF_PL_MASK_STREAM_NUMBER_LENGTH_FIELD_SIZE   0xc0

Definition at line 281 of file asf.h.

#define ASF_PPI_FLAG_MULTIPLE_PAYLOADS_PRESENT   1

Definition at line 247 of file asf.h.

Referenced by put_payload_parsing_info().

#define ASF_PPI_FLAG_PACKET_LENGTH_FIELD_IS_BYTE   0x20

Definition at line 259 of file asf.h.

#define ASF_PPI_FLAG_PACKET_LENGTH_FIELD_IS_DWORD   0x60

Definition at line 261 of file asf.h.

#define ASF_PPI_FLAG_PACKET_LENGTH_FIELD_IS_WORD   0x40

Definition at line 260 of file asf.h.

#define ASF_PPI_FLAG_PADDING_LENGTH_FIELD_IS_BYTE   0x08

Definition at line 254 of file asf.h.

Referenced by put_payload_parsing_info().

#define ASF_PPI_FLAG_PADDING_LENGTH_FIELD_IS_DWORD   0x18

Definition at line 256 of file asf.h.

#define ASF_PPI_FLAG_PADDING_LENGTH_FIELD_IS_WORD   0x10

Definition at line 255 of file asf.h.

Referenced by put_payload_parsing_info().

#define ASF_PPI_FLAG_SEQUENCE_FIELD_IS_BYTE   0x02

Definition at line 249 of file asf.h.

#define ASF_PPI_FLAG_SEQUENCE_FIELD_IS_DWORD   0x06

Definition at line 251 of file asf.h.

#define ASF_PPI_FLAG_SEQUENCE_FIELD_IS_WORD   0x04

Definition at line 250 of file asf.h.

#define ASF_PPI_MASK_PACKET_LENGTH_FIELD_SIZE   0x60

Definition at line 262 of file asf.h.

#define ASF_PPI_MASK_PADDING_LENGTH_FIELD_SIZE   0x18

Definition at line 257 of file asf.h.

#define ASF_PPI_MASK_SEQUENCE_FIELD_SIZE   0x06

Definition at line 252 of file asf.h.

#define PACKET_SIZE   3200

Definition at line 27 of file asf.h.

Referenced by asf_write_header(), flush_packet(), and put_frame().


Typedef Documentation

typedef uint8_t GUID[16]

Definition at line 46 of file asf.h.


Variable Documentation

const GUID asf_header [static]

Initial value:

 {
    0x30, 0x26, 0xB2, 0x75, 0x8E, 0x66, 0xCF, 0x11, 0xA6, 0xD9, 0x00, 0xAA, 0x00, 0x62, 0xCE, 0x6C
}

Definition at line 137 of file asf.h.

Referenced by asf_probe(), asf_read_header(), and asf_write_header1().

const GUID audio_conceal_none [static]

Initial value:

 {
    
    
    0x00, 0x57, 0xfb, 0x20, 0x55, 0x5B, 0xCF, 0x11, 0xa8, 0xfd, 0x00, 0x80, 0x5f, 0x5c, 0x44, 0x2b
}

Definition at line 157 of file asf.h.

const GUID audio_conceal_spread [static]

Initial value:

 {
     0x50, 0xCD, 0xC3, 0xBF, 0x8F, 0x61, 0xCF, 0x11, 0x8B, 0xB2, 0x00, 0xAA, 0x00, 0xB4, 0xE2, 0x20
}

Definition at line 163 of file asf.h.

Referenced by asf_write_header1().

const GUID audio_stream [static]

Initial value:

 {
    0x40, 0x9E, 0x69, 0xF8, 0x4D, 0x5B, 0xCF, 0x11, 0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B
}

Definition at line 153 of file asf.h.

Referenced by asf_read_header(), asf_write_header1(), and decode_thread().

const GUID codec_comment1_header [static]

Initial value:

 {
    0x41, 0x52, 0xd1, 0x86, 0x1D, 0x31, 0xD0, 0x11, 0xa3, 0xa4, 0x00, 0xa0, 0xc9, 0x03, 0x48, 0xf6
}

Definition at line 186 of file asf.h.

Referenced by asf_write_header1().

const GUID codec_comment_header [static]

Initial value:

 {
    0x40, 0x52, 0xD1, 0x86, 0x1D, 0x31, 0xD0, 0x11, 0xA3, 0xA4, 0x00, 0xA0, 0xC9, 0x03, 0x48, 0xF6
}

Definition at line 183 of file asf.h.

Referenced by asf_read_header(), and asf_write_header1().

const GUID command_stream [static]

Initial value:

 {
    0xC0, 0xCF, 0xDA, 0x59, 0xE6, 0x59, 0xD0, 0x11, 0xA3, 0xAC, 0x00, 0xA0, 0xC9, 0x03, 0x48, 0xF6
}

Definition at line 175 of file asf.h.

Referenced by asf_read_header().

const GUID comment_header [static]

Initial value:

 {
    0x33, 0x26, 0xb2, 0x75, 0x8E, 0x66, 0xCF, 0x11, 0xa6, 0xd9, 0x00, 0xaa, 0x00, 0x62, 0xce, 0x6c
}

Definition at line 179 of file asf.h.

Referenced by asf_read_header(), and asf_write_header1().

const GUID data_header [static]

Initial value:

 {
    0x36, 0x26, 0xb2, 0x75, 0x8E, 0x66, 0xCF, 0x11, 0xa6, 0xd9, 0x00, 0xaa, 0x00, 0x62, 0xce, 0x6c
}

Definition at line 190 of file asf.h.

Referenced by asf_read_header(), and asf_write_header1().

const GUID ext_stream_audio_stream [static]

Initial value:

 {
        0x9d, 0x8c, 0x17, 0x31, 0xE1, 0x03, 0x28, 0x45, 0xb5, 0x82, 0x3d, 0xf9, 0xdb, 0x22, 0xf5, 0x03
}

Definition at line 214 of file asf.h.

Referenced by asf_read_header().

Initial value:

 {
        0xe2, 0x65, 0xfb, 0x3a, 0xEF, 0x47, 0xF2, 0x40, 0xac, 0x2c, 0x70, 0xa9, 0x0d, 0x71, 0xd3, 0x43
}

Definition at line 210 of file asf.h.

Referenced by asf_read_header().

const GUID ext_stream_header [static]

Initial value:

 {
    0xCB, 0xA5, 0xE6, 0x14, 0x72, 0xC6, 0x32, 0x43, 0x83, 0x99, 0xA9, 0x69, 0x52, 0x06, 0x5B, 0x5A
}

Definition at line 149 of file asf.h.

Referenced by asf_read_header().

const GUID extended_content_header [static]

Initial value:

 {
        0x40, 0xA4, 0xD0, 0xD2, 0x07, 0xE3, 0xD2, 0x11, 0x97, 0xF0, 0x00, 0xA0, 0xC9, 0x5E, 0xA8, 0x50
}

Definition at line 202 of file asf.h.

Referenced by asf_read_header().

const GUID file_header [static]

Initial value:

 {
    0xA1, 0xDC, 0xAB, 0x8C, 0x47, 0xA9, 0xCF, 0x11, 0x8E, 0xE4, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65
}

Definition at line 141 of file asf.h.

Referenced by asf_read_header(), and asf_write_header1().

const GUID head1_guid [static]

Initial value:

 {
    0xb5, 0x03, 0xbf, 0x5f, 0x2E, 0xA9, 0xCF, 0x11, 0x8e, 0xe3, 0x00, 0xc0, 0x0c, 0x20, 0x53, 0x65
}

Definition at line 194 of file asf.h.

Referenced by asf_read_header(), and asf_write_header1().

const GUID head2_guid [static]

Initial value:

 {
    0x11, 0xd2, 0xd3, 0xab, 0xBA, 0xA9, 0xCF, 0x11, 0x8e, 0xe6, 0x00, 0xc0, 0x0c, 0x20, 0x53, 0x65
}

Definition at line 198 of file asf.h.

Referenced by asf_write_header1().

const GUID metadata_header [static]

Initial value:

 {
        0xea, 0xcb, 0xf8, 0xc5, 0xaf, 0x5b, 0x77, 0x48, 0x84, 0x67, 0xaa, 0x8c, 0x44, 0xfa, 0x4c, 0xca
}

Definition at line 218 of file asf.h.

Referenced by asf_read_header().

const GUID my_guid [static]

Initial value:

 {
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}

Definition at line 224 of file asf.h.

Referenced by asf_write_header1(), and asf_write_index().

const GUID simple_index_header [static]

Initial value:

 {
        0x90, 0x08, 0x00, 0x33, 0xB1, 0xE5, 0xCF, 0x11, 0x89, 0xF4, 0x00, 0xA0, 0xC9, 0x03, 0x49, 0xCB
}

Definition at line 206 of file asf.h.

Referenced by asf_write_index().

const GUID stream_header [static]

Initial value:

 {
    0x91, 0x07, 0xDC, 0xB7, 0xB7, 0xA9, 0xCF, 0x11, 0x8E, 0xE6, 0x00, 0xC0, 0x0C, 0x20, 0x53, 0x65
}

Definition at line 145 of file asf.h.

Referenced by asf_read_header(), and asf_write_header1().

const GUID video_conceal_none [static]

Initial value:

 {
    0x00, 0x57, 0xFB, 0x20, 0x55, 0x5B, 0xCF, 0x11, 0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B
}

Definition at line 171 of file asf.h.

Referenced by asf_write_header1().

const GUID video_stream [static]

Initial value:

 {
    0xC0, 0xEF, 0x19, 0xBC, 0x4D, 0x5B, 0xCF, 0x11, 0xA8, 0xFD, 0x00, 0x80, 0x5F, 0x5C, 0x44, 0x2B
}

Definition at line 167 of file asf.h.

Referenced by asf_read_header(), asf_write_header1(), and decode_thread().


Generated on Fri Apr 23 15:12:02 2010 for ffmpeg by  doxygen 1.5.6