mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
fix statckblur big kernel case
This commit is contained in:
parent
2a2ff55257
commit
22de887c00
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user