FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

Buf FifoContext::root

Definition at line 43 of file fifo.c.

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

Buf* FifoContext::last

last buffered frame

Definition at line 44 of file fifo.c.

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

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

int FifoContext::allocated_samples

number of samples out was allocated for

Definition at line 51 of file fifo.c.

Referenced by return_audio_frame().

const AVClass* FifoContext::class

Definition at line 35 of file fifo.c.

AVFormatContext* FifoContext::avf
char* FifoContext::format

Definition at line 38 of file fifo.c.

Referenced by fifo_init().

char* FifoContext::format_options_str

Definition at line 39 of file fifo.c.

Referenced by fifo_init().

AVDictionary* FifoContext::format_options

Definition at line 40 of file fifo.c.

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

int FifoContext::queue_size

Definition at line 42 of file fifo.c.

Referenced by fifo_init().

AVThreadMessageQueue* FifoContext::queue
pthread_t FifoContext::writer_thread

Definition at line 45 of file fifo.c.

Referenced by fifo_write_header(), and fifo_write_trailer().

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

int64_t FifoContext::recovery_wait_time

Definition at line 53 of file fifo.c.

Referenced by fifo_thread_attempt_recovery(), and fifo_thread_recover().

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

int FifoContext::attempt_recovery

Definition at line 59 of file fifo.c.

Referenced by is_recoverable().

int FifoContext::recovery_wait_streamtime
int FifoContext::recover_any_error

Definition at line 67 of file fifo.c.

Referenced by is_recoverable().

int FifoContext::drop_pkts_on_overflow
int FifoContext::restart_with_keyframe

Definition at line 74 of file fifo.c.

Referenced by fifo_consumer_thread(), and fifo_thread_attempt_recovery().

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

int FifoContext::overflow_flag_lock_initialized

Definition at line 77 of file fifo.c.

Referenced by fifo_deinit(), and fifo_init().

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: