]> git.pld-linux.org Git - packages/framewave.git/blob - framewave-templates.patch
- enhanced c++ (cover also static_assert keyword, conflicting template arguments...
[packages/framewave.git] / framewave-templates.patch
1 --- FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/ResizeShift.cpp.orig       2009-07-09 11:15:33.000000000 +0200
2 +++ FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/ResizeShift.cpp    2016-01-26 18:11:53.844974171 +0100
3 @@ -75,6 +75,10 @@
4                 return fwStsNoErr;
5         }
6  
7 +       template
8 +       FwStatus My_FW_ParaCheck<Fw8u>(const Fw8u*pSrc, FwiSize srcSize, int srcStep, FwiRect srcRoi,
9 +               Fw8u*pDst, int dstStep, FwiSize dstRoiSize, int channel);
10 +
11         template< class TS, CH chSrc, DispatchType disp >
12         extern FwStatus My_FW_Resize(const TS *pSrc, int srcStep, FwiRect srcRoi,       
13                 TS*pDst, int dstStep, FwiSize dstRoiSize,
14 --- FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/WarpAffine.cpp.orig        2009-07-09 11:15:34.000000000 +0200
15 +++ FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/WarpAffine.cpp     2016-01-26 18:12:25.553290744 +0100
16 @@ -69,6 +69,16 @@
17                 return fwStsNoErr;
18         }
19  
20 +       template
21 +       FwStatus My_FW_ParaCheck2<Fw8u>(const Fw8u* pSrc, FwiSize srcSize, int srcStep, 
22 +               FwiRect srcRoi, Fw8u* pDst, int dstStep, 
23 +               FwiRect dstRoi, int channel);
24 +
25 +       template
26 +       FwStatus My_FW_ParaCheck2<Fw16u>(const Fw16u* pSrc, FwiSize srcSize, int srcStep, 
27 +               FwiRect srcRoi, Fw16u* pDst, int dstStep, 
28 +               FwiRect dstRoi, int channel);
29 +
30         //handle each point individually
31         template< class TS, DispatchType disp, int interpolation >
32         void My_FW_PointHandle(float xmap, float ymap, int x, int y,
This page took 0.058137 seconds and 3 git commands to generate.