Home
last modified time | relevance | path

Searched refs:base_dithering_level (Results 1 – 1 of 1) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dlibimagequant.c1267 const bool output_image_is_remapped, float base_dithering_level) in remap_to_palette_floyd() argument
1297 base_dithering_level = in remap_to_palette_floyd()
1298 1.0 - (1.0 - base_dithering_level) * (1.0 - base_dithering_level) * (1.0 - in remap_to_palette_floyd()
1299 base_dithering_level); in remap_to_palette_floyd()
1302 base_dithering_level *= 1.0 / 255.0; // convert byte to float in remap_to_palette_floyd()
1304 base_dithering_level *= 15.0 / 16.0; // prevent small errors from accumulating in remap_to_palette_floyd()
1316 float dither_level = base_dithering_level; in remap_to_palette_floyd()