| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 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 |