From de82d12658979cd70439f977742f80fac9f6521f Mon Sep 17 00:00:00 2001 From: Siddhesh Wani Date: Thu, 4 May 2017 16:15:18 +0530 Subject: Basic functions and image processing working with MSVC on windows x64 --- 2.3-1/src/c/elementaryFunctions/includes/bin2dec.h | 4 ++-- 2.3-1/src/c/elementaryFunctions/includes/get_float.h | 2 ++ 2.3-1/src/c/elementaryFunctions/includes/sec.h | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to '2.3-1/src/c/elementaryFunctions/includes') diff --git a/2.3-1/src/c/elementaryFunctions/includes/bin2dec.h b/2.3-1/src/c/elementaryFunctions/includes/bin2dec.h index 792e3689..ea1585f5 100644 --- a/2.3-1/src/c/elementaryFunctions/includes/bin2dec.h +++ b/2.3-1/src/c/elementaryFunctions/includes/bin2dec.h @@ -19,13 +19,13 @@ extern "C" { long double dbin2decs(long double in); int8 i8bin2decs(int8 in); -//int16 i16bin2decs(int16 in); +int16 i16bin2decs(int16 in); uint8 u8bin2decs(uint8 in); uint16 u16bin2decs(uint16 in); void dbin2deca(double* in,int size,double* out); void i8bin2deca(int8* in,int size,int8* out); -//void i16bin2deca(int16* in,int size,int16* out); +void i16bin2deca(int16* in,int size,int16* out); void u8bin2deca(uint8* in,int size,uint8* out); void u16bin2deca(uint16* in,int size,uint16* out); diff --git a/2.3-1/src/c/elementaryFunctions/includes/get_float.h b/2.3-1/src/c/elementaryFunctions/includes/get_float.h index 1ada71c9..285cb9c9 100644 --- a/2.3-1/src/c/elementaryFunctions/includes/get_float.h +++ b/2.3-1/src/c/elementaryFunctions/includes/get_float.h @@ -31,6 +31,8 @@ EXTERN_ELEMFUNCT float dfloats(double in); EXTERN_ELEMFUNCT float i8floats(int8 in); +EXTERN_ELEMFUNCT float u8floats(uint8 in); + EXTERN_ELEMFUNCT float u16floats(uint16 in); EXTERN_ELEMFUNCT float i16floats(int16 in); diff --git a/2.3-1/src/c/elementaryFunctions/includes/sec.h b/2.3-1/src/c/elementaryFunctions/includes/sec.h index 08120ed5..96061583 100644 --- a/2.3-1/src/c/elementaryFunctions/includes/sec.h +++ b/2.3-1/src/c/elementaryFunctions/includes/sec.h @@ -13,7 +13,7 @@ #define __SEC_H__ #include "dynlib_elementaryfunctions.h" #include "floatComplex.h" -//#include "doubleComplex.h" +#include "doubleComplex.h" #include #include "types.h" @@ -26,7 +26,7 @@ double dsecs(double in); void sseca(float* in,int size,float* out); float ssecs(float in); -void zsecs(double complex z); +doubleComplex zsecs(doubleComplex z); //void zseca(doubleComplex* in, int size,doubleComplex* out); floatComplex csecs(floatComplex z); void cseca(floatComplex* in, int size,floatComplex* out); -- cgit