mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Merge pull request #25293 from asmorkalov:as/dct_hal_fix
Fixed HAL invocation for DCT.
This commit is contained in:
commit
95ffabffdd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user