FFmpeg
2.1.1
|
os2threads to pthreads wrapper More...
#include <os2.h>
#include <stdlib.h>
Go to the source code of this file.
Data Structures | |
struct | pthread_cond_t |
struct | thread_arg |
Macros | |
#define | INCL_DOS |
Typedefs | |
typedef TID | pthread_t |
typedef void | pthread_attr_t |
typedef HMTX | pthread_mutex_t |
typedef void | pthread_mutexattr_t |
typedef void | pthread_condattr_t |
Functions | |
static void | thread_entry (void *arg) |
static av_always_inline int | pthread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) |
static av_always_inline int | pthread_join (pthread_t thread, void **value_ptr) |
static av_always_inline int | pthread_mutex_init (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) |
static av_always_inline int | pthread_mutex_destroy (pthread_mutex_t *mutex) |
static av_always_inline int | pthread_mutex_lock (pthread_mutex_t *mutex) |
static av_always_inline int | pthread_mutex_unlock (pthread_mutex_t *mutex) |
static av_always_inline int | pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *attr) |
static av_always_inline int | pthread_cond_destroy (pthread_cond_t *cond) |
static av_always_inline int | pthread_cond_signal (pthread_cond_t *cond) |
static av_always_inline int | pthread_cond_broadcast (pthread_cond_t *cond) |
static av_always_inline int | pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex) |
os2threads to pthreads wrapper
Definition in file os2threads.h.
#define INCL_DOS |
Definition at line 29 of file os2threads.h.
Definition at line 35 of file os2threads.h.
Definition at line 36 of file os2threads.h.
typedef HMTX pthread_mutex_t |
Definition at line 38 of file os2threads.h.
Definition at line 39 of file os2threads.h.
Definition at line 46 of file os2threads.h.
Definition at line 53 of file os2threads.h.
Referenced by pthread_create().
|
static |
Definition at line 62 of file os2threads.h.
Referenced by ff_frame_thread_encoder_init(), frame_thread_init(), iec61883_read_header(), init_input_threads(), Stagefright_decode_frame(), thread_init_internal(), and udp_open().
|
static |
Definition at line 76 of file os2threads.h.
Referenced by ff_frame_thread_encoder_free(), frame_thread_free(), free_input_threads(), iec61883_close(), slice_thread_uninit(), Stagefright_close(), thread_free(), and udp_close().
|
static |
Definition at line 83 of file os2threads.h.
Referenced by ff_alloc_entries(), ff_frame_thread_encoder_init(), ff_tls_init(), frame_thread_init(), iec61883_read_header(), init_input_threads(), Stagefright_init(), thread_init_internal(), udp_open(), and update_dimensions().
|
static |
Definition at line 90 of file os2threads.h.
Referenced by ff_frame_thread_encoder_free(), ff_tls_deinit(), frame_thread_free(), free_buffers(), iec61883_close(), slice_thread_uninit(), Stagefright_close(), thread_free(), udp_close(), and udp_open().
|
static |
Definition at line 97 of file os2threads.h.
Referenced by av_log_default_callback(), avcodec_thread_execute(), decode_thread(), ff_frame_thread_encoder_free(), ff_thread_await_progress(), ff_thread_await_progress2(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_format(), ff_thread_release_buffer(), ff_thread_report_progress(), ff_thread_report_progress2(), ff_thread_video_encode_frame(), frame_thread_free(), frame_worker_thread(), free_input_threads(), get_input_packet_mt(), iec61883_callback(), iec61883_read_packet(), iec61883_receive_task(), input_thread(), park_frame_worker_threads(), pthread_cond_wait(), CustomSource::read(), release_delayed_buffers(), slice_thread_uninit(), Stagefright_close(), Stagefright_decode_frame(), submit_packet(), thread_execute(), thread_free(), thread_get_buffer_internal(), thread_init_internal(), udp_read(), and worker().
|
static |
Definition at line 104 of file os2threads.h.
Referenced by av_log_default_callback(), avcodec_thread_park_workers(), decode_thread(), ff_frame_thread_encoder_free(), ff_thread_await_progress(), ff_thread_await_progress2(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_format(), ff_thread_release_buffer(), ff_thread_report_progress(), ff_thread_report_progress2(), ff_thread_video_encode_frame(), frame_thread_free(), frame_worker_thread(), free_input_threads(), get_input_packet_mt(), iec61883_callback(), iec61883_read_packet(), iec61883_receive_task(), input_thread(), park_frame_worker_threads(), pthread_cond_wait(), CustomSource::read(), release_delayed_buffers(), slice_thread_park_workers(), slice_thread_uninit(), Stagefright_close(), Stagefright_decode_frame(), submit_packet(), thread_free(), thread_get_buffer_internal(), thread_init_internal(), udp_read(), and worker().
|
static |
Definition at line 111 of file os2threads.h.
Referenced by ff_alloc_entries(), ff_frame_thread_encoder_init(), frame_thread_init(), iec61883_read_header(), init_input_threads(), Stagefright_init(), thread_init_internal(), udp_open(), and update_dimensions().
|
static |
Definition at line 120 of file os2threads.h.
Referenced by ff_frame_thread_encoder_free(), frame_thread_free(), free_buffers(), iec61883_close(), slice_thread_uninit(), Stagefright_close(), thread_free(), udp_close(), and udp_open().
|
static |
Definition at line 127 of file os2threads.h.
Referenced by ff_thread_report_progress2(), ff_thread_video_encode_frame(), frame_thread_free(), frame_worker_thread(), free_input_threads(), get_input_packet_mt(), Stagefright_close(), Stagefright_decode_frame(), submit_packet(), and worker().
|
static |
Definition at line 138 of file os2threads.h.
Referenced by avcodec_thread_execute(), ff_frame_thread_encoder_free(), ff_thread_finish_setup(), ff_thread_get_format(), ff_thread_report_progress(), frame_worker_thread(), iec61883_callback(), iec61883_receive_task(), slice_thread_uninit(), thread_execute(), thread_free(), and thread_get_buffer_internal().
|
static |
Definition at line 149 of file os2threads.h.
Referenced by avcodec_thread_park_workers(), ff_thread_await_progress(), ff_thread_await_progress2(), ff_thread_decode_frame(), ff_thread_get_format(), ff_thread_video_encode_frame(), frame_worker_thread(), iec61883_read_packet(), input_thread(), park_frame_worker_threads(), CustomSource::read(), slice_thread_park_workers(), submit_packet(), thread_get_buffer_internal(), and worker().