diff options
author | Brijeshcr | 2017-08-18 16:29:50 +0530 |
---|---|---|
committer | Brijeshcr | 2017-08-18 16:29:50 +0530 |
commit | a210606cd1e59d66c621b0444d6c14927c71b381 (patch) | |
tree | 31174b8d67faef5fab07d3d0e0e852ee0423ba5e /src/c/graphics/transforms/interfaces | |
parent | 4bc007e5b44a13b582b0275bf7fc6693942ba2ac (diff) | |
download | scilab2c-a210606cd1e59d66c621b0444d6c14927c71b381.tar.gz scilab2c-a210606cd1e59d66c621b0444d6c14927c71b381.tar.bz2 scilab2c-a210606cd1e59d66c621b0444d6c14927c71b381.zip |
Scaling and Log2 added
Diffstat (limited to 'src/c/graphics/transforms/interfaces')
-rw-r--r-- | src/c/graphics/transforms/interfaces/int_scaling.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/c/graphics/transforms/interfaces/int_scaling.h b/src/c/graphics/transforms/interfaces/int_scaling.h new file mode 100644 index 00000000..61cb5ab8 --- /dev/null +++ b/src/c/graphics/transforms/interfaces/int_scaling.h @@ -0,0 +1,35 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Brijesh Gupta C R + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in + */ +#ifndef __INT_SCALING_H__ +#define __INT_SCALING_H__ + +#ifdef __cplusplus +extern "C" { +#endif + + + +#define d2d0d2scalingd2(in1, size1, in2, in3, size2, out) dscalinga(in1, size1[0], size1[1], in2, in3, size2[0]*size2[1], out) +#define s2s0s2scalings2(in1, size1, in2, in3, size2, out) sscalinga(in1, size1[0], size1[1], in2, in3, size2[0]*size2[1], out) +#define s2d0s2scalings2(in1, size1, in2, in3, size2, out) sscalinga(in1, size1[0], size1[1], in2, in3, size2[0]*size2[1], out) +#define z2z0z2scalingz2(in1, size1, in2, in3, size2, out) zscalinga(in1, size1[0], size1[1], in2, in3, size2[0]*size2[1], out) +#define z2d0d2scalingz2(in1, size1, in2, in3, size2, out) zscalinga(in1, size1[0], size1[1], in2, in3, size2[0]*size2[1], out) +#define z2z0d2scalingz2(in1, size1, in2, in3, size2, out) zscalinga(in1, size1[0], size1[1], in2, in3, size2[0]*size2[1], out) +#define z2d0z2scalingz2(in1, size1, in2, in3, size2, out) zscalinga(in1, size1[0], size1[1], in2, in3, size2[0]*size2[1], out) + + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__INT_SCALING_H__*/ |