FFmpeg  4.0
Data Fields
FifoContext Struct Reference

Data Fields

Buf root
 
Buflast
 last buffered frame More...
 
AVFrameout
 When a specific number of output samples is requested, the partial buffer is stored here. More...
 
int allocated_samples
 number of samples out was allocated for More...
 
const AVClassclass
 
AVFormatContextavf
 
char * format
 
char * format_options_str
 
AVDictionaryformat_options
 
int queue_size
 
AVThreadMessageQueuequeue
 
pthread_t writer_thread
 
int write_trailer_ret
 
int64_t recovery_wait_time
 
int max_recovery_attempts
 
int attempt_recovery
 
int recovery_wait_streamtime
 
int recover_any_error
 
int drop_pkts_on_overflow
 
int restart_with_keyframe
 
pthread_mutex_t overflow_flag_lock
 
int overflow_flag_lock_initialized
 
volatile uint8_t overflow_flag
 

Detailed Description

Definition at line 42 of file fifo.c.

Field Documentation

◆ root

Buf FifoContext::root

Definition at line 43 of file fifo.c.

Referenced by init(), queue_pop(), request_frame(), return_audio_frame(), and uninit().

◆ last

Buf* FifoContext::last

last buffered frame

Definition at line 44 of file fifo.c.

Referenced by add_to_queue(), init(), and queue_pop().

◆ out

AVFrame* FifoContext::out

When a specific number of output samples is requested, the partial buffer is stored here.

Definition at line 50 of file fifo.c.

Referenced by return_audio_frame(), and uninit().

◆ allocated_samples

int FifoContext::allocated_samples

number of samples out was allocated for

Definition at line 51 of file fifo.c.

Referenced by return_audio_frame().

◆ class

const AVClass* FifoContext::class

Definition at line 35 of file fifo.c.

◆ avf

AVFormatContext* FifoContext::avf

◆ format

char* FifoContext::format

Definition at line 38 of file fifo.c.

Referenced by fifo_init().

◆ format_options_str

char* FifoContext::format_options_str

Definition at line 39 of file fifo.c.

Referenced by fifo_init().

◆ format_options

AVDictionary* FifoContext::format_options

Definition at line 40 of file fifo.c.

Referenced by fifo_deinit(), fifo_init(), and fifo_thread_write_header().

◆ queue_size

int FifoContext::queue_size

Definition at line 42 of file fifo.c.

Referenced by fifo_init().

◆ queue

AVThreadMessageQueue* FifoContext::queue

◆ writer_thread

pthread_t FifoContext::writer_thread

Definition at line 45 of file fifo.c.

Referenced by fifo_write_header(), and fifo_write_trailer().

◆ write_trailer_ret

int FifoContext::write_trailer_ret

Definition at line 48 of file fifo.c.

Referenced by fifo_consumer_thread(), fifo_thread_attempt_recovery(), and fifo_write_trailer().

◆ recovery_wait_time

int64_t FifoContext::recovery_wait_time

Definition at line 53 of file fifo.c.

Referenced by fifo_thread_attempt_recovery(), and fifo_thread_recover().

◆ max_recovery_attempts

int FifoContext::max_recovery_attempts

Definition at line 56 of file fifo.c.

Referenced by fifo_thread_attempt_recovery(), and fifo_thread_process_recovery_failure().

◆ attempt_recovery

int FifoContext::attempt_recovery

Definition at line 59 of file fifo.c.

Referenced by is_recoverable().

◆ recovery_wait_streamtime

int FifoContext::recovery_wait_streamtime

◆ recover_any_error

int FifoContext::recover_any_error

Definition at line 67 of file fifo.c.

Referenced by is_recoverable().

◆ drop_pkts_on_overflow

int FifoContext::drop_pkts_on_overflow

◆ restart_with_keyframe

int FifoContext::restart_with_keyframe

Definition at line 74 of file fifo.c.

Referenced by fifo_consumer_thread(), and fifo_thread_attempt_recovery().

◆ overflow_flag_lock

pthread_mutex_t FifoContext::overflow_flag_lock

Definition at line 76 of file fifo.c.

Referenced by fifo_consumer_thread(), fifo_deinit(), fifo_init(), and fifo_write_packet().

◆ overflow_flag_lock_initialized

int FifoContext::overflow_flag_lock_initialized

Definition at line 77 of file fifo.c.

Referenced by fifo_deinit(), and fifo_init().

◆ overflow_flag

volatile uint8_t FifoContext::overflow_flag

Definition at line 79 of file fifo.c.

Referenced by fifo_consumer_thread(), and fifo_write_packet().


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