OpenCV: cvhalFilter2D Struct Reference

| OpenCV 3.4.2 Open Source Computer Vision

cvhalFilter2D Struct Reference
Image processing » Hardware Acceleration Layer » Interface

Dummy structure storing filtering context. More...

`#include "hal_replacement.hpp"`

## Detailed Description

Dummy structure storing filtering 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_filterInit(cvhalFilter2D **context, ...) {
context = static_cast<cvhalFilter2D*>(new MyFilterData());
//... init
}
int my_hal_filterFree(cvhalFilter2D *context) {
MyFilterData *c = static_cast<MyFilterData*>(context);
delete c;
}

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

- imgproc/src/hal_replacement.hpp