FFmpeg
|
Context stored in the client AVCodecInternal thread_ctx. More...
Data Fields | |
PerThreadContext * | threads |
The contexts for each thread. | |
PerThreadContext * | prev_thread |
The last thread submit_packet() was called on. | |
pthread_mutex_t | buffer_mutex |
Mutex used to protect get/release_buffer(). | |
int | next_decoding |
The next context to submit a packet to. | |
int | next_finished |
The next context to return output from. | |
int | delaying |
Set for the first N packets, where N is the number of threads. | |
int | die |
Set when threads should exit. | |
Context stored in the client AVCodecInternal thread_ctx.
Definition at line 105 of file pthread_frame.c.
PerThreadContext* FrameThreadContext::threads |
The contexts for each thread.
Definition at line 106 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), ff_frame_thread_init(), ff_thread_decode_frame(), ff_thread_flush(), and park_frame_worker_threads().
PerThreadContext* FrameThreadContext::prev_thread |
The last thread submit_packet() was called on.
Definition at line 107 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), ff_thread_flush(), and submit_packet().
pthread_mutex_t FrameThreadContext::buffer_mutex |
Mutex used to protect get/release_buffer().
Definition at line 109 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), ff_frame_thread_init(), ff_thread_release_buffer(), release_delayed_buffers(), and thread_get_buffer_internal().
int FrameThreadContext::next_decoding |
The next context to submit a packet to.
Definition at line 111 of file pthread_frame.c.
Referenced by ff_thread_decode_frame(), ff_thread_flush(), and submit_packet().
int FrameThreadContext::next_finished |
The next context to return output from.
Definition at line 112 of file pthread_frame.c.
Referenced by ff_thread_decode_frame(), and ff_thread_flush().
int FrameThreadContext::delaying |
Set for the first N packets, where N is the number of threads.
While it is set, ff_thread_en/decode_frame won't return any results.
Definition at line 114 of file pthread_frame.c.
Referenced by ff_frame_thread_init(), ff_thread_decode_frame(), and ff_thread_flush().
int FrameThreadContext::die |
Set when threads should exit.
Definition at line 119 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), and frame_worker_thread().