#include <os2.h>
#include <stdlib.h>
Go to the source code of this file.
Data Structures | |
struct | pthread_cond_t |
struct | thread_arg |
Defines | |
#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) |
Definition in file os2threads.h.
#define INCL_DOS |
Definition at line 29 of file os2threads.h.
typedef void pthread_attr_t |
Definition at line 36 of file os2threads.h.
typedef void pthread_condattr_t |
Definition at line 46 of file os2threads.h.
typedef HMTX pthread_mutex_t |
Definition at line 38 of file os2threads.h.
typedef void pthread_mutexattr_t |
Definition at line 39 of file os2threads.h.
typedef TID pthread_t |
Definition at line 35 of file os2threads.h.
static av_always_inline int pthread_cond_broadcast | ( | pthread_cond_t * | cond | ) | [static] |
Definition at line 138 of file os2threads.h.
Referenced by avcodec_thread_execute(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_report_progress(), frame_worker_thread(), and thread_free().
static av_always_inline int pthread_cond_destroy | ( | pthread_cond_t * | cond | ) | [static] |
Definition at line 120 of file os2threads.h.
Referenced by frame_thread_free(), Stagefright_close(), thread_free(), udp_close(), and udp_open().
static av_always_inline int pthread_cond_init | ( | pthread_cond_t * | cond, | |
const pthread_condattr_t * | attr | |||
) | [static] |
Definition at line 111 of file os2threads.h.
Referenced by frame_thread_init(), Stagefright_init(), thread_init(), and udp_open().
static av_always_inline int pthread_cond_signal | ( | pthread_cond_t * | cond | ) | [static] |
Definition at line 127 of file os2threads.h.
Referenced by frame_thread_free(), frame_worker_thread(), Stagefright_close(), Stagefright_decode_frame(), submit_packet(), and worker().
static av_always_inline int pthread_cond_wait | ( | pthread_cond_t * | cond, | |
pthread_mutex_t * | mutex | |||
) | [static] |
Definition at line 149 of file os2threads.h.
Referenced by avcodec_thread_park_workers(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_get_buffer(), frame_worker_thread(), park_frame_worker_threads(), CustomSource::read(), submit_packet(), udp_read(), and worker().
static av_always_inline int pthread_create | ( | pthread_t * | thread, | |
const pthread_attr_t * | attr, | |||
void *(*)(void *) | start_routine, | |||
void * | arg | |||
) | [static] |
Definition at line 62 of file os2threads.h.
Referenced by frame_thread_init(), Stagefright_decode_frame(), thread_init(), and udp_open().
static av_always_inline int pthread_join | ( | pthread_t | thread, | |
void ** | value_ptr | |||
) | [static] |
Definition at line 76 of file os2threads.h.
Referenced by frame_thread_free(), Stagefright_close(), thread_free(), and udp_close().
static av_always_inline int pthread_mutex_destroy | ( | pthread_mutex_t * | mutex | ) | [static] |
Definition at line 90 of file os2threads.h.
Referenced by ff_tls_deinit(), ff_vda_destroy_decoder(), frame_thread_free(), pthread_cond_destroy(), Stagefright_close(), thread_free(), udp_close(), and udp_open().
static av_always_inline int pthread_mutex_init | ( | pthread_mutex_t * | mutex, | |
const pthread_mutexattr_t * | attr | |||
) | [static] |
Definition at line 83 of file os2threads.h.
Referenced by ff_tls_init(), ff_vda_create_decoder(), frame_thread_init(), pthread_cond_init(), Stagefright_init(), thread_init(), and udp_open().
static av_always_inline int pthread_mutex_lock | ( | pthread_mutex_t * | mutex | ) | [static] |
Definition at line 97 of file os2threads.h.
Referenced by avcodec_thread_execute(), decode_thread(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_release_buffer(), ff_thread_report_progress(), ff_vda_queue_pop(), frame_thread_free(), frame_worker_thread(), park_frame_worker_threads(), pthread_cond_broadcast(), pthread_cond_signal(), pthread_cond_wait(), CustomSource::read(), release_delayed_buffers(), Stagefright_close(), Stagefright_decode_frame(), submit_packet(), thread_free(), thread_init(), udp_read(), vda_clear_queue(), vda_decoder_callback(), and worker().
static av_always_inline int pthread_mutex_unlock | ( | pthread_mutex_t * | mutex | ) | [static] |
Definition at line 104 of file os2threads.h.
Referenced by avcodec_thread_park_workers(), decode_thread(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_release_buffer(), ff_thread_report_progress(), ff_vda_queue_pop(), frame_thread_free(), frame_worker_thread(), park_frame_worker_threads(), pthread_cond_broadcast(), pthread_cond_signal(), pthread_cond_wait(), CustomSource::read(), release_delayed_buffers(), Stagefright_close(), Stagefright_decode_frame(), submit_packet(), thread_free(), thread_init(), udp_read(), vda_clear_queue(), vda_decoder_callback(), and worker().
static void thread_entry | ( | void * | arg | ) | [static] |