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

Function lodepng_color_profile_init

samples/shared/lodepng.cpp:3473–3481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3471#ifdef LODEPNG_COMPILE_ENCODER
3472
3473void lodepng_color_profile_init(LodePNGColorProfile* profile)
3474{
3475 profile->colored = 0;
3476 profile->key = 0;
3477 profile->alpha = 0;
3478 profile->key_r = profile->key_g = profile->key_b = 0;
3479 profile->numcolors = 0;
3480 profile->bits = 1;
3481}
3482
3483/*function used for debug purposes with C++*/
3484/*void printColorProfile(LodePNGColorProfile* p)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected