FFmpeg
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
 
int64_t 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
 
AVClassav_class
 
uint32_t seqno
 
int is_streamed
 
const char * languages [128]
 
int nb_languages
 
int64_t creation_time
 
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_MAX]
 
FFIOContext 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
 
int packet_size
 

Detailed Description

Definition at line 74 of file asfdec_f.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PARSE_PACKET_HEADER 
READ_SINGLE 
READ_MULTI 
READ_MULTI_SUB 

Definition at line 135 of file asfdec_o.c.

Field Documentation

◆ class

const AVClass* ASFContext::class

Definition at line 75 of file asfdec_f.c.

◆ asfid2avid

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().

◆ streams

ASFStream ASFContext::streams

◆ stream_bitrates

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().

◆ dar

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().

◆ stream_languages

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().

◆ packet_size_left

int ASFContext::packet_size_left

◆ data_offset [1/2]

uint64_t ASFContext::data_offset

◆ data_object_offset

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().

◆ data_object_size

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().

◆ index_read

int ASFContext::index_read

Definition at line 88 of file asfdec_f.c.

Referenced by asf_build_simple_index(), and asf_read_seek().

◆ hdr

ASFMainHeader ASFContext::hdr

◆ packet_flags

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().

◆ packet_property

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().

◆ packet_timestamp

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().

◆ packet_segsizetype

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().

◆ packet_segments

int ASFContext::packet_segments

◆ packet_seq

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().

◆ packet_replic_size

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().

◆ packet_key_frame

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().

◆ packet_padsize

int ASFContext::packet_padsize

◆ packet_frag_offset

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().

◆ packet_frag_size

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().

◆ packet_frag_timestamp

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().

◆ ts_is_pts

int ASFContext::ts_is_pts

Definition at line 104 of file asfdec_f.c.

Referenced by asf_parse_packet(), and asf_read_frame_header().

◆ packet_multi_size

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().

◆ packet_time_delta

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().

◆ packet_time_start

int64_t ASFContext::packet_time_start

◆ packet_pos

int64_t ASFContext::packet_pos

Definition at line 108 of file asfdec_f.c.

Referenced by asf_parse_packet().

◆ stream_index

int ASFContext::stream_index

◆ asf_st

ASFStream * ASFContext::asf_st

◆ no_resync_search

int ASFContext::no_resync_search

Definition at line 114 of file asfdec_f.c.

Referenced by asf_get_packet().

◆ export_xmp

int ASFContext::export_xmp

Definition at line 115 of file asfdec_f.c.

Referenced by get_tag().

◆ uses_std_ecc

int ASFContext::uses_std_ecc

Definition at line 117 of file asfdec_f.c.

Referenced by asf_get_packet().

◆ data_reached

int ASFContext::data_reached

Definition at line 91 of file asfdec_o.c.

Referenced by asf_read_data(), and asf_read_header().

◆ is_simple_index

int ASFContext::is_simple_index

Definition at line 92 of file asfdec_o.c.

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

◆ is_header

int ASFContext::is_header

Definition at line 93 of file asfdec_o.c.

Referenced by asf_read_header(), and asf_read_unknown().

◆ preroll

uint64_t ASFContext::preroll

◆ nb_packets

uint64_t ASFContext::nb_packets

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

Definition at line 96 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().

◆ packet_size [1/2]

uint32_t ASFContext::packet_size

◆ send_time

int64_t ASFContext::send_time

Definition at line 98 of file asfdec_o.c.

Referenced by asf_read_packet_header().

◆ duration [1/2]

int ASFContext::duration

Definition at line 99 of file asfdec_o.c.

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

◆ b_flags

uint32_t ASFContext::b_flags

Definition at line 101 of file asfdec_o.c.

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

◆ prop_flags

uint32_t ASFContext::prop_flags

Definition at line 102 of file asfdec_o.c.

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

◆ data_size

uint64_t ASFContext::data_size

Definition at line 104 of file asfdec_o.c.

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

◆ unknown_size

uint64_t ASFContext::unknown_size

Definition at line 105 of file asfdec_o.c.

Referenced by asf_read_unknown().

◆ offset

int64_t ASFContext::offset

◆ data_offset [2/2]

int64_t ASFContext::data_offset

Definition at line 109 of file asfdec_o.c.

◆ first_packet_offset

