1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #25513 from zihaomu:fix_25498

fix statckblur big kernel case
This commit is contained in:
Alexander Smorkalov
2024-05-01 10:06:44 +03:00
committed by GitHub
+1 -1
View File
@@ -547,7 +547,7 @@ public:
}
else
{
size_t bufSize = CN * (width + radius) * sizeof(TBuf) + 2 * CN * sizeof(TBuf);
size_t bufSize = CN * (width + kernelSize) * sizeof(TBuf) + 2 * CN * sizeof(TBuf);
AutoBuffer<uchar> _buf(bufSize + 16);
uchar* bufptr = alignPtr(_buf.data(), 16);
TBuf* diffVal = (TBuf*)bufptr;