| 47 | delete mInside; |
| 48 | } |
| 49 | ImageProcess::ImageProcess(const Config& config) { |
| 50 | mInside = new Inside; |
| 51 | mInside->config = config; |
| 52 | registerBackend(); |
| 53 | auto coreFunctions = MNNGetCoreFunctions(); |
| 54 | mInside->proc.reset(new ImageProcessUtils(config, coreFunctions)); |
| 55 | } |
| 56 | |
| 57 | ImageProcess* ImageProcess::create(const Config& config, const Tensor* dstTensor) { |
| 58 | // TODO Get dstTensor' backend |
nothing calls this directly
no test coverage detected