calceng.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
#ifndef LHCalcEngine_h
00015
#define LHCalcEngine_h
00016
00017
#ifndef LHTypeDefs_h
00018
#include "TypeDefs.h"
00019
#endif
00020
00021 typedef unsigned char LH_UINT8;
00022 typedef unsigned short LH_UINT16;
00023 typedef unsigned long LH_UINT32;
00024
#undef LH_CALC_ENGINE_UNDEF_MODE
00025
#undef LH_CALC_ENGINE_P_TO_P
00026
#undef LH_CALC_ENGINE_P_TO_U
00027
#undef LH_CALC_ENGINE_U_TO_P
00028
#undef LH_CALC_ENGINE_U_TO_U
00029 #define LH_CALC_ENGINE_UNDEF_MODE 0
00030 #define LH_CALC_ENGINE_P_TO_P 1
00031 #define LH_CALC_ENGINE_P_TO_U 2
00032 #define LH_CALC_ENGINE_U_TO_P 3
00033 #define LH_CALC_ENGINE_U_TO_U 4
00034
00035
00036
00037
00038
CMError LHCalc3to3_Di8_Do8_Lut8_G32 (
CMCalcParamPtr calcParam,
00039
CMLutParamPtr lutParam );
00040
CMError LHCalc3to3_Di16_Do8_Lut8_G32 (
CMCalcParamPtr calcParam,
00041
CMLutParamPtr lutParam );
00042
CMError LHCalc3to3_Di8_Do16_Lut8_G32 (
CMCalcParamPtr calcParam,
00043
CMLutParamPtr lutParam );
00044
CMError LHCalc3to3_Di16_Do16_Lut8_G32 (
CMCalcParamPtr calcParam,
00045
CMLutParamPtr lutParam );
00046
00047
CMError LHCalc3to3_Di8_Do8_Lut8_G16 (
CMCalcParamPtr calcParam,
00048
CMLutParamPtr lutParam );
00049
CMError LHCalc3to3_Di16_Do8_Lut8_G16 (
CMCalcParamPtr calcParam,
00050
CMLutParamPtr lutParam );
00051
CMError LHCalc3to3_Di8_Do16_Lut8_G16 (
CMCalcParamPtr calcParam,
00052
CMLutParamPtr lutParam );
00053
CMError LHCalc3to3_Di16_Do16_Lut8_G16 (
CMCalcParamPtr calcParam,
00054
CMLutParamPtr lutParam );
00055
00056
00057
CMError LHCalc3to3_Di8_Do8_Lut16_G32 (
CMCalcParamPtr calcParam,
00058
CMLutParamPtr lutParam );
00059
CMError LHCalc3to3_Di16_Do8_Lut16_G32 (
CMCalcParamPtr calcParam,
00060
CMLutParamPtr lutParam );
00061
CMError LHCalc3to3_Di8_Do16_Lut16_G32 (
CMCalcParamPtr calcParam,
00062
CMLutParamPtr lutParam );
00063
CMError LHCalc3to3_Di16_Do16_Lut16_G32 (
CMCalcParamPtr calcParam,
00064
CMLutParamPtr lutParam );
00065
00066
CMError LHCalc3to3_Di8_Do8_Lut16_G16 (
CMCalcParamPtr calcParam,
00067
CMLutParamPtr lutParam );
00068
CMError LHCalc3to3_Di16_Do8_Lut16_G16 (
CMCalcParamPtr calcParam,
00069
CMLutParamPtr lutParam );
00070
CMError LHCalc3to3_Di8_Do16_Lut16_G16 (
CMCalcParamPtr calcParam,
00071
CMLutParamPtr lutParam );
00072
CMError LHCalc3to3_Di16_Do16_Lut16_G16 (
CMCalcParamPtr calcParam,
00073
CMLutParamPtr lutParam );
00074
00075
00076
00077
00078
00079
CMError LHCalc3to4_Di8_Do8_Lut8_G32 (
CMCalcParamPtr calcParam,
00080
CMLutParamPtr lutParam );
00081
CMError LHCalc3to4_Di16_Do8_Lut8_G32 (
CMCalcParamPtr calcParam,
00082
CMLutParamPtr lutParam );
00083
CMError LHCalc3to4_Di8_Do16_Lut8_G32 (
CMCalcParamPtr calcParam,
00084
CMLutParamPtr lutParam );
00085
CMError LHCalc3to4_Di16_Do16_Lut8_G32 (
CMCalcParamPtr calcParam,
00086
CMLutParamPtr lutParam );
00087
00088
CMError LHCalc3to4_Di8_Do8_Lut8_G16 (
CMCalcParamPtr calcParam,
00089
CMLutParamPtr lutParam );
00090
CMError LHCalc3to4_Di16_Do8_Lut8_G16 (
CMCalcParamPtr calcParam,
00091
CMLutParamPtr lutParam );
00092
CMError LHCalc3to4_Di8_Do16_Lut8_G16 (
CMCalcParamPtr calcParam,
00093
CMLutParamPtr lutParam );
00094
CMError LHCalc3to4_Di16_Do16_Lut8_G16 (
CMCalcParamPtr calcParam,
00095
CMLutParamPtr lutParam );
00096
00097
00098
CMError LHCalc3to4_Di8_Do8_Lut16_G32 (
CMCalcParamPtr calcParam,
00099
CMLutParamPtr lutParam );
00100
CMError LHCalc3to4_Di16_Do8_Lut16_G32 (
CMCalcParamPtr calcParam,
00101
CMLutParamPtr lutParam );
00102
CMError LHCalc3to4_Di8_Do16_Lut16_G32 (
CMCalcParamPtr calcParam,
00103
CMLutParamPtr lutParam );
00104
CMError LHCalc3to4_Di16_Do16_Lut16_G32 (
CMCalcParamPtr calcParam,
00105
CMLutParamPtr lutParam );
00106
00107
CMError LHCalc3to4_Di8_Do8_Lut16_G16 (
CMCalcParamPtr calcParam,
00108
CMLutParamPtr lutParam );
00109
CMError LHCalc3to4_Di16_Do8_Lut16_G16 (
CMCalcParamPtr calcParam,
00110
CMLutParamPtr lutParam );
00111
CMError LHCalc3to4_Di8_Do16_Lut16_G16 (
CMCalcParamPtr calcParam,
00112
CMLutParamPtr lutParam );
00113
CMError LHCalc3to4_Di16_Do16_Lut16_G16 (
CMCalcParamPtr calcParam,
00114
CMLutParamPtr lutParam );
00115
00116
00117
00118
00119
CMError LHCalc4to3_Di8_Do8_Lut8_G8 (
CMCalcParamPtr calcParam,
00120
CMLutParamPtr lutParam );
00121
CMError LHCalc4to3_Di16_Do8_Lut8_G8 (
CMCalcParamPtr calcParam,
00122
CMLutParamPtr lutParam );
00123
CMError LHCalc4to3_Di8_Do16_Lut8_G8 (
CMCalcParamPtr calcParam,
00124
CMLutParamPtr lutParam );
00125
CMError LHCalc4to3_Di16_Do16_Lut8_G8 (
CMCalcParamPtr calcParam,
00126
CMLutParamPtr lutParam );
00127
00128
CMError LHCalc4to3_Di8_Do8_Lut8_G16 (
CMCalcParamPtr calcParam,
00129
CMLutParamPtr lutParam );
00130
CMError LHCalc4to3_Di16_Do8_Lut8_G16 (
CMCalcParamPtr calcParam,
00131
CMLutParamPtr lutParam );
00132
CMError LHCalc4to3_Di8_Do16_Lut8_G16 (
CMCalcParamPtr calcParam,
00133
CMLutParamPtr lutParam );
00134
CMError LHCalc4to3_Di16_Do16_Lut8_G16 (
CMCalcParamPtr calcParam,
00135
CMLutParamPtr lutParam );
00136
00137
00138
CMError LHCalc4to3_Di8_Do8_Lut16_G8 (
CMCalcParamPtr calcParam,
00139
CMLutParamPtr lutParam );
00140
CMError LHCalc4to3_Di16_Do8_Lut16_G8 (
CMCalcParamPtr calcParam,
00141
CMLutParamPtr lutParam );
00142
CMError LHCalc4to3_Di8_Do16_Lut16_G8 (
CMCalcParamPtr calcParam,
00143
CMLutParamPtr lutParam );
00144
CMError LHCalc4to3_Di16_Do16_Lut16_G8 (
CMCalcParamPtr calcParam,
00145
CMLutParamPtr lutParam );
00146
00147
CMError LHCalc4to3_Di8_Do8_Lut16_G16 (
CMCalcParamPtr calcParam,
00148
CMLutParamPtr lutParam );
00149
CMError LHCalc4to3_Di16_Do8_Lut16_G16 (
CMCalcParamPtr calcParam,
00150
CMLutParamPtr lutParam );
00151
CMError LHCalc4to3_Di8_Do16_Lut16_G16 (
CMCalcParamPtr calcParam,
00152
CMLutParamPtr lutParam );
00153
CMError LHCalc4to3_Di16_Do16_Lut16_G16 (
CMCalcParamPtr calcParam,
00154
CMLutParamPtr lutParam );
00155
00156
00157
00158
00159
00160
CMError LHCalc4to4_Di8_Do8_Lut8_G8 (
CMCalcParamPtr calcParam,
00161
CMLutParamPtr lutParam );
00162
CMError LHCalc4to4_Di16_Do8_Lut8_G8 (
CMCalcParamPtr calcParam,
00163
CMLutParamPtr lutParam );
00164
CMError LHCalc4to4_Di8_Do16_Lut8_G8 (
CMCalcParamPtr calcParam,
00165
CMLutParamPtr lutParam );
00166
CMError LHCalc4to4_Di16_Do16_Lut8_G8 (
CMCalcParamPtr calcParam,
00167
CMLutParamPtr lutParam );
00168
00169
CMError LHCalc4to4_Di8_Do8_Lut8_G16 (
CMCalcParamPtr calcParam,
00170
CMLutParamPtr lutParam );
00171
CMError LHCalc4to4_Di16_Do8_Lut8_G16 (
CMCalcParamPtr calcParam,
00172
CMLutParamPtr lutParam );
00173
CMError LHCalc4to4_Di8_Do16_Lut8_G16 (
CMCalcParamPtr calcParam,
00174
CMLutParamPtr lutParam );
00175
CMError LHCalc4to4_Di16_Do16_Lut8_G16 (
CMCalcParamPtr calcParam,
00176
CMLutParamPtr lutParam );
00177
00178
00179
CMError LHCalc4to4_Di8_Do8_Lut16_G8 (
CMCalcParamPtr calcParam,
00180
CMLutParamPtr lutParam );
00181
CMError LHCalc4to4_Di16_Do8_Lut16_G8 (
CMCalcParamPtr calcParam,
00182
CMLutParamPtr lutParam );
00183
CMError LHCalc4to4_Di8_Do16_Lut16_G8 (
CMCalcParamPtr calcParam,
00184
CMLutParamPtr lutParam );
00185
CMError LHCalc4to4_Di16_Do16_Lut16_G8 (
CMCalcParamPtr calcParam,
00186
CMLutParamPtr lutParam );
00187
00188
CMError LHCalc4to4_Di8_Do8_Lut16_G16 (
CMCalcParamPtr calcParam,
00189
CMLutParamPtr lutParam );
00190
CMError LHCalc4to4_Di16_Do8_Lut16_G16 (
CMCalcParamPtr calcParam,
00191
CMLutParamPtr lutParam );
00192
CMError LHCalc4to4_Di8_Do16_Lut16_G16 (
CMCalcParamPtr calcParam,
00193
CMLutParamPtr lutParam );
00194
CMError LHCalc4to4_Di16_Do16_Lut16_G16 (
CMCalcParamPtr calcParam,
00195
CMLutParamPtr lutParam );
00196
00197
00198
00199
00200
CMError LHCalc3to3_Di8_Do8_Lut8_G32_LO (
CMCalcParamPtr calcParam,
00201
CMLutParamPtr lutParam );
00202
CMError LHCalc3to3_Di16_Do8_Lut8_G32_LO (
CMCalcParamPtr calcParam,
00203
CMLutParamPtr lutParam );
00204
CMError LHCalc3to3_Di8_Do16_Lut8_G32_LO (
CMCalcParamPtr calcParam,
00205
CMLutParamPtr lutParam );
00206
CMError LHCalc3to3_Di16_Do16_Lut8_G32_LO (
CMCalcParamPtr calcParam,
00207
CMLutParamPtr lutParam );
00208
00209
CMError LHCalc3to3_Di8_Do8_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00210
CMLutParamPtr lutParam );
00211
CMError LHCalc3to3_Di16_Do8_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00212
CMLutParamPtr lutParam );
00213
CMError LHCalc3to3_Di8_Do16_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00214
CMLutParamPtr lutParam );
00215
CMError LHCalc3to3_Di16_Do16_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00216
CMLutParamPtr lutParam );
00217
00218
00219
CMError LHCalc3to3_Di8_Do8_Lut16_G32_LO (
CMCalcParamPtr calcParam,
00220
CMLutParamPtr lutParam );
00221
CMError LHCalc3to3_Di16_Do8_Lut16_G32_LO (
CMCalcParamPtr calcParam,
00222
CMLutParamPtr lutParam );
00223
CMError LHCalc3to3_Di8_Do16_Lut16_G32_LO (
CMCalcParamPtr calcParam,
00224
CMLutParamPtr lutParam );
00225
CMError LHCalc3to3_Di16_Do16_Lut16_G32_LO (
CMCalcParamPtr calcParam,
00226
CMLutParamPtr lutParam );
00227
00228
CMError LHCalc3to3_Di8_Do8_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00229
CMLutParamPtr lutParam );
00230
CMError LHCalc3to3_Di16_Do8_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00231
CMLutParamPtr lutParam );
00232
CMError LHCalc3to3_Di8_Do16_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00233
CMLutParamPtr lutParam );
00234
CMError LHCalc3to3_Di16_Do16_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00235
CMLutParamPtr lutParam );
00236
00237
00238
00239
00240
00241
CMError LHCalc3to4_Di8_Do8_Lut8_G32_LO (
CMCalcParamPtr calcParam,
00242
CMLutParamPtr lutParam );
00243
CMError LHCalc3to4_Di16_Do8_Lut8_G32_LO (
CMCalcParamPtr calcParam,
00244
CMLutParamPtr lutParam );
00245
CMError LHCalc3to4_Di8_Do16_Lut8_G32_LO (
CMCalcParamPtr calcParam,
00246
CMLutParamPtr lutParam );
00247
CMError LHCalc3to4_Di16_Do16_Lut8_G32_LO (
CMCalcParamPtr calcParam,
00248
CMLutParamPtr lutParam );
00249
00250
CMError LHCalc3to4_Di8_Do8_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00251
CMLutParamPtr lutParam );
00252
CMError LHCalc3to4_Di16_Do8_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00253
CMLutParamPtr lutParam );
00254
CMError LHCalc3to4_Di8_Do16_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00255
CMLutParamPtr lutParam );
00256
CMError LHCalc3to4_Di16_Do16_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00257
CMLutParamPtr lutParam );
00258
00259
00260
CMError LHCalc3to4_Di8_Do8_Lut16_G32_LO (
CMCalcParamPtr calcParam,
00261
CMLutParamPtr lutParam );
00262
CMError LHCalc3to4_Di16_Do8_Lut16_G32_LO (
CMCalcParamPtr calcParam,
00263
CMLutParamPtr lutParam );
00264
CMError LHCalc3to4_Di8_Do16_Lut16_G32_LO (
CMCalcParamPtr calcParam,
00265
CMLutParamPtr lutParam );
00266
CMError LHCalc3to4_Di16_Do16_Lut16_G32_LO (
CMCalcParamPtr calcParam,
00267
CMLutParamPtr lutParam );
00268
00269
CMError LHCalc3to4_Di8_Do8_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00270
CMLutParamPtr lutParam );
00271
CMError LHCalc3to4_Di16_Do8_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00272
CMLutParamPtr lutParam );
00273
CMError LHCalc3to4_Di8_Do16_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00274
CMLutParamPtr lutParam );
00275
CMError LHCalc3to4_Di16_Do16_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00276
CMLutParamPtr lutParam );
00277
00278
00279
00280
00281
CMError LHCalc4to3_Di8_Do8_Lut8_G8_LO (
CMCalcParamPtr calcParam,
00282
CMLutParamPtr lutParam );
00283
CMError LHCalc4to3_Di16_Do8_Lut8_G8_LO (
CMCalcParamPtr calcParam,
00284
CMLutParamPtr lutParam );
00285
CMError LHCalc4to3_Di8_Do16_Lut8_G8_LO (
CMCalcParamPtr calcParam,
00286
CMLutParamPtr lutParam );
00287
CMError LHCalc4to3_Di16_Do16_Lut8_G8_LO (
CMCalcParamPtr calcParam,
00288
CMLutParamPtr lutParam );
00289
00290
CMError LHCalc4to3_Di8_Do8_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00291
CMLutParamPtr lutParam );
00292
CMError LHCalc4to3_Di16_Do8_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00293
CMLutParamPtr lutParam );
00294
CMError LHCalc4to3_Di8_Do16_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00295
CMLutParamPtr lutParam );
00296
CMError LHCalc4to3_Di16_Do16_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00297
CMLutParamPtr lutParam );
00298
00299
00300
CMError LHCalc4to3_Di8_Do8_Lut16_G8_LO (
CMCalcParamPtr calcParam,
00301
CMLutParamPtr lutParam );
00302
CMError LHCalc4to3_Di16_Do8_Lut16_G8_LO (
CMCalcParamPtr calcParam,
00303
CMLutParamPtr lutParam );
00304
CMError LHCalc4to3_Di8_Do16_Lut16_G8_LO (
CMCalcParamPtr calcParam,
00305
CMLutParamPtr lutParam );
00306
CMError LHCalc4to3_Di16_Do16_Lut16_G8_LO (
CMCalcParamPtr calcParam,
00307
CMLutParamPtr lutParam );
00308
00309
CMError LHCalc4to3_Di8_Do8_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00310
CMLutParamPtr lutParam );
00311
CMError LHCalc4to3_Di16_Do8_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00312
CMLutParamPtr lutParam );
00313
CMError LHCalc4to3_Di8_Do16_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00314
CMLutParamPtr lutParam );
00315
CMError LHCalc4to3_Di16_Do16_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00316
CMLutParamPtr lutParam );
00317
00318
00319
00320
00321
00322
CMError LHCalc4to4_Di8_Do8_Lut8_G8_LO (
CMCalcParamPtr calcParam,
00323
CMLutParamPtr lutParam );
00324
CMError LHCalc4to4_Di16_Do8_Lut8_G8_LO (
CMCalcParamPtr calcParam,
00325
CMLutParamPtr lutParam );
00326
CMError LHCalc4to4_Di8_Do16_Lut8_G8_LO (
CMCalcParamPtr calcParam,
00327
CMLutParamPtr lutParam );
00328
CMError LHCalc4to4_Di16_Do16_Lut8_G8_LO (
CMCalcParamPtr calcParam,
00329
CMLutParamPtr lutParam );
00330
00331
CMError LHCalc4to4_Di8_Do8_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00332
CMLutParamPtr lutParam );
00333
CMError LHCalc4to4_Di16_Do8_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00334
CMLutParamPtr lutParam );
00335
CMError LHCalc4to4_Di8_Do16_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00336
CMLutParamPtr lutParam );
00337
CMError LHCalc4to4_Di16_Do16_Lut8_G16_LO (
CMCalcParamPtr calcParam,
00338
CMLutParamPtr lutParam );
00339
00340
00341
CMError LHCalc4to4_Di8_Do8_Lut16_G8_LO (
CMCalcParamPtr calcParam,
00342
CMLutParamPtr lutParam );
00343
CMError LHCalc4to4_Di16_Do8_Lut16_G8_LO (
CMCalcParamPtr calcParam,
00344
CMLutParamPtr lutParam );
00345
CMError LHCalc4to4_Di8_Do16_Lut16_G8_LO (
CMCalcParamPtr calcParam,
00346
CMLutParamPtr lutParam );
00347
CMError LHCalc4to4_Di16_Do16_Lut16_G8_LO (
CMCalcParamPtr calcParam,
00348
CMLutParamPtr lutParam );
00349
00350
CMError LHCalc4to4_Di8_Do8_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00351
CMLutParamPtr lutParam );
00352
CMError LHCalc4to4_Di16_Do8_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00353
CMLutParamPtr lutParam );
00354
CMError LHCalc4to4_Di8_Do16_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00355
CMLutParamPtr lutParam );
00356
CMError LHCalc4to4_Di16_Do16_Lut16_G16_LO (
CMCalcParamPtr calcParam,
00357
CMLutParamPtr lutParam );
00358
00359
00360
00361
00362
#if LH_CALC_USE_ADDITIONAL_OLD_CODE
00363
CMError LHCalc3to3_Di8_Do8_Lut8_G16_Old (
CMCalcParamPtr calcParam,
00364
CMLutParamPtr lutParam );
00365
CMError LHCalc3to3_Di8_Do8_Lut8_G32_Old (
CMCalcParamPtr calcParam,
00366
CMLutParamPtr lutParam );
00367
CMError LHCalc3to4_Di8_Do8_Lut8_G16_Old (
CMCalcParamPtr calcParam,
00368
CMLutParamPtr lutParam );
00369
CMError LHCalc3to4_Di8_Do8_Lut8_G32_Old (
CMCalcParamPtr calcParam,
00370
CMLutParamPtr lutParam );
00371
#endif
00372
#if LH_CALC_USE_ADDITIONAL_OLD_CODE_4DIM
00373
CMError LHCalc4to3_Di8_Do8_Lut8_G8_Old (
CMCalcParamPtr calcParam,
00374
CMLutParamPtr lutParam );
00375
CMError LHCalc4to3_Di8_Do8_Lut8_G16_Old (
CMCalcParamPtr calcParam,
00376
CMLutParamPtr lutParam );
00377
CMError LHCalc4to4_Di8_Do8_Lut8_G8_Old (
CMCalcParamPtr calcParam,
00378
CMLutParamPtr lutParam );
00379
CMError LHCalc4to4_Di8_Do8_Lut8_G16_Old (
CMCalcParamPtr calcParam,
00380
CMLutParamPtr lutParam );
00381
#endif
00382
#endif
Generated on Sat May 15 19:39:19 2004 for test by
1.3.7