Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Da64multienc.c56 int mc_luma_vals[5]; member
125 if(i < c->mc_pal_size -1 && a == c->mc_luma_vals[i + 1]) { in render_charset()
126 distance = c->mc_luma_vals[i + 1] - c->mc_luma_vals[i]; in render_charset()
128 dither[c->mc_luma_vals[i] + b] = b * (DITHERSTEPS - 1) / distance; in render_charset()
148 highdiff += pix - c->mc_luma_vals[3]; in render_charset()
150 lowdiff += c->mc_luma_vals[1] - pix; in render_charset()
180 best_cb[x] = FFMIN(c->mc_luma_vals[3], best_cb[x]); in render_charset()
183 best_cb[x] = FFMAX(c->mc_luma_vals[1], best_cb[x]); in render_charset()
231 c->mc_luma_vals[a]=a64_palette[mc_colors[a]][0] * 0.30 + in a64multi_encode_init()