]> git.pld-linux.org Git - packages/framewave.git/blame - framewave-opt.patch
- added opt patch (fixes build with more aggressive inlining, e.g. gcc 10); release 16
[packages/framewave.git] / framewave-opt.patch
CommitLineData
680106bd
JB
1--- FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/ResizeShift.cpp.orig 2020-08-21 23:27:33.944259671 +0200
2+++ FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/ResizeShift.cpp 2020-08-22 08:42:32.082811114 +0200
3@@ -79,6 +79,11 @@
4 FwStatus My_FW_ParaCheck<Fw8u>(const Fw8u*pSrc, FwiSize srcSize, int srcStep, FwiRect srcRoi,
5 Fw8u*pDst, int dstStep, FwiSize dstRoiSize, int channel);
6
7+ // explicit instantiation, so implementation code won't be optimized out
8+ template
9+ FwStatus My_FW_ParaCheck<float>(const float*pSrc, FwiSize srcSize, int srcStep, FwiRect srcRoi,
10+ float*pDst, int dstStep, FwiSize dstRoiSize, int channel);
11+
12 template< class TS, CH chSrc, DispatchType disp >
13 extern FwStatus My_FW_Resize(const TS *pSrc, int srcStep, FwiRect srcRoi,
14 TS*pDst, int dstStep, FwiSize dstRoiSize,
This page took 0.035875 seconds and 4 git commands to generate.