Searched refs:distance_limited (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | elbg.c | 74 static inline int distance_limited(int *a, int *b, int dim, int limit) in distance_limited() function 101 … error += distance_limited(centroid, elbg->points + cells->index*elbg->dim, elbg->dim, INT_MAX); in eval_error_cell() 112 …diff = distance_limited(elbg->codebook + i*elbg->dim, elbg->codebook + index*elbg->dim, elbg->dim,… in get_closest_codebook() 167 idx = distance_limited(centroid[0], points + tempcell->index*dim, dim, INT_MAX)>= in simple_lbg() 168 distance_limited(centroid[1], points + tempcell->index*dim, dim, INT_MAX); in simple_lbg() 178 int dist[2] = {distance_limited(centroid[0], points + tempcell->index*dim, dim, INT_MAX), in simple_lbg() 179 distance_limited(centroid[1], points + tempcell->index*dim, dim, INT_MAX)}; in simple_lbg() 240 int idx = distance_limited(elbg->points + tempdata->index*elbg->dim, in shift_codebook() 242 distance_limited(elbg->points + tempdata->index*elbg->dim, in shift_codebook() 372 int best_dist = distance_limited(elbg->points + i * elbg->dim, in do_elbg() [all …]
|