FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Data Fields
ASFContext Struct Reference

Public Types

enum  { PARSE_PACKET_HEADER, READ_SINGLE, READ_MULTI, READ_MULTI_SUB }
 

Data Fields

const AVClassclass
 
int asfid2avid [128]
 conversion table from asf ID 2 AVStream ID More...
 
ASFStream streams [128]
 it's max number and it's not that big More...
 
uint32_t stream_bitrates [128]
 max number of streams, bitrate for each (for streaming) More...
 
AVRational dar [128]
 
char stream_languages [128][6]
 max number of streams, language for each (RFC1766, e.g. en-US) More...
 
int packet_size_left
 
uint64_t data_offset
 beginning of the first data packet More...
 
uint64_t data_object_offset
 data object offset (excl. GUID & size) More...
 
uint64_t data_object_size
 size of the data object More...
 
int index_read
 
ASFMainHeader hdr
 
int packet_flags
 
int packet_property
 
int packet_timestamp
 
int packet_segsizetype
 
int packet_segments
 
int packet_seq
 
int packet_replic_size
 
int packet_key_frame
 
int packet_padsize
 
unsigned int packet_frag_offset
 
unsigned int packet_frag_size
 
int64_t packet_frag_timestamp
 
int ts_is_pts
 
int packet_multi_size
 
int packet_time_delta
 
int packet_time_start
 
int64_t packet_pos
 
int stream_index
 
ASFStreamasf_st
 currently decoded stream More...
 
int no_resync_search
 
int export_xmp
 
int uses_std_ecc
 
int data_reached
 
int is_simple_index
 
int is_header
 
uint64_t preroll
 
uint64_t nb_packets
 how many packets are there in the file, invalid if broadcasting More...
 
uint32_t packet_size
 
int64_t send_time
 
int duration
 
uint32_t b_flags
 
uint32_t prop_flags
 
uint64_t data_size
 
uint64_t unknown_size
 
int64_t offset
 
int64_t data_offset
 
int64_t first_packet_offset
 
int64_t unknown_offset
 
ASFStreamData asf_sd [ASF_MAX_STREAMS]
 
int nb_streams
 
uint64_t sub_header_offset
 
int64_t sub_dts
 
uint8_t dts_delta
 
uint32_t packet_size_internal
 
int64_t packet_offset
 
uint32_t pad_len
 
uint32_t rep_data_len
 
uint64_t sub_left
 
unsigned int nb_sub
 
uint16_t mult_sub_len
 
uint64_t nb_mult_left
 
int return_subpayload
 
enum ASFContext:: { ... }  state
 
uint32_t seqno
 
int is_streamed
 
int64_t duration
 in 100ns units More...
 
unsigned char multi_payloads_present
 
int64_t packet_timestamp_start
 
int64_t packet_timestamp_end
 
unsigned int packet_nb_payloads
 
uint8_t packet_buf [PACKET_SIZE]
 
AVIOContext pb
 
ASFIndexindex_ptr
 
uint32_t nb_index_memory_alloc
 
uint16_t maximum_packet
 
uint32_t next_packet_number
 
uint16_t next_packet_count
 
uint64_t next_packet_offset
 
int next_start_sec
 
int end_sec
 

Detailed Description

Definition at line 74 of file asfdec_f.c.

Member Enumeration Documentation

anonymous enum
Enumerator
PARSE_PACKET_HEADER 
READ_SINGLE 
READ_MULTI 
READ_MULTI_SUB 

Definition at line 140 of file asfdec_o.c.

Field Documentation

const AVClass* ASFContext::class

Definition at line 75 of file asfdec_f.c.

int ASFContext::asfid2avid[128]

conversion table from asf ID 2 AVStream ID

Definition at line 76 of file asfdec_f.c.

Referenced by asf_read_frame_header(), asf_read_header(), asf_read_stream_properties(), and skip_to_key().

ASFStream ASFContext::streams
uint32_t ASFContext::stream_bitrates[128]

max number of streams, bitrate for each (for streaming)

Definition at line 78 of file asfdec_f.c.

Referenced by asf_read_ext_stream_properties(), and asf_read_header().

AVRational ASFContext::dar[128]

Definition at line 79 of file asfdec_f.c.

Referenced by asf_read_ext_content_desc(), asf_read_header(), and asf_read_metadata().

char ASFContext::stream_languages[128][6]

max number of streams, language for each (RFC1766, e.g. en-US)

Definition at line 80 of file asfdec_f.c.

Referenced by asf_read_header(), and asf_read_language_list().

int ASFContext::packet_size_left
uint64_t ASFContext::data_offset

beginning of the first data packet

Definition at line 85 of file asfdec_f.c.

Referenced by asf_read_data(), asf_read_header(), asf_read_packet(), asf_read_timestamp(), asf_write_header1(), asf_write_trailer(), and get_send_time().

uint64_t ASFContext::data_object_offset

data object offset (excl. GUID & size)

Definition at line 86 of file asfdec_f.c.

Referenced by asf_build_simple_index(), asf_parse_packet(), and asf_read_header().

uint64_t ASFContext::data_object_size

size of the data object

Definition at line 87 of file asfdec_f.c.

Referenced by asf_build_simple_index(), asf_parse_packet(), and asf_read_header().

int ASFContext::index_read

Definition at line 88 of file asfdec_f.c.

Referenced by asf_build_simple_index(), and asf_read_seek().

ASFMainHeader ASFContext::hdr
int ASFContext::packet_flags

Definition at line 92 of file asfdec_f.c.

Referenced by asf_get_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::packet_property

Definition at line 93 of file asfdec_f.c.

Referenced by asf_get_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::packet_timestamp

Definition at line 94 of file asfdec_f.c.

Referenced by asf_get_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::packet_segsizetype

Definition at line 95 of file asfdec_f.c.

Referenced by asf_get_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::packet_segments
int ASFContext::packet_seq

Definition at line 97 of file asfdec_f.c.

Referenced by asf_parse_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::packet_replic_size

Definition at line 98 of file asfdec_f.c.

Referenced by asf_parse_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::packet_key_frame

Definition at line 99 of file asfdec_f.c.

Referenced by asf_parse_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::packet_padsize
unsigned int ASFContext::packet_frag_offset

Definition at line 101 of file asfdec_f.c.

Referenced by asf_parse_packet(), asf_read_frame_header(), and asf_reset_header().

unsigned int ASFContext::packet_frag_size

Definition at line 102 of file asfdec_f.c.

Referenced by asf_parse_packet(), asf_read_frame_header(), and asf_reset_header().

int64_t ASFContext::packet_frag_timestamp

Definition at line 103 of file asfdec_f.c.

Referenced by asf_parse_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::ts_is_pts

Definition at line 104 of file asfdec_f.c.

Referenced by asf_parse_packet(), and asf_read_frame_header().

int ASFContext::packet_multi_size

Definition at line 105 of file asfdec_f.c.

Referenced by asf_parse_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::packet_time_delta

Definition at line 106 of file asfdec_f.c.

Referenced by asf_parse_packet(), asf_read_frame_header(), and asf_reset_header().

int ASFContext::packet_time_start
int64_t ASFContext::packet_pos

Definition at line 108 of file asfdec_f.c.

Referenced by asf_parse_packet().

int ASFContext::stream_index
ASFStream * ASFContext::asf_st
int ASFContext::no_resync_search

Definition at line 114 of file asfdec_f.c.

Referenced by asf_get_packet().

int ASFContext::export_xmp

Definition at line 115 of file asfdec_f.c.

Referenced by get_tag().

int ASFContext::uses_std_ecc

Definition at line 117 of file asfdec_f.c.

Referenced by asf_get_packet().

int ASFContext::data_reached

Definition at line 96 of file asfdec_o.c.

Referenced by asf_read_data(), and asf_read_header().

int ASFContext::is_simple_index

Definition at line 97 of file asfdec_o.c.

Referenced by asf_read_header(), asf_read_seek(), and asf_read_simple_index().

int ASFContext::is_header

Definition at line 98 of file asfdec_o.c.

Referenced by asf_read_header(), and asf_read_unknown().

uint64_t ASFContext::preroll
uint64_t ASFContext::nb_packets

how many packets are there in the file, invalid if broadcasting

Definition at line 101 of file asfdec_o.c.

Referenced by asf_read_data(), asf_read_properties(), asf_write_header(), asf_write_header1(), asf_write_packet(), and flush_packet().

uint32_t ASFContext::packet_size
int64_t ASFContext::send_time

Definition at line 103 of file asfdec_o.c.

