mirror of https://github.com/opencv/opencv.git
Fix for SSE2 intrinsics problem in the part of saturation arithmetic processing during 32s->16u packed conversion -
for some big negative values less than -INT_MAX+32767 the sign of the numbers is lost due to overflow that leads to incorrect saturation to MAX value, instead of zero. The issue is not reproduced with CV_ENABLED_INTRINSICS=OFFpull/12121/head
parent
9433784e47
commit
3ea2586a5a
2 changed files with 9 additions and 4 deletions
Loading…
Reference in new issue