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

Data Fields

const AVClassclass
 
int asfid2avid [128]
 conversion table from asf ID 2 AVStream ID
 
ASFStream streams [128]
 it's max number and it's not that big
 
uint32_t stream_bitrates [128]
 max number of streams, bitrate for each (for streaming)
 
AVRational dar [128]
 
char stream_languages [128][6]
 max number of streams, language for each (RFC1766, e.g. en-US)
 
int packet_size_left
 
uint64_t data_offset
 beginning of the first data packet
 
uint64_t data_object_offset
 data object offset (excl. GUID & size)
 
uint64_t data_object_size
 size of the data object
 
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 packet_multi_size
 
int packet_time_delta
 
int packet_time_start
 
int64_t packet_pos
 
int stream_index
 
ASFStreamasf_st
 currently decoded stream
 
int no_resync_search
 
uint32_t seqno
 
int is_streamed
 
uint64_t nb_packets
 how many packets are there in the file, invalid if broadcasting
 
int64_t duration
 in 100ns units
 
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 40 of file asfdec.c.

Field Documentation

const AVClass* ASFContext::class

Definition at line 41 of file asfdec.c.

int ASFContext::asfid2avid[128]

conversion table from asf ID 2 AVStream ID

Definition at line 42 of file asfdec.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 44 of file asfdec.c.

Referenced by asf_read_ext_stream_properties(), and asf_read_header().

AVRational ASFContext::dar[128]

Definition at line 45 of file asfdec.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 46 of file asfdec.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 51 of file asfdec.c.

Referenced by asf_read_header(), 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 52 of file asfdec.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 53 of file asfdec.c.

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

int ASFContext::index_read

Definition at line 54 of file asfdec.c.

Referenced by asf_build_simple_index(), and asf_read_seek().

ASFMainHeader ASFContext::hdr
int ASFContext::packet_flags

Definition at line 58 of file asfdec.c.

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

int ASFContext::packet_property

Definition at line 59 of file asfdec.c.

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

int ASFContext::packet_timestamp

Definition at line 60 of file asfdec.c.

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

int ASFContext::packet_segsizetype

Definition at line 61 of file asfdec.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 63 of file asfdec.c.

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

int ASFContext::packet_replic_size

Definition at line 64 of file asfdec.c.

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

int ASFContext::packet_key_frame

Definition at line 65 of file asfdec.c.

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

int ASFContext::packet_padsize

Definition at line 66 of file asfdec.c.

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

unsigned int ASFContext::packet_frag_offset

Definition at line 67 of file asfdec.c.

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

unsigned int ASFContext::packet_frag_size

Definition at line 68 of file asfdec.c.

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

int64_t ASFContext::packet_frag_timestamp

Definition at line 69 of file asfdec.c.

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

int ASFContext::packet_multi_size

Definition at line 70 of file asfdec.c.

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

int ASFContext::packet_time_delta

Definition at line 71 of file asfdec.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 73 of file asfdec.c.

Referenced by asf_parse_packet().

int ASFContext::stream_index

Definition at line 75 of file asfdec.c.

Referenced by asf_parse_packet(), and asf_read_frame_header().

ASFStream* ASFContext::asf_st

currently decoded stream

Definition at line 77 of file asfdec.c.

Referenced by asf_parse_packet(), and asf_reset_header().

int ASFContext::no_resync_search

Definition at line 79 of file asfdec.c.

Referenced by asf_get_packet().

uint32_t ASFContext::seqno

Definition at line 190 of file asfenc.c.

Referenced by put_chunk().

int ASFContext::is_streamed
uint64_t ASFContext::nb_packets

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

Definition at line 194 of file asfenc.c.

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

int64_t ASFContext::duration

in 100ns units

Definition at line 195 of file asfenc.c.

Referenced by asf_write_header1(), and asf_write_packet().

unsigned char ASFContext::multi_payloads_present

Definition at line 197 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 199 of file asfenc.c.

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

int64_t ASFContext::packet_timestamp_end

Definition at line 200 of file asfenc.c.

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

unsigned int ASFContext::packet_nb_payloads

Definition at line 201 of file asfenc.c.

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

uint8_t ASFContext::packet_buf[PACKET_SIZE]

Definition at line 202 of file asfenc.c.

Referenced by asf_write_header(), and flush_packet().

AVIOContext ASFContext::pb
ASFIndex* ASFContext::index_ptr

Definition at line 207 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 208 of file asfenc.c.

Referenced by asf_write_header(), and update_index().

uint16_t ASFContext::maximum_packet

Definition at line 209 of file asfenc.c.

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

uint32_t ASFContext::next_packet_number

Definition at line 210 of file asfenc.c.

Referenced by update_index().

uint16_t ASFContext::next_packet_count

Definition at line 211 of file asfenc.c.

Referenced by update_index().

uint64_t ASFContext::next_packet_offset

Definition at line 212 of file asfenc.c.

Referenced by update_index().

int ASFContext::next_start_sec

Definition at line 213 of file asfenc.c.

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

int ASFContext::end_sec

Definition at line 214 of file asfenc.c.

Referenced by asf_write_packet(), and asf_write_trailer().


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