libavcodec/w32thread.c File Reference

#include "avcodec.h"
#include "thread.h"
#include <windows.h>
#include <process.h>

Go to the source code of this file.

Data Structures

struct  ThreadContext

Defines

#define WIN32_LEAN_AND_MEAN

Functions

static unsigned WINAPI
attribute_align_arg 
thread_func (void *v)
void ff_thread_free (AVCodecContext *s)
 Free what has been allocated by ff_thread_init().
static int avcodec_thread_execute (AVCodecContext *s, int(*func)(AVCodecContext *c2, void *arg2), void *arg, int *ret, int count, int size)
static int avcodec_thread_execute2 (AVCodecContext *s, int(*func)(AVCodecContext *c2, void *arg2, int, int), void *arg, int *ret, int count)
int ff_thread_init (AVCodecContext *s)


Define Documentation

#define WIN32_LEAN_AND_MEAN

Definition at line 25 of file w32thread.c.


Function Documentation

static int avcodec_thread_execute ( AVCodecContext s,
int(*)(AVCodecContext *c2, void *arg2)  func,
void *  arg,
int *  ret,
int  count,
int  size 
) [static]

Definition at line 97 of file w32thread.c.

static int avcodec_thread_execute2 ( AVCodecContext s,
int(*)(AVCodecContext *c2, void *arg2, int, int)  func,
void *  arg,
int *  ret,
int  count 
) [static]

Definition at line 120 of file w32thread.c.

void ff_thread_free ( AVCodecContext s  ) 

Free what has been allocated by ff_thread_init().

Must be called after decoding has finished, especially do not call while avcodec_thread_execute() is running.

Definition at line 76 of file w32thread.c.

int ff_thread_init ( AVCodecContext s  ) 

Definition at line 128 of file w32thread.c.

static unsigned WINAPI attribute_align_arg thread_func ( void *  v  )  [static]

Definition at line 45 of file w32thread.c.

Referenced by ff_thread_init().


Generated on Fri Oct 26 02:38:18 2012 for FFmpeg by  doxygen 1.5.8