Searched refs:newcentroid (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | elbg.c | 155 int *newcentroid[2] = { in simple_lbg() local 161 memset(newcentroid[0], 0, 2 * dim * sizeof(*newcentroid[0])); in simple_lbg() 171 newcentroid[idx][i] += points[tempcell->index*dim + i]; in simple_lbg() 174 vect_division(centroid[0], newcentroid[0], numpoints[0], dim); in simple_lbg() 175 vect_division(centroid[1], newcentroid[1], numpoints[1], dim); in simple_lbg() 224 int *newcentroid[3]) in shift_codebook() 241 newcentroid[0], elbg->dim, INT_MAX) > in shift_codebook() 243 newcentroid[1], elbg->dim, INT_MAX); in shift_codebook() 284 int *newcentroid[3] = { in try_shift_candidate() local 294 memset(newcentroid[2], 0, elbg->dim*sizeof(int)); in try_shift_candidate() [all …]
|