FFmpeg
|
#include <os2.h>
#include <stdlib.h>
#include <time.h>
#include <sys/builtin.h>
#include <sys/fmutex.h>
#include "libavutil/attributes.h"
#include "libavutil/common.h"
Go to the source code of this file.
Data Structures | |
struct | pthread_t |
struct | pthread_cond_t |
struct | pthread_once_t |
Macros | |
#define | INCL_DOS |
#define | INCL_DOSERRORS |
#define | PTHREAD_MUTEX_INITIALIZER _FMUTEX_INITIALIZER |
#define | PTHREAD_ONCE_INIT {0, _FMUTEX_INITIALIZER} |
Typedefs | |
typedef void | pthread_attr_t |
typedef _fmutex | pthread_mutex_t |
typedef void | pthread_mutexattr_t |
typedef void | pthread_condattr_t |
os2threads to pthreads wrapper
Definition in file os2threads.h.
#define INCL_DOS |
Definition at line 29 of file os2threads.h.
#define INCL_DOSERRORS |
Definition at line 30 of file os2threads.h.
#define PTHREAD_MUTEX_INITIALIZER _FMUTEX_INITIALIZER |
Definition at line 56 of file os2threads.h.
#define PTHREAD_ONCE_INIT {0, _FMUTEX_INITIALIZER} |
Definition at line 71 of file os2threads.h.
typedef void pthread_attr_t |
Definition at line 51 of file os2threads.h.
typedef _fmutex pthread_mutex_t |
Definition at line 53 of file os2threads.h.
typedef void pthread_mutexattr_t |
Definition at line 54 of file os2threads.h.
typedef void pthread_condattr_t |
Definition at line 64 of file os2threads.h.
|
static |
Definition at line 73 of file os2threads.h.
Referenced by pthread_create().
|
static |
Definition at line 80 of file os2threads.h.
Referenced by async_open(), ff_dnn_start_inference_async(), ff_frame_thread_encoder_init(), fifo_write_header(), iec61883_read_header(), init_thread(), main(), task_start(), and udp_open().
|
static |
Definition at line 94 of file os2threads.h.
Referenced by async_close(), ff_dnn_async_module_cleanup(), ff_dnn_start_inference_async(), ff_frame_thread_encoder_free(), ff_frame_thread_free(), fifo_write_trailer(), iec61883_close(), main(), task_stop(), and udp_close().
|
static |
Definition at line 104 of file os2threads.h.
Referenced by async_open(), at_write_header(), av_thread_message_queue_alloc(), av_vk_frame_alloc(), avf_read_header(), decklink_setup_video(), enc_stats_init(), ff_decklink_packet_queue_init(), ff_openssl_init(), ff_slice_thread_init_progress(), ff_vk_exec_pool_init(), fifo_init(), iec61883_read_header(), main(), qsv_frames_init(), sch_add_sq_enc(), sch_alloc(), tq_alloc(), udp_open(), update_dimensions(), vtenc_init(), vulkan_device_init(), and waiter_init().
|
static |
Definition at line 112 of file os2threads.h.
Referenced by async_close(), async_open(), at_write_trailer(), av_thread_message_queue_alloc(), av_thread_message_queue_free(), destroy_context(), enc_stats_uninit(), ff_decklink_packet_queue_end(), ff_decklink_write_trailer(), ff_openssl_deinit(), ff_pthread_free(), ff_slice_thread_free(), ff_slice_thread_init_progress(), ff_vk_exec_pool_free(), fifo_deinit(), free_buffers(), iec61883_close(), main(), qsv_frames_uninit(), sch_free(), tq_free(), udp_close(), udp_open(), vtenc_close(), vulkan_device_uninit(), vulkan_free_internal(), and waiter_uninit().
|
static |
Definition at line 119 of file os2threads.h.
Referenced by pthread_cond_timedwait(), and pthread_cond_wait().
|
static |
Definition at line 126 of file os2threads.h.
Referenced by pthread_cond_timedwait(), and pthread_cond_wait().
|
static |
Definition at line 133 of file os2threads.h.
Referenced by async_open(), av_thread_message_queue_alloc(), decklink_setup_video(), ff_decklink_packet_queue_init(), ff_slice_thread_init_progress(), iec61883_read_header(), sch_alloc(), tq_alloc(), udp_open(), update_dimensions(), vtenc_init(), and waiter_init().
|
static |
Definition at line 144 of file os2threads.h.
Referenced by async_close(), async_open(), av_thread_message_queue_alloc(), av_thread_message_queue_free(), ff_decklink_packet_queue_end(), ff_decklink_write_trailer(), ff_pthread_free(), ff_slice_thread_free(), free_buffers(), iec61883_close(), sch_free(), tq_alloc(), tq_free(), udp_close(), udp_open(), vtenc_close(), and waiter_uninit().
|
static |
Definition at line 152 of file os2threads.h.
Referenced by async_buffer_task(), async_close(), async_read_internal(), async_seek(), ff_decklink_packet_queue_put(), ff_frame_thread_free(), ff_thread_report_progress2(), ff_thread_video_encode_frame(), frame_worker_thread(), mux_done(), pthread_cond_broadcast(), submit_packet(), udp_close(), udp_write(), vtenc_q_push(), waiter_set(), and worker().
|
static |
Definition at line 162 of file os2threads.h.
Referenced by append_buffer(), async_unlock(), av_thread_message_flush(), av_thread_message_queue_set_err_recv(), av_thread_message_queue_set_err_send(), event_handler(), ff_frame_thread_encoder_free(), ff_thread_finish_setup(), ff_thread_report_progress(), frame_worker_thread(), iec61883_callback(), iec61883_receive_task(), decklink_output_callback::ScheduledFrameCompleted(), tq_receive(), tq_receive_finish(), tq_send(), and tq_send_finish().
|
static |
Definition at line 170 of file os2threads.h.
Referenced by sch_wait(), and udp_read().
|
static |
Definition at line 192 of file os2threads.h.
Referenced by async_buffer_task(), async_lock(), async_read_internal(), async_seek(), decklink_write_video_packet(), ff_decklink_packet_queue_get(), ff_thread_await_progress(), ff_thread_await_progress2(), ff_thread_receive_frame(), ff_thread_video_encode_frame(), frame_worker_thread(), get_buffer(), iec61883_read_packet(), park_frame_worker_threads(), submit_packet(), tq_receive(), tq_send(), vtenc_q_pop(), wait_for_state(), waiter_wait(), and worker().
|
static |
Definition at line 210 of file os2threads.h.
Referenced by ff_jni_get_env(), and vtenc_init().