* wxWindows Library License for more details.
*/
-#if (defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__)) && defined(_WIN32) && defined(DLLDEFINE)
+#if (defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__)) \
+ && defined(_WIN32) && defined(DLLDEFINE)
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT
#define DLLCALL
+
/* Subsampling */
#define NUMSUBOPT 4
#define TJ_411 TJ_420 /* for backward compatibility with VirtualGL <= 2.1.x,
TurboVNC <= 0.6, and TurboJPEG/IPP */
+
/* Flags */
#define TJ_BGR 1
/* The components of each pixel in the source/destination bitmap are stored
#define TJ_YUV 512
/* Nothing to see here. Pay no attention to the man behind the curtain. */
+
typedef void* tjhandle;
#define TJPAD(p) (((p)+3)&(~3))
#define max(a,b) ((a)>(b)?(a):(b))
#endif
+
#ifdef __cplusplus
extern "C" {
#endif
*/
DLLEXPORT char* DLLCALL tjGetErrorStr(void);
+
#ifdef __cplusplus
}
#endif