Merge pull request #25293 from asmorkalov:as/dct_hal_fix

Fixed HAL invocation for DCT.
This commit is contained in:
Alexander Smorkalov 2024-03-30 11:03:58 +03:00 committed by GitHub
commit 95ffabffdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4363,7 +4363,7 @@ struct ReplacementDCT2D : public hal::DCT2D
ReplacementDCT2D() : context(0), isInitialized(false) {}
bool init(int width, int height, int depth, int flags)
{
int res = hal_ni_dctInit2D(&context, width, height, depth, flags);
int res = cv_hal_dctInit2D(&context, width, height, depth, flags);
isInitialized = (res == CV_HAL_ERROR_OK);
return isInitialized;
}