FFmpeg
 All Data Structures 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_obj_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
 
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(), and asf_read_stream_properties().

ASFStream ASFContext::streams

it's max number and it's not that big

Definition at line 43 of file asfdec.c.

Referenced by asf_read_ext_stream_properties(), asf_read_frame_header(), asf_read_header(), asf_write_header1(), and asf_write_packet().

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(), and asf_write_trailer().

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_read_header(), and ff_asf_parse_packet().

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_read_header(), and ff_asf_parse_packet().

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_read_frame_header(), asf_reset_header(), and ff_asf_get_packet().

int ASFContext::packet_property

Definition at line 59 of file asfdec.c.

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

int ASFContext::packet_timestamp

Definition at line 60 of file asfdec.c.

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

int ASFContext::packet_segsizetype

Definition at line 61 of file asfdec.c.

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

int ASFContext::packet_segments
int ASFContext::packet_seq

Definition at line 63 of file asfdec.c.

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

int ASFContext::packet_replic_size

Definition at line 64 of file asfdec.c.

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

int ASFContext::packet_key_frame

Definition at line 65 of file asfdec.c.

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

int ASFContext::packet_padsize
unsigned int ASFContext::packet_frag_offset

Definition at line 67 of file asfdec.c.

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

unsigned int ASFContext::packet_frag_size

Definition at line 68 of file asfdec.c.

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

int64_t ASFContext::packet_frag_timestamp

Definition at line 69 of file asfdec.c.

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

int ASFContext::packet_multi_size

Definition at line 70 of file asfdec.c.

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

int ASFContext::packet_obj_size

Definition at line 71 of file asfdec.c.

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

int ASFContext::packet_time_delta

Definition at line 72 of file asfdec.c.

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

int ASFContext::packet_time_start
int64_t ASFContext::packet_pos

Definition at line 74 of file asfdec.c.

Referenced by ff_asf_parse_packet().

int ASFContext::stream_index

Definition at line 76 of file asfdec.c.

Referenced by asf_read_frame_header(), and ff_asf_parse_packet().

ASFStream* ASFContext::asf_st

currently decoded stream

Definition at line 78 of file asfdec.c.

Referenced by asf_reset_header(), and ff_asf_parse_packet().

int ASFContext::no_resync_search

Definition at line 80 of file asfdec.c.

Referenced by ff_asf_get_packet().

uint32_t ASFContext::seqno

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

Referenced by asf_write_header1(), and asf_write_packet().

unsigned char ASFContext::multi_payloads_present

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

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

int64_t ASFContext::packet_timestamp_end

Definition at line 204 of file asfenc.c.

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

unsigned int ASFContext::packet_nb_payloads

Definition at line 205 of file asfenc.c.

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

uint8_t ASFContext::packet_buf[PACKET_SIZE]

Definition at line 206 of file asfenc.c.

Referenced by asf_write_header(), and flush_packet().

AVIOContext ASFContext::pb
ASFIndex* ASFContext::index_ptr

Definition at line 211 of file asfenc.c.

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

uint32_t ASFContext::nb_index_memory_alloc

Definition at line 212 of file asfenc.c.

Referenced by asf_write_header(), and update_index().

uint16_t ASFContext::maximum_packet

Definition at line 213 of file asfenc.c.

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

uint32_t ASFContext::next_packet_number

Definition at line 214 of file asfenc.c.

Referenced by update_index().

uint16_t ASFContext::next_packet_count

Definition at line 215 of file asfenc.c.

Referenced by update_index().

int ASFContext::next_start_sec

Definition at line 216 of file asfenc.c.

Referenced by asf_write_trailer(), and update_index().

int ASFContext::end_sec

Definition at line 217 of file asfenc.c.

Referenced by asf_write_packet(), and asf_write_trailer().


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