Searched refs:distance_limited (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | elbg.c | 61 static inline int distance_limited(int *a, int *b, int dim, int limit) in distance_limited() function 88 … error += distance_limited(centroid, elbg->points + cells->index*elbg->dim, elbg->dim, INT_MAX); in eval_error_cell() 98 …diff = distance_limited(elbg->codebook + i*elbg->dim, elbg->codebook + index*elbg->dim, elbg->dim,… in get_closest_codebook() 153 idx = distance_limited(centroid[0], points + tempcell->index*dim, dim, INT_MAX)>= in simple_lbg() 154 distance_limited(centroid[1], points + tempcell->index*dim, dim, INT_MAX); in simple_lbg() 164 int dist[2] = {distance_limited(centroid[0], points + tempcell->index*dim, dim, INT_MAX), in simple_lbg() 165 distance_limited(centroid[1], points + tempcell->index*dim, dim, INT_MAX)}; in simple_lbg() 226 int idx = distance_limited(elbg->points + tempdata->index*elbg->dim, in shift_codebook() 228 distance_limited(elbg->points + tempdata->index*elbg->dim, in shift_codebook() 416 …best_dist = distance_limited(elbg->points + i*elbg->dim, elbg->codebook + best_idx*elbg->dim, dim,… in avpriv_do_elbg() [all …]
|