Referenced by asf_read_packet_header().

int ASFContext::duration
uint32_t ASFContext::b_flags

Definition at line 106 of file asfdec_o.c.

Referenced by asf_read_data(), asf_read_header(), asf_read_packet(), and asf_read_properties().

uint32_t ASFContext::prop_flags

Definition at line 107 of file asfdec_o.c.

Referenced by asf_read_packet_header(), asf_read_payload(), and reset_packet_state().

uint64_t ASFContext::data_size

Definition at line 109 of file asfdec_o.c.

Referenced by asf_read_data(), asf_read_packet(), and asf_read_timestamp().

uint64_t ASFContext::unknown_size

Definition at line 110 of file asfdec_o.c.

Referenced by asf_read_unknown().

int64_t ASFContext::offset
int64_t ASFContext::data_offset

Definition at line 114 of file asfdec_o.c.

int64_t ASFContext::first_packet_offset
int64_t ASFContext::unknown_offset

Definition at line 116 of file asfdec_o.c.

Referenced by asf_read_header(), and asf_read_unknown().

ASFStreamData ASFContext::asf_sd[ASF_MAX_STREAMS]
int ASFContext::nb_streams
uint64_t ASFContext::sub_header_offset

Definition at line 126 of file asfdec_o.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

int64_t ASFContext::sub_dts

Definition at line 127 of file asfdec_o.c.

Referenced by asf_read_payload(), asf_read_subpayload(), and reset_packet_state().

uint8_t ASFContext::dts_delta

Definition at line 128 of file asfdec_o.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

uint32_t ASFContext::packet_size_internal

Definition at line 129 of file asfdec_o.c.

Referenced by asf_read_data(), asf_read_packet_header(), and asf_read_single_payload().

int64_t ASFContext::packet_offset
uint32_t ASFContext::pad_len
uint32_t ASFContext::rep_data_len
uint64_t ASFContext::sub_left
unsigned int ASFContext::nb_sub

Definition at line 136 of file asfdec_o.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

uint16_t ASFContext::mult_sub_len

Definition at line 137 of file asfdec_o.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

uint64_t ASFContext::nb_mult_left
int ASFContext::return_subpayload
enum { ... } ASFContext::state
uint32_t ASFContext::seqno

Definition at line 219 of file asfenc.c.

Referenced by put_chunk().

int ASFContext::is_streamed
int64_t ASFContext::duration

in 100ns units

Definition at line 224 of file asfenc.c.

unsigned char ASFContext::multi_payloads_present

Definition at line 226 of file asfenc.c.

Referenced by put_frame(), put_payload_header(), and put_payload_parsing_info().

int64_t ASFContext::packet_timestamp_start

Definition at line 228 of file asfenc.c.

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

int64_t ASFContext::packet_timestamp_end

Definition at line 229 of file asfenc.c.

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

unsigned int ASFContext::packet_nb_payloads

Definition at line 230 of file asfenc.c.

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

uint8_t ASFContext::packet_buf[PACKET_SIZE]

Definition at line 231 of file asfenc.c.

Referenced by asf_write_header(), and flush_packet().

AVIOContext ASFContext::pb
ASFIndex* ASFContext::index_ptr

Definition at line 236 of file asfenc.c.

Referenced by asf_write_header(), asf_write_trailer(), get_send_time(), and update_index().

uint32_t ASFContext::nb_index_memory_alloc

Definition at line 237 of file asfenc.c.

Referenced by asf_write_header(), and update_index().

uint16_t ASFContext::maximum_packet

Definition at line 238 of file asfenc.c.

Referenced by asf_write_header(), asf_write_trailer(), and update_index().

uint32_t ASFContext::next_packet_number

Definition at line 239 of file asfenc.c.

Referenced by update_index().

uint16_t ASFContext::next_packet_count

Definition at line 240 of file asfenc.c.

Referenced by update_index().

uint64_t ASFContext::next_packet_offset

Definition at line 241 of file asfenc.c.

Referenced by update_index().

int ASFContext::next_start_sec

Definition at line 242 of file asfenc.c.

Referenced by asf_write_trailer(), get_send_time(), and update_index().

int ASFContext::end_sec

Definition at line 243 of file asfenc.c.

Referenced by asf_write_packet(), and asf_write_trailer().


The documentation for this struct was generated from the following files: