Mercurial > mplayer.hg
annotate libmpcodecs/vd_internal.h @ 27753:6c915906bbc6
Move DEFAULT_CDROM_DEVICE/DEFAULT_DVD_DEVICE to stream.h where it belongs.
config.h should only contain option definitions, no logic.
author | diego |
---|---|
date | Thu, 16 Oct 2008 18:28:38 +0000 |
parents | 4129c8cfa742 |
children | bbb6ebec87a0 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_VD_INTERNAL_H |
2 #define MPLAYER_VD_INTERNAL_H | |
4986 | 3 |
4 #include "codec-cfg.h" | |
5607 | 5 #include "img_format.h" |
4986 | 6 |
22599
4faee1254928
Add explicit location for headers from the stream/ directory.
diego
parents:
5607
diff
changeset
|
7 #include "stream/stream.h" |
22601
ed8f90096c65
Add explicit location for headers from the libmpdemux/ directory.
diego
parents:
22599
diff
changeset
|
8 #include "libmpdemux/demuxer.h" |
ed8f90096c65
Add explicit location for headers from the libmpdemux/ directory.
diego
parents:
22599
diff
changeset
|
9 #include "libmpdemux/stheader.h" |
4986 | 10 |
11 #include "vd.h" | |
4878 | 12 |
5003 | 13 extern int divx_quality; |
14 | |
4878 | 15 // prototypes: |
4966 | 16 //static vd_info_t info; |
4878 | 17 static int control(sh_video_t *sh,int cmd,void* arg,...); |
18 static int init(sh_video_t *sh); | |
19 static void uninit(sh_video_t *sh); | |
20 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags); | |
21 | |
22 #define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\ | |
23 &info,\ | |
24 init,\ | |
25 uninit,\ | |
26 control,\ | |
27 decode\ | |
28 }; | |
29 | |
26029 | 30 #endif /* MPLAYER_VD_INTERNAL_H */ |