Context used by codec threads and stored in their AVCodecInternal thread_ctx. More...
Context used by codec threads and stored in their AVCodecInternal thread_ctx.
Definition at line 81 of file pthread_frame.c.
Definition at line 82 of file pthread_frame.c.
Referenced by ff_thread_finish_setup(), ff_thread_sync_ref(), frame_worker_thread(), init_thread(), submit_packet(), thread_get_buffer_internal(), and thread_set_name().
Definition at line 84 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), and init_thread().
Definition at line 85 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), and init_thread().
Number of successfully initialized mutexes/conditions.
Definition at line 86 of file pthread_frame.c.
Used to wait for a new packet from the main thread.
Definition at line 87 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), frame_worker_thread(), and submit_packet().
Used by child threads to wait for progress to change.
Definition at line 88 of file pthread_frame.c.
Referenced by ff_thread_await_progress(), ff_thread_finish_setup(), ff_thread_report_progress(), frame_worker_thread(), and submit_packet().
Used by the main thread to wait for frames to finish.
Definition at line 89 of file pthread_frame.c.
Referenced by ff_thread_receive_frame(), frame_worker_thread(), and park_frame_worker_threads().
Mutex used to protect the contents of the PerThreadContext.
Definition at line 91 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), frame_worker_thread(), and submit_packet().
Mutex used to protect frame progress values and progress_cond.
Definition at line 92 of file pthread_frame.c.
Referenced by ff_thread_await_progress(), ff_thread_finish_setup(), ff_thread_receive_frame(), ff_thread_report_progress(), frame_worker_thread(), park_frame_worker_threads(), and submit_packet().
Context used to decode packets passed to this thread.
Definition at line 94 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), ff_thread_flush(), ff_thread_receive_frame(), ff_thread_sync_ref(), frame_worker_thread(), init_thread(), submit_packet(), and thread_set_name().
Input packet (for decoding) or output (for encoding).
Definition at line 96 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), ff_thread_get_packet(), init_thread(), and submit_packet().
Decoded frames from a single decode iteration.
Definition at line 101 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), ff_thread_flush(), ff_thread_receive_frame(), and frame_worker_thread().
The result of the last codec decode/encode() call.
Definition at line 102 of file pthread_frame.c.
Referenced by ff_thread_flush(), ff_thread_receive_frame(), and frame_worker_thread().
Definition at line 104 of file pthread_frame.c.
Referenced by ff_thread_can_start_frame(), ff_thread_finish_setup(), ff_thread_receive_frame(), frame_worker_thread(), init_thread(), park_frame_worker_threads(), submit_packet(), and thread_get_buffer_internal().
Set when the thread should exit.
Definition at line 106 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), and frame_worker_thread().
Definition at line 108 of file pthread_frame.c.
Referenced by ff_thread_finish_setup(), and frame_worker_thread().
Definition at line 109 of file pthread_frame.c.
Referenced by ff_thread_finish_setup(), and frame_worker_thread().
Definition at line 115 of file pthread_frame.c.
Referenced by ff_thread_finish_setup(), submit_packet(), and update_context_from_thread().
Set if the FF_DEBUG_THREADS option is set.
Definition at line 117 of file pthread_frame.c.
Referenced by ff_thread_await_progress(), ff_thread_report_progress(), init_thread(), and submit_packet().
The following two fields have the same semantics as the DecodeContext field.
Definition at line 120 of file pthread_frame.c.
Referenced by init_thread().
Definition at line 121 of file pthread_frame.c.
Referenced by init_thread().