We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
We are observing the following issue. If create a resizer using bilinear algorithm but for an image where height is 1 an assertion will be raised. https://github.com/ermig1979/Simd/blob/master/src/Simd/SimdAvx2Resizer.cpp#L38
namespace Simd { #ifdef SIMD_AVX2_ENABLE namespace Avx2 { void * ResizerInit(size_t srcX, size_t srcY, size_t dstX, size_t dstY, size_t channels, SimdResizeChannelType type, SimdResizeMethodType **method**) { ResParam param(srcX, srcY, dstX, dstY, channels, type, method, sizeof(__m256i)); **if (param.IsNearest() && dstX >= F)** return new ResizerNearest(param);
Nearest Neighbor algorithm will be selected but the method is bilinear was set by user and saved into param structure.
After that an assertion will be raised:
Simd/src/Simd/SimdBaseResizerNearest.cpp
Line 67 in d2eae69
The text was updated successfully, but these errors were encountered:
Thank for bug report! I fixed this bug.
Sorry, something went wrong.
No branches or pull requests
Hi,
We are observing the following issue.
If create a resizer using bilinear algorithm but for an image where height is 1 an assertion will be raised.
https://github.com/ermig1979/Simd/blob/master/src/Simd/SimdAvx2Resizer.cpp#L38
Nearest Neighbor algorithm will be selected but the method is bilinear was set by user and saved into param structure.
After that an assertion will be raised:
Simd/src/Simd/SimdBaseResizerNearest.cpp
Line 67 in d2eae69
The text was updated successfully, but these errors were encountered: