MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / writeSignature

Function writeSignature

samples/shared/lodepng.cpp:4738–4749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4736}
4737
4738static void writeSignature(ucvector* out)
4739{
4740 /*8 bytes PNG signature, aka the magic bytes*/
4741 ucvector_push_back(out, 137);
4742 ucvector_push_back(out, 80);
4743 ucvector_push_back(out, 78);
4744 ucvector_push_back(out, 71);
4745 ucvector_push_back(out, 13);
4746 ucvector_push_back(out, 10);
4747 ucvector_push_back(out, 26);
4748 ucvector_push_back(out, 10);
4749}
4750
4751static unsigned addChunk_IHDR(ucvector* out, unsigned w, unsigned h,
4752 LodePNGColorType colortype, unsigned bitdepth, unsigned interlace_method)

Callers 1

lodepng_encodeFunction · 0.85

Calls 1

ucvector_push_backFunction · 0.85

Tested by

no test coverage detected