MCPcopy Create free account
hub / github.com/alibaba/MNN / CPUImageProcess

Method CPUImageProcess

source/backend/cpu/CPUImageProcess.hpp:21–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19class CPUImageProcess : public Execution {
20public:
21 CPUImageProcess(const CV::ImageProcess::Config& config, const CoreFunctions* coreFunctions) : Execution(nullptr), coreFunctions(coreFunctions) {
22 mImgConfig.filterType = config.filterType;
23 mImgConfig.wrap = config.wrap;
24 mImgConfig.sourceFormat = config.sourceFormat;
25 mImgConfig.destFormat = config.destFormat;
26 for (int i = 0; i < 4; i++) {
27 mImgConfig.mean[i] = config.mean[i];
28 mImgConfig.normal[i] = config.normal[i];
29 }
30 }
31 void setMatrix(CV::Matrix m) {
32 transform = m;
33 transform.invert(&transformInvert);

Callers

nothing calls this directly

Calls 8

backendFunction · 0.85
functionsMethod · 0.80
meanMethod · 0.80
drawMethod · 0.45
GetMethod · 0.45
sizeMethod · 0.45
setMethod · 0.45
invertMethod · 0.45

Tested by

no test coverage detected