FFmpeg
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
 
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
 
atomic_int_least64_t queue_duration
 
int64_t last_sent_dts
 
int64_t timeshift
 

Detailed Description

Definition at line 38 of file fifo.c.

Field Documentation

◆ root

Buf FifoContext::root

Definition at line 39 of file fifo.c.

◆ last

Buf* FifoContext::last

last buffered frame

Definition at line 40 of file fifo.c.

◆ out

AVFrame* FifoContext::out

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

Definition at line 46 of file fifo.c.

◆ allocated_samples

int FifoContext::allocated_samples

number of samples out was allocated for

Definition at line 47 of file fifo.c.

◆ class

const AVClass* FifoContext::class

Definition at line 37 of file fifo.c.

◆ avf

AVFormatContext* FifoContext::avf

◆ format

char* FifoContext::format

Definition at line 40 of file fifo.c.

Referenced by fifo_init().

◆ format_options

AVDictionary* FifoContext::format_options

Definition at line 41 of file fifo.c.

Referenced by fifo_thread_write_header().

◆ queue_size

int FifoContext::queue_size

Definition at line 43 of file fifo.c.

Referenced by fifo_init().

◆ queue

AVThreadMessageQueue* FifoContext::queue

◆ writer_thread

pthread_t FifoContext::writer_thread

Definition at line 46 of file fifo.c.

Referenced by fifo_write_header(), and fifo_write_trailer().

◆ write_trailer_ret

int FifoContext::write_trailer_ret

Definition at line 49 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 54 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 57 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 60 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 68 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 75 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 77 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 78 of file fifo.c.

Referenced by fifo_deinit(), and fifo_init().

◆ overflow_flag

volatile uint8_t FifoContext::overflow_flag

Definition at line 80 of file fifo.c.

Referenced by fifo_consumer_thread(), and fifo_write_packet().

◆ queue_duration

atomic_int_least64_t FifoContext::queue_duration

◆ last_sent_dts

int64_t FifoContext::last_sent_dts

Definition at line 83 of file fifo.c.

Referenced by fifo_init(), and fifo_write_packet().

◆ timeshift

int64_t FifoContext::timeshift

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