opencv/modules/imgproc/src
Paul Murphy 1c4a64f0a1 Merge pull request #16138 from pmur:reg_16137
* imgproc: Prevent 1B overrun of 8C3 SIMD optimization

The fourth value read via v_load_q is essentially ignored,
but can cause trouble if it happens to cross page boundaries.

The final few iterations may attempt to read the most extreme
elements of S, which will read 1B beyond the array in most
aligment cases. Dynamically compute the stop. This could be
hoised from the loop, but will require a more extensive change.

Likewise, cleanup the iteration increment statements to make
it more obvious they do channel count (3) elements per pass.

This should resolve #16137

* imgproc(resize): extra check
2019-12-12 13:00:44 +03:00
..
opencl Merge pull request #13379 from savuor:color_5x5 2018-12-14 17:01:01 +03:00
_geom.h
accum.cpp refactoring catching all exceptions as const ref 2018-11-08 19:59:47 +03:00
accum.dispatch.cpp
accum.simd.hpp Merge pull request #15527 from everton1984:faster_acc 2019-10-11 18:32:59 +03:00
approx.cpp Merge pull request #16094 from saskatchewancatch:issue-16053 2019-12-09 22:24:35 +03:00
bilateral_filter.dispatch.cpp imgproc: dispatch bilateral_filter 2019-03-11 13:54:12 +00:00
bilateral_filter.simd.hpp imgproc: dispatch bilateral_filter 2019-03-11 13:54:12 +00:00
blend.cpp blendLinear() reworked to use wide universal intrinsics 2019-01-25 14:16:20 +03:00
box_filter.dispatch.cpp Restored IPP call reduction 2019-07-31 15:41:22 +03:00
box_filter.simd.hpp imgproc: dispatch box_filter 2019-03-11 13:54:12 +00:00
canny.cpp Merge pull request #14916 from terfendail:wsignmask_deprecated 2019-07-01 19:53:51 +03:00
clahe.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
color_hsv.dispatch.cpp imgproc: dispatch color* 2019-03-07 15:45:05 +03:00
color_hsv.simd.hpp rgb2hls_b: out of bounds read fixed 2019-05-27 16:19:52 +03:00
color_lab.cpp out of bounds read fixed in rgb2luv_b 2019-05-27 16:19:01 +03:00
color_rgb.dispatch.cpp imgproc: dispatch color* 2019-03-07 15:45:05 +03:00
color_rgb.simd.hpp imgproc: dispatch color* 2019-03-07 15:45:05 +03:00
color_yuv.dispatch.cpp imgproc: dispatch color* 2019-03-07 15:45:05 +03:00
color_yuv.simd.hpp imgproc: dispatch color* 2019-03-07 15:45:05 +03:00
color.cpp imgproc: dispatch color* 2019-03-07 15:45:05 +03:00
color.hpp imgproc(color): clarify error message 2019-12-06 13:25:51 +03:00
color.simd_helpers.hpp imgproc: dispatch color* 2019-03-07 15:45:05 +03:00
colormap.cpp Merge pull request #15388 from atinfinity:impl-turbo-colormap 2019-08-26 17:55:10 +03:00
connectedcomponents.cpp imgproc: avoid manual memory allocation in connectedcomponents.cpp 2019-09-05 16:20:08 +03:00
contours.cpp Merge pull request #14916 from terfendail:wsignmask_deprecated 2019-07-01 19:53:51 +03:00
convhull.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
corner.avx.cpp build: fix build with ICC 2019-08-23 16:36:32 +03:00
corner.cpp Restored IPP call reduction 2019-07-31 15:41:22 +03:00
corner.hpp
cornersubpix.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
demosaicing.cpp Convert demosiacing with variable number of gradients to HAL - 5.5x faster 2019-11-15 07:42:03 -06:00
deriv.cpp Restored IPP call reduction 2019-07-31 15:41:22 +03:00
distransform.cpp imgproc(IPP): disable ippiDistanceTransform_3x3_8u32f_C1R 2019-11-13 14:14:19 +03:00
drawing.cpp change area() emptiness checks to empty() 2018-10-13 21:35:10 +02:00
emd.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
featureselect.cpp refactoring catching all exceptions as const ref 2018-11-08 19:59:47 +03:00
filter.dispatch.cpp imgproc: fix bit-exact GaussianBlur() / sepFilter2D() (#15855) 2019-11-18 01:39:27 +03:00
filter.hpp imgproc: get rid of filter.avx2.cpp 2019-03-11 13:54:12 +00:00
filter.simd.hpp imgproc: fix unaligned memory access 2019-07-11 20:49:47 +00:00
filterengine.hpp Merge pull request #14936 from StefanBruens:crosscorr_cleanup 2019-06-30 19:04:25 +03:00
fixedpoint.inl.hpp imgproc: fix bit-exact GaussianBlur() / sepFilter2D() (#15855) 2019-11-18 01:39:27 +03:00
floodfill.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
gabor.cpp
gcgraph.hpp
generalized_hough.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
geometry.cpp imgproc: fixed bug from intersectConvexConvex 2019-05-01 11:06:30 +02:00
grabcut.cpp imgproc: fix kmeans() call from grabCut() 2019-06-25 13:42:04 +03:00
hal_replacement.hpp
hershey_fonts.cpp
histogram.cpp imgproc: add parameter checks in calcHist and calcBackProj 2019-12-10 16:10:19 +03:00
hough.cpp Fix modules/ typos 2019-08-16 17:34:29 +03:00
imgwarp.avx2.cpp
imgwarp.cpp Merge pull request #15358 from ChipKerchner:imgwarpToHal 2019-08-31 13:47:58 +03:00
imgwarp.hpp Merge pull request #15358 from ChipKerchner:imgwarpToHal 2019-08-31 13:47:58 +03:00
imgwarp.sse4_1.cpp
intersection.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
linefit.cpp imgproc: fix fitLine() implementation 2019-10-03 21:23:52 +00:00
lsd.cpp imgproc: removed LSD code due original code license conflict 2019-03-01 16:25:39 +03:00
main.cpp
matchcontours.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
median_blur.dispatch.cpp Restored IPP call reduction 2019-07-31 15:41:22 +03:00
median_blur.simd.hpp imgproc: dispatch medianBlur 2019-03-11 13:54:12 +00:00
min_enclosing_triangle.cpp
moments.cpp Merge pull request #15828 from ChipKerchner:momentsToHal 2019-11-05 18:52:35 +03:00
morph.dispatch.cpp Fix modules/ typos 2019-08-16 17:34:29 +03:00
morph.simd.hpp imgproc: dispatch morph 2019-03-11 13:54:12 +00:00
phasecorr.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
precomp.hpp
pyramids.cpp Merge pull request #15799 from Cpitis:feature/parallelization 2019-10-31 23:38:49 +03:00
resize.avx2.cpp
resize.cpp Merge pull request #16138 from pmur:reg_16137 2019-12-12 13:00:44 +03:00
resize.hpp
resize.sse4_1.cpp
rotcalipers.cpp Fix modules/ typos 2019-08-16 17:34:29 +03:00
samplers.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
segmentation.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
shapedescr.cpp boundingRect() reworked to use wide universal intrinsics 2019-01-18 18:31:54 +03:00
smooth.dispatch.cpp imgproc: fix bit-exact GaussianBlur() / sepFilter2D() (#15855) 2019-11-18 01:39:27 +03:00
smooth.simd.hpp Fix pixel value evaluation overflow in bit-exact GaussianBlur implementation 2019-07-12 18:11:51 +03:00
spatialgradient.cpp Merge pull request #13693 from terfendail:spatialgrad_wintr 2019-01-30 22:37:27 +03:00
subdivision2d.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
sumpixels.avx512_skx.cpp core: eliminate AVX512 build warnings 2019-06-20 20:00:09 +03:00
sumpixels.cpp Merge pull request #15494 from everton1984:hal_vector_get_n 2019-11-20 13:41:07 +03:00
sumpixels.hpp Implementing AVX512 support for 3 channel cv::integral for CV_64F 2019-01-14 16:11:01 -08:00
tables.cpp
templmatch.cpp Merge pull request #14936 from StefanBruens:crosscorr_cleanup 2019-06-30 19:04:25 +03:00
thresh.cpp Merge pull request #16085 from alalek:imgproc_threshold_to_zero_ipp_bug 2019-12-09 14:51:02 +03:00
undistort.dispatch.cpp Merge pull request #14994 from terfendail:wintr_undistort 2019-07-18 19:32:51 +03:00
undistort.simd.hpp Fixed universal intrinsic undistort() implementation 2019-09-16 17:16:38 +03:00
utils.cpp