FFmpeg
Data Structures | Macros | Typedefs | Functions | Variables
w32pthreads.h File Reference

w32threads to pthreads wrapper More...

#include <windows.h>
#include <process.h>
#include "libavutil/common.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
 
struct   win32_cond_t
 

Macros

 

Typedefs

typedef CRITICAL_SECTION  pthread_mutex_t
 

Functions

static  void (WINAPI *cond_broadcast)(pthread_cond_t *cond)
 
static  BOOL (WINAPI *cond_wait)(pthread_cond_t *cond
 
 
static int  pthread_create (pthread_t *thread, const void *unused_attr, void *(*start_routine)(void *), void *arg)
 
static void  pthread_join (pthread_t thread, void **value_ptr)
 
static int  pthread_mutex_init (pthread_mutex_t *m, void *attr)
 
 
 
 
static void  pthread_cond_init (pthread_cond_t *cond, const void *unused_attr)
 
 
 
 
 
 

Variables

static pthread_mutex_tmutex
 
 

Detailed Description

w32threads to pthreads wrapper

Definition in file w32pthreads.h.

Macro Definition Documentation

#define WIN32_LEAN_AND_MEAN

Definition at line 38 of file w32pthreads.h.

Typedef Documentation

typedef CRITICAL_SECTION pthread_mutex_t

Definition at line 55 of file w32pthreads.h.

Function Documentation

static void ( WINAPI *  cond_broadcast )
static

Referenced by av_vlog(), dct_error(), encode_dvb_subtitles(), hl_decode_mb(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), hyscale(), main(), palToRgbWrapper(), and spectral_to_sample().

static BOOL ( WINAPI *  cond_wait )
static
static unsigned __stdcall attribute_align_arg win32thread_worker ( voidarg )
static

Definition at line 78 of file w32pthreads.h.

Referenced by pthread_create().

static int pthread_create ( pthread_tthread,
const voidunused_attr,
void *(*)(void *)  start_routine,
voidarg 
)
static

Definition at line 85 of file w32pthreads.h.

static void pthread_join ( pthread_t  thread,
void **  value_ptr 
)
static

Definition at line 95 of file w32pthreads.h.

static int pthread_mutex_init ( pthread_mutex_tm,
voidattr 
)
inlinestatic

Definition at line 105 of file w32pthreads.h.

Referenced by pthread_cond_init().

static int pthread_mutex_destroy ( pthread_mutex_tm )
inlinestatic

Definition at line 110 of file w32pthreads.h.

Referenced by pthread_cond_destroy().

static int pthread_mutex_lock ( pthread_mutex_tm )
inlinestatic

Definition at line 115 of file w32pthreads.h.

Referenced by pthread_cond_broadcast(), pthread_cond_signal(), and pthread_cond_wait().

static int pthread_mutex_unlock ( pthread_mutex_tm )
inlinestatic

Definition at line 120 of file w32pthreads.h.

Referenced by pthread_cond_broadcast(), pthread_cond_signal(), and pthread_cond_wait().

static void pthread_cond_init ( pthread_cond_tcond,
const voidunused_attr 
)
static

Definition at line 137 of file w32pthreads.h.

static void pthread_cond_destroy ( pthread_cond_tcond )
static

Definition at line 161 of file w32pthreads.h.

static void pthread_cond_broadcast ( pthread_cond_tcond )
static

Definition at line 177 of file w32pthreads.h.

static int pthread_cond_wait ( pthread_cond_tcond,
pthread_mutex_tmutex 
)
static

Definition at line 208 of file w32pthreads.h.

static void pthread_cond_signal ( pthread_cond_tcond )
static

Definition at line 240 of file w32pthreads.h.

static void w32thread_init ( void  )
static

Definition at line 265 of file w32pthreads.h.

Referenced by ff_graph_thread_init(), and ff_thread_init().

Variable Documentation

Definition at line 69 of file w32pthreads.h.

Referenced by av_log_default_callback().

pthread_mutex_t DWORD milliseconds

Definition at line 69 of file w32pthreads.h.


Generated on Sat Jan 25 2014 19:52:08 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /