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

Function lodepng_add32bitInt

samples/shared/lodepng.cpp:353–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351
352#ifdef LODEPNG_COMPILE_ENCODER
353static void lodepng_add32bitInt(ucvector* buffer, unsigned value)
354{
355 ucvector_resize(buffer, buffer->size + 4); /*todo: give error if resize failed*/
356 lodepng_set32bitInt(&buffer->data[buffer->size - 4], value);
357}
358#endif /*LODEPNG_COMPILE_ENCODER*/
359
360/* ////////////////////////////////////////////////////////////////////////// */

Callers 3

lodepng_zlib_compressFunction · 0.85
addChunk_IHDRFunction · 0.85
addChunk_pHYsFunction · 0.85

Calls 2

ucvector_resizeFunction · 0.85
lodepng_set32bitIntFunction · 0.85

Tested by

no test coverage detected