annotate loader/registry.h @ 11118:344052fdfc4a

Fix colorkey for xvidix, tested on Riva128 4MB X@15/16/24bpp (aka 15/15/32 in nvidia_vid) This is very cool, using mplayer -vo xvidix -ao oss -framedrop -dr movie.avi I can play 640x272 DivX 1MBps on PII 233, 64MB, i440LX, Riva128 4MB AGP, FreeBSD 5.0, XFree 4.2.0, with little framedrop,
author atmos4
date Tue, 14 Oct 2003 21:29:25 +0000
parents 692c4467da42
children f5537cc95b02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
1 #ifndef AVIFILE_REGISTRY_H
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
2 #define AVIFILE_REGISTRY_H
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
4 /********************************************************
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
5 *
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
6 * Declaration of registry access functions
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
7 * Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
8 *
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
9 ********************************************************/
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 extern "C" {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 #endif
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
14
3134
181db9e5a887 avifile sync again... :(
arpi
parents: 2069
diff changeset
15 void free_registry(void);
181db9e5a887 avifile sync again... :(
arpi
parents: 2069
diff changeset
16
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
17 long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
18 long access, int* newkey);
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
19 long __stdcall RegCloseKey(long key);
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
20 long __stdcall RegQueryValueExA(long key, const char* value, int* reserved,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
21 int* type, int* data, int* count);
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
22 long __stdcall RegCreateKeyExA(long key, const char* name, long reserved,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
23 void* classs, long options, long security,
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
24 void* sec_attr, int* newkey, int* status);
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
25 long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
26 const void* data, long size);
3465
4dad31e655b6 avifile merge. kabi: indent changes really suxxxx
arpi
parents: 3134
diff changeset
27
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
28 #ifdef __WINE_WINERROR_H
3465
4dad31e655b6 avifile merge. kabi: indent changes really suxxxx
arpi
parents: 3134
diff changeset
29
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
30 long __stdcall RegEnumKeyExA(HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcbName,
3465
4dad31e655b6 avifile merge. kabi: indent changes really suxxxx
arpi
parents: 3134
diff changeset
31 LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcbClass,
4dad31e655b6 avifile merge. kabi: indent changes really suxxxx
arpi
parents: 3134
diff changeset
32 LPFILETIME lpftLastWriteTime);
9965
692c4467da42 cygwin support patch by Sascha Sommer
alex
parents: 3465
diff changeset
33 long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count,
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
34 LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count);
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
35 #endif
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 };
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 #endif
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
39
ce45cce7f7a5 sync with avifile
arpi
parents: 1
diff changeset
40 #endif // AVIFILE_REGISTRY_H