Mercurial > mplayer.hg
annotate loader/dshow/DS_VideoDecoder.h @ 17369:012dd60fa3fa
Synced with 1.74
author | jheryan |
---|---|
date | Fri, 13 Jan 2006 13:07:52 +0000 |
parents | e9bd97d5c5cc |
children | 2c8cdb9123b8 |
rev | line source |
---|---|
1545 | 1 #ifndef AVIFILE_DS_VIDEODECODER_H |
2 #define AVIFILE_DS_VIDEODECODER_H | |
3 | |
3946 | 4 typedef struct _DS_VideoDecoder DS_VideoDecoder; |
3059 | 5 |
6 int DS_VideoDecoder_GetCapabilities(DS_VideoDecoder *this); | |
7 | |
3444 | 8 DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto); |
3059 | 9 |
10 void DS_VideoDecoder_Destroy(DS_VideoDecoder *this); | |
11 | |
12 void DS_VideoDecoder_StartInternal(DS_VideoDecoder *this); | |
13 | |
14 void DS_VideoDecoder_StopInternal(DS_VideoDecoder *this); | |
15 | |
3063 | 16 int DS_VideoDecoder_DecodeInternal(DS_VideoDecoder *this, const void* src, int size, int is_keyframe, char* pImage); |
3059 | 17 |
18 /* | |
19 * bits == 0 - leave unchanged | |
20 */ | |
21 //int SetDestFmt(DS_VideoDecoder * this, int bits = 24, fourcc_t csp = 0); | |
3946 | 22 int DS_VideoDecoder_SetDestFmt(DS_VideoDecoder *this, int bits, unsigned int csp); |
3059 | 23 int DS_VideoDecoder_SetDirection(DS_VideoDecoder *this, int d); |
3946 | 24 int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char* name, int* value); |
25 int DS_VideoDecoder_SetValue(DS_VideoDecoder *this, const char* name, int value); | |
6335
e9bd97d5c5cc
warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
arpi
parents:
3946
diff
changeset
|
26 int DS_SetAttr_DivX(char* attribute, int value); |
3059 | 27 |
1545 | 28 |
29 #endif /* AVIFILE_DS_VIDEODECODER_H */ |