annotate loader/wine/objbase.h @ 25783:8d46379da327

Extend the precision of rationale conversion so it would give proper result for framerate 60000/1001 . Otherwise framerate restrained encoders like lavc mpeg2video would refuse to encode, even if -ofps 60000/1001 is given.
author iive
date Sat, 19 Jan 2008 23:19:41 +0000
parents 3baf6a2283da
children 4f056043c2c1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24770
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
1 #ifndef WINE_OBJBASE_H
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
2 #define WINE_OBJBASE_H
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
3
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
4 #ifndef STDCALL
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
5 #define STDCALL __attribute__((__stdcall__))
24778
9e723abe8646 add comment to endif
compn
parents: 24770
diff changeset
6 #endif /* WINE_OBJBASE_H */
24770
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
7
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
8 /* from objbase.h needed for ve_vfw.c */
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
9 typedef enum tagCOINIT {
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
10 COINIT_APARTMENTTHREADED = 0x2,
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
11 COINIT_MULTITHREADED = 0x0,
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
12 COINIT_DISABLE_OLE1DDE = 0x4,
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
13 COINIT_SPEED_OVER_MEMORY = 0x8
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
14 } COINIT;
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
15
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
16 HRESULT STDCALL CoInitialize(LPVOID pvReserved);
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
17 HRESULT STDCALL CoInitializeEx(LPVOID pvReserved, DWORD dwCoinit);
6a8be4b73d07 Add Coinitialize function to vfw encoder and win32 loader.
compn
parents:
diff changeset
18 void STDCALL CoUninitialize(void);
25535
3baf6a2283da Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents: 24778
diff changeset
19
3baf6a2283da Add explanatory comments to the #endif part of multiple inclusion guards.
diego
parents: 24778
diff changeset
20 #endif /* WINE_OBJBASE_H */