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

Method postScale

source/cv/Matrix_CV.cpp:216–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void Matrix::postScale(float sx, float sy, float px, float py) {
217 if (1 == sx && 1 == sy) {
218 return;
219 }
220 Matrix m;
221 m.setScale(sx, sy, px, py);
222 this->postConcat(m);
223}
224
225void Matrix::postScale(float sx, float sy) {
226 if (1 == sx && 1 == sy) {

Callers 15

doInBackgroundMethod · 0.95
runMethod · 0.95
onPreviewFrameMethod · 0.95
drawBitmapMethod · 0.95
getRotationMatrix2DFunction · 0.80
resizeFunction · 0.80
mainFunction · 0.80
compressImageFileMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 2

postConcatMethod · 0.95
setScaleMethod · 0.80

Tested by 10

mainFunction · 0.64
runMethod · 0.64
runMethod · 0.64
runMethod · 0.64
runMethod · 0.64
funcToColorResizeFunction · 0.64
runMethod · 0.64
runMethod · 0.64
runMethod · 0.64
runMethod · 0.64