Libav
|
w32threads to pthreads wrapper More...
#include <windows.h>
#include <process.h>
#include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
Go to the source code of this file.
Data Structures | |
struct | pthread_t |
struct | pthread_cond_t |
union | pthread_once_t |
struct | win32_cond_t |
Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | PTHREAD_ONCE_INIT {0} |
Typedefs | |
typedef CRITICAL_SECTION | pthread_mutex_t |
Variables | |
static LONG | w32thread_init_state = 0 |
static DWORD | dwFlags |
static DWORD BOOL * | fPending |
static DWORD BOOL void ** | lpContext |
static pthread_mutex_t * | mutex |
static pthread_mutex_t DWORD | milliseconds |
w32threads to pthreads wrapper
Definition in file w32pthreads.h.
#define WIN32_LEAN_AND_MEAN |
Definition at line 38 of file w32pthreads.h.
#define PTHREAD_ONCE_INIT {0} |
Definition at line 181 of file w32pthreads.h.
typedef CRITICAL_SECTION pthread_mutex_t |
Definition at line 60 of file w32pthreads.h.
|
static |
Definition at line 77 of file w32pthreads.h.
Referenced by pthread_create().
|
static |
Definition at line 84 of file w32pthreads.h.
Referenced by ff_frame_thread_init(), ff_slice_thread_init(), init_input_threads(), and thread_init_internal().
Definition at line 94 of file w32pthreads.h.
Referenced by ff_frame_thread_free(), ff_slice_thread_free(), free_input_threads(), and slice_thread_uninit().
|
inlinestatic |
Definition at line 104 of file w32pthreads.h.
Referenced by ff_frame_thread_init(), ff_openssl_init(), ff_slice_thread_init(), init_input_threads(), omx_encode_init(), pthread_cond_init(), setup_streams(), thread_init_internal(), and update_dimensions().
|
inlinestatic |
Definition at line 109 of file w32pthreads.h.
Referenced by cleanup(), destroy_context(), ff_frame_thread_free(), ff_openssl_deinit(), ff_slice_thread_free(), free_buffers(), pthread_cond_destroy(), and slice_thread_uninit().
|
inlinestatic |
Definition at line 114 of file w32pthreads.h.
Referenced by append_buffer(), cleanup(), event_handler(), ff_frame_thread_free(), ff_slice_thread_free(), ff_slice_thread_init(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_release_buffer(), ff_thread_report_progress(), frame_worker_thread(), free_input_threads(), get_buffer(), get_input_packet_mt(), input_thread(), lock_frames(), park_frame_worker_threads(), pthread_cond_broadcast(), pthread_cond_signal(), pthread_cond_wait(), release_delayed_buffers(), slice_thread_uninit(), submit_packet(), thread_execute(), thread_init_internal(), wait_for_state(), and worker().
|
inlinestatic |
Definition at line 119 of file w32pthreads.h.
Referenced by append_buffer(), cleanup(), event_handler(), ff_frame_thread_free(), ff_slice_thread_free(), ff_slice_thread_init(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_get_buffer(), ff_thread_release_buffer(), ff_thread_report_progress(), frame_worker_thread(), free_input_threads(), get_buffer(), get_input_packet_mt(), input_thread(), park_frame_worker_threads(), pthread_cond_broadcast(), pthread_cond_signal(), pthread_cond_wait(), release_delayed_buffers(), slice_thread_park_workers(), slice_thread_uninit(), submit_packet(), thread_init_internal(), thread_park_workers(), unlock_frames(), wait_for_state(), and worker().
Definition at line 380 of file w32pthreads.h.
Referenced by ff_frame_thread_init(), ff_graph_thread_init(), ff_slice_thread_init(), pthread_cond_init(), and pthread_once().
|
static |
Referenced by av_get_random_seed(), pthread_mutex_unlock(), and pthread_once().
|
inlinestatic |
Definition at line 188 of file w32pthreads.h.
Referenced by pthread_cond_init(), and pthread_once().
|
static |
Definition at line 211 of file w32pthreads.h.
Referenced by pthread_mutex_unlock().
|
static |
Referenced by check_idct(), check_idct_dc4(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), checkasm_check_h264pred(), dct_error(), encode_dvb_subtitles(), ff_oss_audio_open(), flush_packet(), hl_decode_mb(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), hyscale(), VideoCapture::initWithContext:, main(), palToRgbWrapper(), sgi_rle_encode(), spectral_to_sample(), swf_write_video(), and vaapi_encode_h264_write_sei().
|
static |
Definition at line 248 of file w32pthreads.h.
Referenced by ff_frame_thread_init(), ff_slice_thread_init(), init_input_threads(), omx_encode_init(), pthread_mutex_unlock(), setup_streams(), thread_init_internal(), and update_dimensions().
|
static |
Definition at line 275 of file w32pthreads.h.
Referenced by cleanup(), destroy_context(), ff_frame_thread_free(), ff_slice_thread_free(), free_buffers(), pthread_mutex_unlock(), and slice_thread_uninit().
|
static |
Definition at line 291 of file w32pthreads.h.
Referenced by append_buffer(), event_handler(), ff_slice_thread_free(), ff_thread_finish_setup(), ff_thread_report_progress(), pthread_mutex_unlock(), slice_thread_uninit(), and thread_execute().
|
static |
Definition at line 322 of file w32pthreads.h.
Referenced by avfoundation_read_packet(), ff_thread_await_progress(), ff_thread_decode_frame(), ff_thread_get_buffer(), frame_worker_thread(), get_buffer(), input_thread(), park_frame_worker_threads(), pthread_mutex_unlock(), slice_thread_park_workers(), submit_packet(), thread_park_workers(), wait_for_state(), and worker().
|
static |
Definition at line 354 of file w32pthreads.h.
Referenced by VideoCapture::captureOutput:didOutputSampleBuffer:fromConnection:, ff_frame_thread_free(), ff_thread_get_buffer(), frame_worker_thread(), free_input_threads(), get_input_packet_mt(), pthread_mutex_unlock(), submit_packet(), and worker().
|
static |
Definition at line 170 of file w32pthreads.h.
static DWORD dwFlags |
Definition at line 184 of file w32pthreads.h.
Referenced by dump_videohdr().
DWORD BOOL* fPending |
Definition at line 184 of file w32pthreads.h.
static DWORD void * lpContext |
Definition at line 184 of file w32pthreads.h.
pthread_mutex_t* mutex |
Definition at line 245 of file w32pthreads.h.
Referenced by pthread_mutex_unlock().
pthread_mutex_t DWORD milliseconds |
Definition at line 245 of file w32pthreads.h.