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 76 of file pthread_frame.c.
Definition at line 77 of file pthread_frame.c.
Referenced by ff_thread_finish_setup(), frame_worker_thread(), init_thread(), release_delayed_buffers(), submit_packet(), and thread_get_buffer_internal().
Definition at line 79 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), and init_thread().
Definition at line 80 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), and init_thread().
Number of successfully initialized mutexes/conditions.
Definition at line 81 of file pthread_frame.c.
Used to wait for a new packet from the main thread.
Definition at line 82 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 83 of file pthread_frame.c.
Referenced by ff_thread_await_progress(), ff_thread_finish_setup(), ff_thread_get_format(), ff_thread_report_progress(), frame_worker_thread(), submit_packet(), and thread_get_buffer_internal().
Used by the main thread to wait for frames to finish.
Definition at line 84 of file pthread_frame.c.
Referenced by ff_thread_decode_frame(), frame_worker_thread(), and park_frame_worker_threads().
Mutex used to protect the contents of the PerThreadContext.
Definition at line 86 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 87 of file pthread_frame.c.
Referenced by ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_format(), ff_thread_report_progress(), frame_worker_thread(), park_frame_worker_threads(), submit_packet(), and thread_get_buffer_internal().
Context used to decode packets passed to this thread.
Definition at line 89 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), ff_thread_decode_frame(), ff_thread_flush(), frame_worker_thread(), init_thread(), release_delayed_buffers(), and submit_packet().
Input packet (for decoding) or output (for encoding).
Definition at line 91 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), ff_thread_decode_frame(), frame_worker_thread(), init_thread(), and submit_packet().
Output frame (for decoding) or input (for encoding).
Definition at line 93 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), ff_thread_decode_frame(), ff_thread_flush(), frame_worker_thread(), and init_thread().
The output of got_picture_ptr from the last avcodec_decode_video() call.
Definition at line 94 of file pthread_frame.c.
Referenced by ff_thread_decode_frame(), ff_thread_flush(), frame_worker_thread(), and park_frame_worker_threads().
The result of the last codec decode/encode() call.
Definition at line 95 of file pthread_frame.c.
Referenced by ff_thread_decode_frame(), ff_thread_flush(), frame_worker_thread(), submit_packet(), and thread_get_buffer_internal().
Definition at line 97 of file pthread_frame.c.
Referenced by ff_thread_can_start_frame(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_format(), frame_worker_thread(), init_thread(), park_frame_worker_threads(), submit_packet(), and thread_get_buffer_internal().
Array of frames passed to ff_thread_release_buffer().
Frames are released after all threads referencing them are finished.
Definition at line 104 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), and release_delayed_buffers().
Definition at line 105 of file pthread_frame.c.
Referenced by release_delayed_buffers().
Definition at line 106 of file pthread_frame.c.
Referenced by ff_frame_thread_free().
AVFrame the codec passed to get_buffer()
Definition at line 108 of file pthread_frame.c.
Referenced by submit_packet(), and thread_get_buffer_internal().
flags passed to get_buffer() for requested_frame
Definition at line 109 of file pthread_frame.c.
Referenced by submit_packet(), and thread_get_buffer_internal().
Format array for get_format()
Definition at line 111 of file pthread_frame.c.
Referenced by ff_thread_get_format(), and submit_packet().
get_format() result
Definition at line 112 of file pthread_frame.c.
Referenced by ff_thread_get_format(), and submit_packet().
Set when the thread should exit.
Definition at line 115 of file pthread_frame.c.
Referenced by ff_frame_thread_free(), and frame_worker_thread().
Definition at line 117 of file pthread_frame.c.
Referenced by ff_thread_finish_setup(), and frame_worker_thread().
Definition at line 118 of file pthread_frame.c.
Referenced by ff_thread_finish_setup(), and frame_worker_thread().
Set if the FF_DEBUG_THREADS option is set.
Definition at line 120 of file pthread_frame.c.
Referenced by ff_thread_await_progress(), ff_thread_report_progress(), init_thread(), and submit_packet().