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

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
+1 -1
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;
}