]> git.pld-linux.org Git - packages/framewave.git/blobdiff - framewave-opt.patch
- added opt patch (fixes build with more aggressive inlining, e.g. gcc 10); release 16
[packages/framewave.git] / framewave-opt.patch
diff --git a/framewave-opt.patch b/framewave-opt.patch
new file mode 100644 (file)
index 0000000..4ea7f1d
--- /dev/null
@@ -0,0 +1,14 @@
+--- FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/ResizeShift.cpp.orig      2020-08-21 23:27:33.944259671 +0200
++++ FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/ResizeShift.cpp   2020-08-22 08:42:32.082811114 +0200
+@@ -79,6 +79,11 @@
+       FwStatus My_FW_ParaCheck<Fw8u>(const Fw8u*pSrc, FwiSize srcSize, int srcStep, FwiRect srcRoi,
+               Fw8u*pDst, int dstStep, FwiSize dstRoiSize, int channel);
++      // explicit instantiation, so implementation code won't be optimized out
++      template
++      FwStatus My_FW_ParaCheck<float>(const float*pSrc, FwiSize srcSize, int srcStep, FwiRect srcRoi,
++              float*pDst, int dstStep, FwiSize dstRoiSize, int channel);
++
+       template< class TS, CH chSrc, DispatchType disp >
+       extern FwStatus My_FW_Resize(const TS *pSrc, int srcStep, FwiRect srcRoi,       
+               TS*pDst, int dstStep, FwiSize dstRoiSize,
This page took 0.029511 seconds and 4 git commands to generate.