mirror of
https://github.com/opencv/opencv.git
synced 2025-06-10 11:03:03 +08:00
Fixed HAL invocation for DCT.
This commit is contained in:
parent
afb91b552e
commit
7945f2cf40
@ -4363,7 +4363,7 @@ struct ReplacementDCT2D : public hal::DCT2D
|
|||||||
ReplacementDCT2D() : context(0), isInitialized(false) {}
|
ReplacementDCT2D() : context(0), isInitialized(false) {}
|
||||||
bool init(int width, int height, int depth, int flags)
|
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);
|
isInitialized = (res == CV_HAL_ERROR_OK);
|
||||||
return isInitialized;
|
return isInitialized;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user