Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dmediancut.c279 best_splittable_box (struct box *bv, unsigned int boxes, const double max_mse) in best_splittable_box() argument
295 if (bv[i].max_error > max_mse) { in best_splittable_box()
296 thissum = thissum * bv[i].max_error / max_mse; in best_splittable_box()
377 const double target_mse, const double max_mse, void *(*malloc) (size_t), in mediancut() argument
424 current_max_mse = max_mse + (boxes / (double) newcolors) * 16.0 * max_mse; in mediancut()
Dlibimagequant.c60 double target_mse, max_mse, voronoi_iteration_limit; member
272 attr->max_mse = quality_to_mse (minimum); in liq_set_quality()
281 return mse_to_quality (attr->max_mse); in liq_get_min_quality()
521 .target_mse = 0,.max_mse = MAX_DIFF,}; in liq_attr_create_with_allocator()
1751 const double max_mse, const f_pixel fixed_colors[], in find_best_palette() argument
1758 const double target_mse = MIN (max_mse, MAX (options->target_mse, in find_best_palette()
1875 …const double max_mse = options->max_mse * (few_input_colors ? 0.33 : 1.0); // when degrading imag… in pngquant_quantize() local
1880 find_best_palette (hist, options, max_mse, img->fixed_colors, in pngquant_quantize()
1886 if (!iterations && palette_error < 0 && max_mse < MAX_DIFF) in pngquant_quantize()
1912 if (palette_error > max_mse * 1.5) { // probably hopeless in pngquant_quantize()
[all …]
Dmediancut.h2 …paque_val, unsigned int newcolors, const double target_mse, const double max_mse, void* (*malloc)(…
/third_party/ffmpeg/libavfilter/
Dvf_psnr.c42 double mse, min_mse, max_mse, mse_comp[4]; member
206 s->max_mse = FFMAX(s->max_mse, mse); in do_psnr()
271 s->max_mse = -INFINITY; in init()
436 get_psnr(s->max_mse, 1, s->average_max), in uninit()