Go to the documentation of this file.
48 #define OPJ_DEPRECATED(func) func __attribute__ ((deprecated))
49 #elif defined(_MSC_VER)
50 #define OPJ_DEPRECATED(func) __declspec(deprecated) func
52 #pragma message("WARNING: You need to implement DEPRECATED for this compiler")
53 #define OPJ_DEPRECATED(func) func
56 #if defined(OPJ_STATIC) || !defined(_WIN32)
59 #define OPJ_API __attribute__ ((visibility ("default")))
60 #define OPJ_LOCAL __attribute__ ((visibility ("hidden")))
67 #define OPJ_CALLCONV __stdcall
76 #if defined(OPJ_EXPORTS) || defined(DLL_EXPORT)
77 #define OPJ_API __declspec(dllexport)
79 #define OPJ_API __declspec(dllimport)
109 #define OPJ_ARG_NOT_USED(x) (void)(x)
117 #define OPJ_PATH_LEN 4096
119 #define OPJ_J2K_MAXRLVLS 33
120 #define OPJ_J2K_MAXBANDS (3*OPJ_J2K_MAXRLVLS-2)
122 #define OPJ_J2K_DEFAULT_NB_SEGS 10
123 #define OPJ_J2K_STREAM_CHUNK_SIZE 0x100000
124 #define OPJ_J2K_DEFAULT_HEADER_SIZE 1000
125 #define OPJ_J2K_MCC_DEFAULT_NB_RECORDS 10
126 #define OPJ_J2K_MCT_DEFAULT_NB_RECORDS 10
129 #define JPWL_MAX_NO_TILESPECS 16
130 #define JPWL_MAX_NO_PACKSPECS 16
131 #define JPWL_MAX_NO_MARKERS 512
132 #define JPWL_PRIVATEINDEX_NAME "jpwl_index_privatefilename"
133 #define JPWL_EXPECTED_COMPONENTS 3
134 #define JPWL_MAXIMUM_TILES 8192
135 #define JPWL_MAXIMUM_HAMMING 2
136 #define JPWL_MAXIMUM_EPB_ROOM 65450
143 #define OPJ_IMG_INFO 1
144 #define OPJ_J2K_MH_INFO 2
145 #define OPJ_J2K_TH_INFO 4
147 #define OPJ_J2K_MH_IND 16
148 #define OPJ_J2K_TH_IND 32
150 #define OPJ_JP2_INFO 128
151 #define OPJ_JP2_IND 256
395 #define OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG 0x0001
478 #define OPJ_STREAM_READ OPJ_TRUE
480 #define OPJ_STREAM_WRITE OPJ_FALSE
1107 void * p_user_data);
1116 void * p_user_data);
1125 void * p_user_data);
1400 FILE* output_stream);