xine-lib: xine-lib-1.2.12/src/libw32dll/DirectShow/DS_VideoDecoder.h Source File

xine-lib 1.2.12

DS_VideoDecoder.h
Go to the documentation of this file.
1#ifndef AVIFILE_DS_VIDEODECODER_H
2#define AVIFILE_DS_VIDEODECODER_H
3
4 typedef struct _DS_VideoDecoder DS_VideoDecoder;
5
6int DS_VideoDecoder_GetCapabilities(DS_VideoDecoder *this);
7
8 DS_VideoDecoder * DS_VideoDecoder_Open(const char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto);
9
10void DS_VideoDecoder_Destroy(DS_VideoDecoder *this);
11
12void DS_VideoDecoder_StartInternal(DS_VideoDecoder *this);
13
14void DS_VideoDecoder_StopInternal(DS_VideoDecoder *this);
15
16int DS_VideoDecoder_DecodeInternal(DS_VideoDecoder *this, const void* src, int size, int is_keyframe, char* pImage);
17
18/*
19 * bits == 0 - leave unchanged
20 */
21//int SetDestFmt(DS_VideoDecoder * this, int bits = 24, fourcc_t csp = 0);
22int DS_VideoDecoder_SetDestFmt(DS_VideoDecoder *this, int bits, unsigned int csp);
23int DS_VideoDecoder_SetDirection(DS_VideoDecoder *this, int d);
24int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char* name, int* value);
25int DS_VideoDecoder_SetValue(DS_VideoDecoder *this, const char* name, int value);
26
27
28#endif /* AVIFILE_DS_VIDEODECODER_H */
DS_VideoDecoder_GetCapabilities
int DS_VideoDecoder_GetCapabilities(DS_VideoDecoder *this)
Definition: DS_VideoDecoder.c:60
DS_VideoDecoder_SetValue
int DS_VideoDecoder_SetValue(DS_VideoDecoder *this, const char *name, int value)
Definition: DS_VideoDecoder.c:754
DS_VideoDecoder_Open
DS_VideoDecoder * DS_VideoDecoder_Open(const char *dllname, GUID *guid, BITMAPINFOHEADER *format, int flip, int maxauto)
Definition: DS_VideoDecoder.c:85
DS_VideoDecoder_GetValue
int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char *name, int *value)
Definition: DS_VideoDecoder.c:641
DS_VideoDecoder_StartInternal
void DS_VideoDecoder_StartInternal(DS_VideoDecoder *this)
Definition: DS_VideoDecoder.c:275
DS_VideoDecoder_DecodeInternal
int DS_VideoDecoder_DecodeInternal(DS_VideoDecoder *this, const void *src, int size, int is_keyframe, char *pImage)
Definition: DS_VideoDecoder.c:299
DS_VideoDecoder_SetDestFmt
int DS_VideoDecoder_SetDestFmt(DS_VideoDecoder *this, int bits, unsigned int csp)
Definition: DS_VideoDecoder.c:424
DS_VideoDecoder_StopInternal
void DS_VideoDecoder_StopInternal(DS_VideoDecoder *this)
Definition: DS_VideoDecoder.c:293
DS_VideoDecoder_Destroy
void DS_VideoDecoder_Destroy(DS_VideoDecoder *this)
Definition: DS_VideoDecoder.c:266
DS_VideoDecoder_SetDirection
int DS_VideoDecoder_SetDirection(DS_VideoDecoder *this, int d)
Definition: DS_VideoDecoder.c:634
bits
#define bits
_DS_VideoDecoder
Definition: DS_VideoDecoder.c:19
name
const char * name
Definition: xine.c:1569