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

Method execFunc

source/cv/ImageProcessUtils.cpp:517–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517ErrorCode ImageProcessUtils::execFunc(const uint8_t *source, int stride, void *dest) {
518 uint8_t sampleDest[4 * CACHE_SIZE];
519 uint8_t blitDest[4 * CACHE_SIZE];
520 int destBytes = mInside->mDtype.bytes();
521 int tileCount = UP_DIV(mInside->ow, CACHE_SIZE);
522 if (mInside->mDraw) {
523 tileCount = 1;
524 }
525
526 return transformImage(source, (uint8_t*)dest, sampleDest, blitDest, tileCount, destBytes, nullptr);
527}
528
529void ImageProcessUtils::setDraw() {
530 if (mInside) {

Callers 2

convertMethod · 0.80
onExecuteMethod · 0.80

Calls 1

bytesMethod · 0.45

Tested by

no test coverage detected