Searched refs:tempcell (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | elbg.c | 159 cell *tempcell; in simple_lbg() local 166 for (tempcell = cells; tempcell; tempcell=tempcell->next) { in simple_lbg() 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() 171 newcentroid[idx][i] += points[tempcell->index*dim + i]; in simple_lbg() 177 for (tempcell = cells; tempcell; tempcell=tempcell->next) { 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() 190 cell *tempcell; in get_new_centroids() local 200 for (tempcell = elbg->cells[huc]; tempcell; tempcell = tempcell->next) in get_new_centroids() [all …]
|