aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/openjpeg-libsl/libsl/libsl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/openjpeg-libsl/libsl/libsl.h')
-rw-r--r--libraries/openjpeg-libsl/libsl/libsl.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/libraries/openjpeg-libsl/libsl/libsl.h b/libraries/openjpeg-libsl/libsl/libsl.h
deleted file mode 100644
index d6e293c..0000000
--- a/libraries/openjpeg-libsl/libsl/libsl.h
+++ /dev/null
@@ -1,32 +0,0 @@
1
2
3#ifndef LIBSL_H
4#define LIBSL_H
5
6
7struct LibslImage
8{
9 unsigned char* encoded;
10 int length;
11
12 unsigned char* decoded;
13 int width;
14 int height;
15 int components;
16};
17
18#ifdef WIN32
19#define DLLEXPORT extern "C" __declspec(dllexport)
20#else
21#define DLLEXPORT extern "C"
22#endif
23
24// uncompresed images are raw RGBA 8bit/channel
25DLLEXPORT bool LibslEncode(LibslImage* image, bool lossless);
26DLLEXPORT bool LibslDecode(LibslImage* image);
27DLLEXPORT bool LibslAllocEncoded(LibslImage* image);
28DLLEXPORT bool LibslAllocDecoded(LibslImage* image);
29DLLEXPORT void LibslFree(LibslImage* image);
30
31
32#endif