| OpenCV 3.4.8 Open Source Computer Vision

cvhalDFT Struct Reference
Core functionality » Hardware Acceleration Layer » Interface

Dummy structure storing DFT/DCT context. More...

`#include </build/3_4-contrib_docs-lin64/opencv/modules/core/src/hal_replacement.hpp>`

## Detailed Description

Dummy structure storing DFT/DCT context.

Users can convert this pointer to any type they want. Initialisation and destruction should be made in Init and Free function implementations correspondingly. Example:

int my_hal_dftInit2D(cvhalDFT **context, ...) {
*context = static_cast<cvhalDFT*>(new MyFilterData());
//... init
}
int my_hal_dftFree2D(cvhalDFT *context) {
MyFilterData *c = static_cast<MyFilterData*>(context);
delete c;
}

The documentation for this struct was generated from the following file:

- core/src/hal_replacement.hpp