MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / writeSignature

Function writeSignature

dependency/densecrf/examples/lodepng.cpp:4869–4880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4867}
4868
4869static void writeSignature(ucvector* out)
4870{
4871 /*8 bytes PNG signature, aka the magic bytes*/
4872 ucvector_push_back(out, 137);
4873 ucvector_push_back(out, 80);
4874 ucvector_push_back(out, 78);
4875 ucvector_push_back(out, 71);
4876 ucvector_push_back(out, 13);
4877 ucvector_push_back(out, 10);
4878 ucvector_push_back(out, 26);
4879 ucvector_push_back(out, 10);
4880}
4881
4882static unsigned addChunk_IHDR(ucvector* out, unsigned w, unsigned h,
4883 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