xine-lib  1.2.10
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
MEDIASUBTYPE_YV12
const GUID MEDIASUBTYPE_YV12
Definition: guids.c:61
MEDIASUBTYPE_YVYU
const GUID MEDIASUBTYPE_YVYU
Definition: guids.c:55
fccYUY2
#define fccYUY2
Definition: libwin32.h:254
CAP_YV12
@ CAP_YV12
Definition: libwin32.h:86
CAP_YUY2
@ CAP_YUY2
Definition: libwin32.h:85
fccI420
#define fccI420
Definition: libwin32.h:256
fccYVYU
#define fccYVYU
Definition: libwin32.h:259
NULL
NULL
Definition: xine_plugin.c:78
MEDIASUBTYPE_UYVY
const GUID MEDIASUBTYPE_UYVY
Definition: guids.c:57
CAP_YVYU
@ CAP_YVYU
Definition: libwin32.h:89
CAP_UYVY
@ CAP_UYVY
Definition: libwin32.h:88
fccYVU9
#define fccYVU9
Definition: libwin32.h:260
fccYV12
#define fccYV12
Definition: libwin32.h:255
fccIYUV
#define fccIYUV
Definition: libwin32.h:257
CAP_IYUV
@ CAP_IYUV
Definition: libwin32.h:87
MEDIASUBTYPE_YUY2
const GUID MEDIASUBTYPE_YUY2
Definition: guids.c:53
MEDIASUBTYPE_I420
const GUID MEDIASUBTYPE_I420
Definition: guids.c:63
fccUYVY
#define fccUYVY
Definition: libwin32.h:258
MEDIASUBTYPE_YVU9
const GUID MEDIASUBTYPE_YVU9
Definition: guids.c:47
CAP_I420
@ CAP_I420
Definition: libwin32.h:90
MEDIASUBTYPE_IYUV
const GUID MEDIASUBTYPE_IYUV
Definition: guids.c:45
CAP_YVU9
@ CAP_YVU9
Definition: libwin32.h:91