libavformat/asf.h File Reference
#include <stdint.h>
#include "avformat.h"
#include "metadata.h"

Go to the source code of this file.

Data Structures

struct  ASFStream
struct  ASFMainHeader
struct  ASFIndex

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

Functions

static av_always_inline int ff_guidcmp (const void *g1, const void *g2)
void ff_get_guid (AVIOContext *s, ff_asf_guid *g)

Variables

const ff_asf_guid ff_asf_header
const ff_asf_guid ff_asf_file_header
const ff_asf_guid ff_asf_stream_header
const ff_asf_guid ff_asf_ext_stream_header
const ff_asf_guid ff_asf_audio_stream
const ff_asf_guid ff_asf_audio_conceal_none
const ff_asf_guid ff_asf_audio_conceal_spread
const ff_asf_guid ff_asf_video_stream
const ff_asf_guid ff_asf_jfif_media
const ff_asf_guid ff_asf_video_conceal_none
const ff_asf_guid ff_asf_command_stream
const ff_asf_guid ff_asf_comment_header
const ff_asf_guid ff_asf_codec_comment_header
const ff_asf_guid ff_asf_codec_comment1_header
const ff_asf_guid ff_asf_data_header
const ff_asf_guid ff_asf_head1_guid
const ff_asf_guid ff_asf_head2_guid
const ff_asf_guid ff_asf_extended_content_header
const ff_asf_guid ff_asf_simple_index_header
const ff_asf_guid ff_asf_ext_stream_embed_stream_header
const ff_asf_guid ff_asf_ext_stream_audio_stream
const ff_asf_guid ff_asf_metadata_header
const ff_asf_guid ff_asf_marker_header
const ff_asf_guid ff_asf_my_guid
const ff_asf_guid ff_asf_language_guid
const ff_asf_guid ff_asf_content_encryption
const ff_asf_guid ff_asf_ext_content_encryption
const ff_asf_guid ff_asf_digital_signature
const AVMetadataConv ff_asf_metadata_conv []
AVInputFormat ff_asf_demuxer

Define Documentation

Definition at line 115 of file asf.h.

#define ASF_PL_FLAG_KEY_FRAME   0x80

Definition at line 174 of file asf.h.

Referenced by put_payload_header().

Definition at line 162 of file asf.h.

Definition at line 164 of file asf.h.

Definition at line 163 of file asf.h.

Definition at line 157 of file asf.h.

Definition at line 159 of file asf.h.

Definition at line 158 of file asf.h.

Definition at line 170 of file asf.h.

Definition at line 171 of file asf.h.

Definition at line 152 of file asf.h.

Definition at line 154 of file asf.h.

Definition at line 153 of file asf.h.

Definition at line 167 of file asf.h.

Definition at line 165 of file asf.h.

Definition at line 160 of file asf.h.

Definition at line 172 of file asf.h.

Definition at line 155 of file asf.h.

Definition at line 168 of file asf.h.

Definition at line 134 of file asf.h.

Referenced by put_payload_parsing_info().

Definition at line 146 of file asf.h.

Definition at line 148 of file asf.h.

Definition at line 147 of file asf.h.

Definition at line 141 of file asf.h.

Referenced by put_payload_parsing_info().

Definition at line 143 of file asf.h.

Definition at line 142 of file asf.h.

Referenced by put_payload_parsing_info().

Definition at line 136 of file asf.h.

Definition at line 138 of file asf.h.

Definition at line 137 of file asf.h.

Definition at line 149 of file asf.h.

Definition at line 144 of file asf.h.

Definition at line 139 of file asf.h.

#define PACKET_SIZE   3200

Definition at line 28 of file asf.h.

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


Typedef Documentation

typedef uint8_t ff_asf_guid[16]

Definition at line 51 of file asf.h.


Function Documentation

static av_always_inline int ff_guidcmp ( const void g1,
const void g2 
) [static]

Variable Documentation

Definition at line 44 of file asf.c.

Definition at line 50 of file asf.c.

Referenced by asf_write_header1().

Definition at line 40 of file asf.c.

Referenced by asf_read_stream_properties(), and asf_write_header1().

Definition at line 77 of file asf.c.

Referenced by asf_write_header1().

Definition at line 74 of file asf.c.

Referenced by asf_write_header1().

Definition at line 66 of file asf.c.

Referenced by asf_read_stream_properties().

Definition at line 70 of file asf.c.

Referenced by asf_read_header(), and asf_write_header1().

Definition at line 127 of file asf.c.

Referenced by asf_read_header().

Definition at line 1305 of file asfdec.c.

Referenced by ff_wms_parse_sdp_a_line().

Definition at line 135 of file asf.c.

Referenced by asf_read_header().

Definition at line 131 of file asf.c.

Referenced by asf_read_header().

Definition at line 105 of file asf.c.

Referenced by asf_read_stream_properties().

Definition at line 36 of file asf.c.

Referenced by asf_read_header(), and ff_mms_asf_header_parser().

Definition at line 93 of file asf.c.

Referenced by asf_read_header(), and asf_write_header1().

Definition at line 89 of file asf.c.

Referenced by asf_write_header1().

Definition at line 58 of file asf.c.

Referenced by asf_read_stream_properties().

Definition at line 123 of file asf.c.

Referenced by asf_read_header().

Definition at line 113 of file asf.c.

Referenced by asf_read_header().

Definition at line 109 of file asf.c.

Referenced by asf_read_header().

Definition at line 119 of file asf.c.

Referenced by asf_write_header1(), and asf_write_index().

Definition at line 97 of file asf.c.

Referenced by asf_write_index().

Definition at line 62 of file asf.c.

Referenced by asf_write_header1().

Definition at line 54 of file asf.c.

Referenced by asf_read_stream_properties(), and asf_write_header1().