DYT/Tool/matlab/include/libmwintlut.h

38 lines
1.1 KiB
C
Raw Permalink Normal View History

2024-11-22 15:19:31 +00:00
/* Copyright 2014 The MathWorks, Inc. */
#ifndef _INTLUT_H_
#define _INTLUT_H_
#ifndef EXTERN_C
# ifdef __cplusplus
# define EXTERN_C extern "C"
# else
# define EXTERN_C extern
# endif
#endif
#ifndef LIBMWINTLUT_API
# define LIBMWINTLUT_API
#endif
#ifdef MATLAB_MEX_FILE
#include "tmwtypes.h"
#else
#include "rtwtypes.h"
#endif
EXTERN_C LIBMWINTLUT_API void intlut_uint8(const uint8_T *A, const real64_T *dimsA, const real64_T numDimsA,
const uint8_T *LUT, const real64_T numLUT,
uint8_T *B);
EXTERN_C LIBMWINTLUT_API void intlut_uint16(const uint16_T *A, const real64_T *dimsA, const real64_T numDimsA,
const uint16_T *LUT, const real64_T numLUT,
uint16_T *B);
EXTERN_C LIBMWINTLUT_API void intlut_int16(const int16_T *A, const real64_T *dimsA, const real64_T numDimsA,
const int16_T *LUT, const real64_T numLUT,
int16_T *B);
#endif /* _INTLUT_H_ */