Mercurial > mplayer.hg
annotate loader/dshow/DS_VideoDecoder.h @ 33556:520fb0f7544c
Rename GUI directory 'mplayer' and some files in it.
The directory 'mplayer' contains the files for the user interface and
has thus been renamed 'ui'.
Inside this directory the following files have been renamed to better
reflect their contents:
mw.c -> main.c
sw.c -> sub.c
pb.c -> playbar.c
gui_common.* -> render.*
play.* -> actions.*
author | ib |
---|---|
date | Sat, 18 Jun 2011 16:03:31 +0000 |
parents | 837cd9762b4e |
children |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_DS_VIDEODECODER_H |
2 #define MPLAYER_DS_VIDEODECODER_H | |
1545 | 3 |
30171
837cd9762b4e
Add required header #includes to satisfy 'make checkheaders'.
diego
parents:
26045
diff
changeset
|
4 #include "loader/com.h" |
837cd9762b4e
Add required header #includes to satisfy 'make checkheaders'.
diego
parents:
26045
diff
changeset
|
5 #include "loader/wine/vfw.h" |
837cd9762b4e
Add required header #includes to satisfy 'make checkheaders'.
diego
parents:
26045
diff
changeset
|
6 |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
6335
diff
changeset
|
7 typedef struct DS_VideoDecoder DS_VideoDecoder; |
3059 | 8 |
9 int DS_VideoDecoder_GetCapabilities(DS_VideoDecoder *this); | |
10 | |
3444 | 11 DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER * format, int flip, int maxauto); |
3059 | 12 |
13 void DS_VideoDecoder_Destroy(DS_VideoDecoder *this); | |
14 | |
15 void DS_VideoDecoder_StartInternal(DS_VideoDecoder *this); | |
16 | |
17 void DS_VideoDecoder_StopInternal(DS_VideoDecoder *this); | |
18 | |
3063 | 19 int DS_VideoDecoder_DecodeInternal(DS_VideoDecoder *this, const void* src, int size, int is_keyframe, char* pImage); |
3059 | 20 |
21 /* | |
22 * bits == 0 - leave unchanged | |
23 */ | |
24 //int SetDestFmt(DS_VideoDecoder * this, int bits = 24, fourcc_t csp = 0); | |
3946 | 25 int DS_VideoDecoder_SetDestFmt(DS_VideoDecoder *this, int bits, unsigned int csp); |
3059 | 26 int DS_VideoDecoder_SetDirection(DS_VideoDecoder *this, int d); |
3946 | 27 int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char* name, int* value); |
28 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
|
29 int DS_SetAttr_DivX(char* attribute, int value); |
3059 | 30 |
1545 | 31 |
26045 | 32 #endif /* MPLAYER_DS_VIDEODECODER_H */ |