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

Function lodepng_encoder_settings_init

samples/shared/lodepng.cpp:5753–5765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5751#endif /*LODEPNG_COMPILE_DISK*/
5752
5753void lodepng_encoder_settings_init(LodePNGEncoderSettings* settings)
5754{
5755 lodepng_compress_settings_init(&settings->zlibsettings);
5756 settings->filter_palette_zero = 1;
5757 settings->filter_strategy = LFS_MINSUM;
5758 settings->auto_convert = 1;
5759 settings->force_palette = 0;
5760 settings->predefined_filters = 0;
5761#ifdef LODEPNG_COMPILE_ANCILLARY_CHUNKS
5762 settings->add_id = 0;
5763 settings->text_compression = 1;
5764#endif /*LODEPNG_COMPILE_ANCILLARY_CHUNKS*/
5765}
5766
5767#endif /*LODEPNG_COMPILE_ENCODER*/
5768#endif /*LODEPNG_COMPILE_PNG*/

Callers 1

lodepng_state_initFunction · 0.85

Calls 1

Tested by

no test coverage detected