MCPcopy Create free account
hub / github.com/assaultcube/AC / loopirev

Function loopirev

source/src/main.cpp:412–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410 int crop_w = height ? ((dst_w - img_w) / 2) * 3 : 0;
411 int crop_h = height ? (dst_h - img_h) / 2 : 0;
412 loopirev(img_h)
413 { // flip image
414 memcpy(dst, &tmpdst[tmpdstpitch * (i + crop_h) + crop_w], image->pitch);
415 dst += image->pitch;
416 }
417 }
418 entropy_add_block(tmpdst, tmpdstsize);
419 delete[] tmpdst;

Callers 7

loadMethod · 0.70
trypreloadMethod · 0.70
loopvjFunction · 0.70
mapmodelregister_Function · 0.70
rendermodel.cppFile · 0.70
passphrase2keyFunction · 0.70
flagdroppedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected