libavcodec/w32thread.c File Reference

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

Go to the source code of this file.

Data Structures

struct  ThreadContext




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

Define Documentation


Definition at line 24 of file w32thread.c.

Function Documentation

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

Definition at line 77 of file w32thread.c.

Referenced by avcodec_thread_init().

void avcodec_thread_free ( AVCodecContext s  ) 

Free what has been allocated by avcodec_thread_init().

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

Definition at line 61 of file w32thread.c.

Referenced by avcodec_close(), and avcodec_thread_init().

int avcodec_thread_init ( AVCodecContext s,
int  thread_count 

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

Definition at line 39 of file w32thread.c.

Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8