Debian Codegraph @

support/hqx/hqx.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2003 Maxim Stepin ( [email protected] )
3 *
4 * Copyright (C) 2010 Cameron Zemek ( [email protected])
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #ifndef __HQX_H_
22 #define __HQX_H_
23
24 #include <stdint.h>
25
26 #if 0
27 #if defined( __GNUC__ )
28 #ifdef __MINGW32__
29 #define HQX_CALLCONV __stdcall
30 #else
31 #define HQX_CALLCONV
32 #endif
33 #else
34 #define HQX_CALLCONV
35 #endif
36
37 #if defined(_WIN32)
38 #ifdef DLL_EXPORT
39 #define HQX_API __declspec(dllexport)
40 #else
41 #define HQX_API __declspec(dllimport)
42 #endif
43 #else
44 #define HQX_API
45 #endif
46 #endif
47
48 #define HQX_API
49 #define HQX_CALLCONV
50
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54
55 HQX_API void HQX_CALLCONV hqxInit(void);
56 HQX_API void HQX_CALLCONV hq2x_32( const uint32_t * src, uint32_t * dest, int width, int height );
57 HQX_API void HQX_CALLCONV hq3x_32( const uint32_t * src, uint32_t * dest, int width, int height );
58 HQX_API void HQX_CALLCONV hq4x_32( const uint32_t * src, uint32_t * dest, int width, int height );
59
60 HQX_API void HQX_CALLCONV hq2x_32_rb( const uint32_t * src, uint32_t src_rowBytes, uint32_t * dest, uint32_t dest_rowBytes, int width, int height );
61 HQX_API void HQX_CALLCONV hq3x_32_rb( const uint32_t * src, uint32_t src_rowBytes, uint32_t * dest, uint32_t dest_rowBytes, int width, int height );
62 HQX_API void HQX_CALLCONV hq4x_32_rb( const uint32_t * src, uint32_t src_rowBytes, uint32_t * dest, uint32_t dest_rowBytes, int width, int height );
63
64 #ifdef __cplusplus
65 }
66 #endif
67
68 #endif