int64_t ASFContext::first_packet_offset

◆ unknown_offset

int64_t ASFContext::unknown_offset

Definition at line 111 of file asfdec_o.c.

Referenced by asf_read_header(), and asf_read_unknown().

◆ asf_sd

ASFStreamData ASFContext::asf_sd[ASF_MAX_STREAMS]

◆ nb_streams

int ASFContext::nb_streams

◆ sub_header_offset

uint64_t ASFContext::sub_header_offset

Definition at line 121 of file asfdec_o.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

◆ sub_dts

int64_t ASFContext::sub_dts

Definition at line 122 of file asfdec_o.c.

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

◆ dts_delta

uint8_t ASFContext::dts_delta

Definition at line 123 of file asfdec_o.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

◆ packet_size_internal

uint32_t ASFContext::packet_size_internal

Definition at line 124 of file asfdec_o.c.

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

◆ packet_offset

int64_t ASFContext::packet_offset

◆ pad_len

uint32_t ASFContext::pad_len

◆ rep_data_len

uint32_t ASFContext::rep_data_len

◆ sub_left

uint64_t ASFContext::sub_left

◆ nb_sub

unsigned int ASFContext::nb_sub

Definition at line 131 of file asfdec_o.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

◆ mult_sub_len

uint16_t ASFContext::mult_sub_len

Definition at line 132 of file asfdec_o.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

◆ nb_mult_left

uint64_t ASFContext::nb_mult_left

◆ return_subpayload

int ASFContext::return_subpayload

◆ state

enum { ... } ASFContext::state

◆ av_class

AVClass* ASFContext::av_class

Definition at line 200 of file asfenc.c.

◆ seqno

uint32_t ASFContext::seqno

Definition at line 201 of file asfenc.c.

Referenced by put_chunk().

◆ is_streamed

int ASFContext::is_streamed

◆ languages

const char* ASFContext::languages[128]

Definition at line 204 of file asfenc.c.

Referenced by asf_write_header1().

◆ nb_languages

int ASFContext::nb_languages

Definition at line 205 of file asfenc.c.

Referenced by asf_write_header1().

◆ creation_time

int64_t ASFContext::creation_time

Definition at line 206 of file asfenc.c.

Referenced by asf_write_header1().

◆ duration [2/2]

int64_t ASFContext::duration

in 100ns units

Definition at line 209 of file asfenc.c.

◆ multi_payloads_present

unsigned char ASFContext::multi_payloads_present

Definition at line 211 of file asfenc.c.

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

◆ packet_timestamp_start

int64_t ASFContext::packet_timestamp_start

Definition at line 213 of file asfenc.c.

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

◆ packet_timestamp_end

int64_t ASFContext::packet_timestamp_end

Definition at line 214 of file asfenc.c.

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

◆ packet_nb_payloads

unsigned int ASFContext::packet_nb_payloads

Definition at line 215 of file asfenc.c.

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

◆ packet_buf

uint8_t ASFContext::packet_buf[PACKET_SIZE_MAX]

Definition at line 216 of file asfenc.c.

Referenced by asf_write_header(), and flush_packet().

◆ pb

FFIOContext ASFContext::pb

◆ index_ptr

ASFIndex* ASFContext::index_ptr

◆ nb_index_memory_alloc

uint32_t ASFContext::nb_index_memory_alloc

Definition at line 222 of file asfenc.c.

Referenced by asf_write_header(), and update_index().

◆ maximum_packet

uint16_t ASFContext::maximum_packet

Definition at line 223 of file asfenc.c.

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

◆ next_packet_number

uint32_t ASFContext::next_packet_number

Definition at line 224 of file asfenc.c.

Referenced by update_index().

◆ next_packet_count

uint16_t ASFContext::next_packet_count

Definition at line 225 of file asfenc.c.

Referenced by update_index().

◆ next_packet_offset

uint64_t ASFContext::next_packet_offset

Definition at line 226 of file asfenc.c.

Referenced by update_index().

◆ next_start_sec

int ASFContext::next_start_sec

Definition at line 227 of file asfenc.c.

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

◆ end_sec

int ASFContext::end_sec

Definition at line 228 of file asfenc.c.

Referenced by asf_write_packet(), and asf_write_trailer().

◆ packet_size [2/2]

int ASFContext::packet_size

Definition at line 229 of file asfenc.c.


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