annotate libmpcodecs/vd_internal.h @ 24576:6704a924d4aa

According to MSDN a thread must call CoUninitialize once for each successful call it has made to CoInitialize or CoInitializeEx, including any call that returns S_FALSE. Only the CoUninitialize call corresponding to the CoInitialize or CoInitializeEx call that initialized the library can close it. patch by Gianluigi Tiesi, mplayer netfarm it
author diego
date Sun, 23 Sep 2007 20:37:33 +0000
parents ed8f90096c65
children 6ac1ece1f9fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4986
eb57973314ae common includes moved to private vd_internal.h
arpi
parents: 4966
diff changeset
1
eb57973314ae common includes moved to private vd_internal.h
arpi
parents: 4966
diff changeset
2 #include "codec-cfg.h"
5607
1972c3475d93 mp_image.h and img_format.h moved to libmpcodecs
arpi
parents: 5003
diff changeset
3 #include "img_format.h"
4986
eb57973314ae common includes moved to private vd_internal.h
arpi
parents: 4966
diff changeset
4
22599
4faee1254928 Add explicit location for headers from the stream/ directory.
diego
parents: 5607
diff changeset
5 #include "stream/stream.h"
22601
ed8f90096c65 Add explicit location for headers from the libmpdemux/ directory.
diego
parents: 22599
diff changeset
6 #include "libmpdemux/demuxer.h"
ed8f90096c65 Add explicit location for headers from the libmpdemux/ directory.
diego
parents: 22599
diff changeset
7 #include "libmpdemux/stheader.h"
4986
eb57973314ae common includes moved to private vd_internal.h
arpi
parents: 4966
diff changeset
8
eb57973314ae common includes moved to private vd_internal.h
arpi
parents: 4966
diff changeset
9 #include "vd.h"
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
10
5003
88481d4b9e0e divx_quality and equalizer support done
arpi
parents: 4986
diff changeset
11 extern int divx_quality;
88481d4b9e0e divx_quality and equalizer support done
arpi
parents: 4986
diff changeset
12
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
13 // prototypes:
4966
4a0a86d7e248 commente dout info's decl
arpi
parents: 4878
diff changeset
14 //static vd_info_t info;
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
15 static int control(sh_video_t *sh,int cmd,void* arg,...);
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
16 static int init(sh_video_t *sh);
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
17 static void uninit(sh_video_t *sh);
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
18 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags);
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
19
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
20 #define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
21 &info,\
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
22 init,\
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
23 uninit,\
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
24 control,\
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
25 decode\
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
26 };
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
27