MCPcopy Create free account
hub / github.com/Tencent/tgfx / GetPaddingAlignment16

Function GetPaddingAlignment16

src/core/ImageCodec.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43namespace tgfx {
44
45static size_t GetPaddingAlignment16(size_t size) {
46 auto remainder = size & 0xF;
47 return (16 - remainder) & 0xF;
48}
49
50std::shared_ptr<ImageCodec> ImageCodec::MakeFrom(const std::string& filePath) {
51 static WeakMap<std::string, ImageCodec> imageCodecMap = {};

Callers 1

readPixelsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected