xine-lib 1.2.11
Data Structures | Macros | Typedefs | Functions | Variables
DS_VideoDecoder.c File Reference
#include "guids.h"
#include "interfaces.h"
#include "videodecoder.h"
#include "DS_Filter.h"
#include "DS_VideoDecoder.h"
#include "../wine/winerror.h"
#include "fourcc.h"
#include "except.h"
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <stdio.h>
#include <stdlib.h>

Data Structures

struct  _DS_VideoDecoder
 
struct  _ct
 

Macros

#define VFW_E_NOT_RUNNING   0x80040226
 
#define __MODULE__   "DirectShow_VideoDecoder"
 
#define false   0
 
#define true   1
 

Typedefs

typedef struct _ct ct
 

Functions

int DS_VideoDecoder_GetCapabilities (DS_VideoDecoder *this)
 
DS_VideoDecoderDS_VideoDecoder_Open (const char *dllname, GUID *guid, BITMAPINFOHEADER *format, int flip, int maxauto)
 
void DS_VideoDecoder_Destroy (DS_VideoDecoder *this)
 
void DS_VideoDecoder_StartInternal (DS_VideoDecoder *this)
 
void DS_VideoDecoder_StopInternal (DS_VideoDecoder *this)
 
int DS_VideoDecoder_DecodeInternal (DS_VideoDecoder *this, const void *src, int size, int is_keyframe, char *pImage)
 
int DS_VideoDecoder_SetDestFmt (DS_VideoDecoder *this, int bits, unsigned int csp)
 
int DS_VideoDecoder_SetDirection (DS_VideoDecoder *this, int d)
 
int DS_VideoDecoder_GetValue (DS_VideoDecoder *this, const char *name, int *value)
 
int DS_VideoDecoder_SetValue (DS_VideoDecoder *this, const char *name, int value)
 

Variables

static ct check []
 

Macro Definition Documentation

◆ __MODULE__

#define __MODULE__   "DirectShow_VideoDecoder"

◆ false

#define false   0

◆ true

#define true   1

◆ VFW_E_NOT_RUNNING

#define VFW_E_NOT_RUNNING   0x80040226

Typedef Documentation

◆ ct

typedef struct _ct ct

Function Documentation

◆ DS_VideoDecoder_DecodeInternal()

int DS_VideoDecoder_DecodeInternal ( DS_VideoDecoder this,
const void *  src,
int  size,
int  is_keyframe,
char *  pImage 
)

◆ DS_VideoDecoder_Destroy()

void DS_VideoDecoder_Destroy ( DS_VideoDecoder this)

◆ DS_VideoDecoder_GetCapabilities()

int DS_VideoDecoder_GetCapabilities ( DS_VideoDecoder this)

◆ DS_VideoDecoder_GetValue()

int DS_VideoDecoder_GetValue ( DS_VideoDecoder this,
const char *  name,
int *  value 
)

◆ DS_VideoDecoder_Open()

DS_VideoDecoder * DS_VideoDecoder_Open ( const char *  dllname,
GUID *  guid,
BITMAPINFOHEADER *  format,
int  flip,
int  maxauto 
)

◆ DS_VideoDecoder_SetDestFmt()

int DS_VideoDecoder_SetDestFmt ( DS_VideoDecoder this,
int  bits,
unsigned int  csp 
)

◆ DS_VideoDecoder_SetDirection()

int DS_VideoDecoder_SetDirection ( DS_VideoDecoder this,
int  d 
)

◆ DS_VideoDecoder_SetValue()

int DS_VideoDecoder_SetValue ( DS_VideoDecoder this,
const char *  name,
int  value 
)

◆ DS_VideoDecoder_StartInternal()

void DS_VideoDecoder_StartInternal ( DS_VideoDecoder this)

◆ DS_VideoDecoder_StopInternal()

void DS_VideoDecoder_StopInternal ( DS_VideoDecoder this)

Variable Documentation

◆ check

ct check[]
static
Initial value:
= {
{0, 0, NULL, 0}
}
const GUID MEDIASUBTYPE_I420
Definition: guids.c:63
const GUID MEDIASUBTYPE_IYUV
Definition: guids.c:45
const GUID MEDIASUBTYPE_YVYU
Definition: guids.c:55
const GUID MEDIASUBTYPE_YV12
Definition: guids.c:61
const GUID MEDIASUBTYPE_UYVY
Definition: guids.c:57
const GUID MEDIASUBTYPE_YUY2
Definition: guids.c:53
const GUID MEDIASUBTYPE_YVU9
Definition: guids.c:47
#define fccYVYU
Definition: libwin32.h:259
@ CAP_YV12
Definition: libwin32.h:86
@ CAP_UYVY
Definition: libwin32.h:88
@ CAP_YVU9
Definition: libwin32.h:91
@ CAP_YUY2
Definition: libwin32.h:85
@ CAP_IYUV
Definition: libwin32.h:87
@ CAP_YVYU
Definition: libwin32.h:89
@ CAP_I420
Definition: libwin32.h:90
#define fccIYUV
Definition: libwin32.h:257
#define fccUYVY
Definition: libwin32.h:258
#define fccYV12
Definition: libwin32.h:255
#define fccYUY2
Definition: libwin32.h:254
#define fccYVU9
Definition: libwin32.h:260
#define fccI420
Definition: libwin32.h:256
NULL
Definition: xine_plugin.c:78

Referenced by DS_VideoDecoder_Open().