Searched refs:pop_size (Results 1 – 1 of 1) sorted by relevance
/packages/apps/Gallery2/jni/filters/ |
D | kmeans.h | 123 inline int findClosest(T values[], T oldCenters[], int dimension, int stride, int pop_size) { in findClosest() argument 127 for (y = stride; y < pop_size; y+=stride) { in findClosest() 143 int x, pop_size; in calculateNewCentroids() local 144 pop_size = k * stride; in calculateNewCentroids() 146 N tmp[pop_size]; in calculateNewCentroids() 151 for (x = 0; x < pop_size; x++) { in calculateNewCentroids() 157 int best = findClosest<T, N>(values + x, oldCenters, dimension, stride, pop_size); in calculateNewCentroids() 166 for (x = 0; x < pop_size; x+=stride) { in calculateNewCentroids() 224 int x, pop_size; in applyCentroids() local 225 pop_size = k * stride; in applyCentroids() [all …]
|