Libav
Public Types | Data Fields
ASFContext Struct Reference

Public Types

enum  { PARSE_PACKET_HEADER, READ_SINGLE, READ_MULTI, READ_MULTI_SUB }
 

Data Fields

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
 
ASFStreamasf_st [ASF_MAX_STREAMS]
 
ASFStreamData asf_sd [ASF_MAX_STREAMS]
 
int nb_streams
 
int stream_index
 
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
 
ASFStream streams [128]
 it's max number and it's not that big More...
 
uint64_t duration
 in ms More...
 
unsigned char multi_payloads_present
 
int packet_size_left
 
int packet_timestamp_start
 
int packet_timestamp_end
 
unsigned int packet_nb_payloads
 
uint8_t packet_buf [PACKET_SIZE]
 
AVIOContext pb
 
uint64_t data_offset
 beginning of the first data packet More...
 
int64_t last_indexed_pts
 
ASFIndexindex_ptr
 
uint32_t nb_index_count
 
uint32_t nb_index_memory_alloc
 
uint16_t maximum_packet
 

Detailed Description

Definition at line 94 of file asfdec.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PARSE_PACKET_HEADER 
READ_SINGLE 
READ_MULTI 
READ_MULTI_SUB 

Definition at line 139 of file asfdec.c.

Field Documentation

◆ data_reached

int ASFContext::data_reached

Definition at line 95 of file asfdec.c.

Referenced by asf_read_data(), and asf_read_header().

◆ is_simple_index

int ASFContext::is_simple_index

Definition at line 96 of file asfdec.c.

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

◆ is_header

int ASFContext::is_header

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

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

◆ packet_size

uint32_t ASFContext::packet_size

◆ send_time

int64_t ASFContext::send_time

Definition at line 102 of file asfdec.c.

Referenced by asf_read_packet_header().

◆ duration [1/2]

int ASFContext::duration

Definition at line 103 of file asfdec.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 105 of file asfdec.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 106 of file asfdec.c.

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

◆ data_size

uint64_t ASFContext::data_size

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

Referenced by asf_read_unknown().

◆ offset

int64_t ASFContext::offset

◆ data_offset [1/2]

int64_t ASFContext::data_offset

◆ first_packet_offset

int64_t ASFContext::first_packet_offset

◆ unknown_offset

int64_t ASFContext::unknown_offset

Definition at line 115 of file asfdec.c.

Referenced by asf_read_header(), and asf_read_unknown().

◆ asf_st

ASFStream* ASFContext::asf_st[ASF_MAX_STREAMS]

◆ asf_sd

ASFStreamData ASFContext::asf_sd[ASF_MAX_STREAMS]

◆ nb_streams

int ASFContext::nb_streams

◆ stream_index

int ASFContext::stream_index

Definition at line 122 of file asfdec.c.

Referenced by asf_read_payload(), and asf_read_subpayload().

◆ sub_header_offset

uint64_t ASFContext::sub_header_offset

Definition at line 125 of file asfdec.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

◆ sub_dts

int64_t ASFContext::sub_dts

Definition at line 126 of file asfdec.c.

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

◆ dts_delta

uint8_t ASFContext::dts_delta

Definition at line 127 of file asfdec.c.

Referenced by asf_read_subpayload(), and reset_packet_state().

◆ packet_size_internal

uint32_t ASFContext::packet_size_internal

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

Referenced by asf_read_subpayload(), and reset_packet_state().

◆ mult_sub_len

uint16_t ASFContext::mult_sub_len

Definition at line 136 of file asfdec.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

Definition at line 138 of file asfdec.c.

Referenced by asf_read_data(), asf_read_packet(), asf_read_subpayload(), and reset_packet_state().

◆ state

enum { ... } ASFContext::state

◆ seqno

uint32_t ASFContext::seqno

Definition at line 209 of file asfenc.c.

Referenced by put_chunk().

◆ is_streamed

int ASFContext::is_streamed

◆ streams

ASFStream ASFContext::streams[128]

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

Definition at line 211 of file asfenc.c.

Referenced by asf_write_header1(), and asf_write_packet().

◆ duration [2/2]

uint64_t ASFContext::duration

in ms

Definition at line 214 of file asfenc.c.

◆ multi_payloads_present

unsigned char ASFContext::multi_payloads_present

Definition at line 216 of file asfenc.c.

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

◆ packet_size_left

int ASFContext::packet_size_left

Definition at line 217 of file asfenc.c.

Referenced by flush_packet(), and put_frame().

◆ packet_timestamp_start

int ASFContext::packet_timestamp_start

Definition at line 218 of file asfenc.c.

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

◆ packet_timestamp_end

int ASFContext::packet_timestamp_end

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

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

◆ packet_buf

uint8_t ASFContext::packet_buf[PACKET_SIZE]

Definition at line 221 of file asfenc.c.

Referenced by asf_write_header(), and flush_packet().

◆ pb

AVIOContext ASFContext::pb

◆ data_offset [2/2]

uint64_t ASFContext::data_offset

beginning of the first data packet

Definition at line 224 of file asfenc.c.

◆ last_indexed_pts

int64_t ASFContext::last_indexed_pts

Definition at line 226 of file asfenc.c.

Referenced by asf_write_header(), and asf_write_packet().

◆ index_ptr

ASFIndex* ASFContext::index_ptr

Definition at line 227 of file asfenc.c.

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

◆ nb_index_count

uint32_t ASFContext::nb_index_count

Definition at line 228 of file asfenc.c.

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

◆ nb_index_memory_alloc

uint32_t ASFContext::nb_index_memory_alloc

Definition at line 229 of file asfenc.c.

Referenced by asf_write_header(), and asf_write_packet().

◆ maximum_packet

uint16_t ASFContext::maximum_packet

Definition at line 230 of file asfenc.c.

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


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