Searched refs:AV1_K_MEANS_DIM (Results 1 – 2 of 2) sorted by relevance
19 #ifndef AV1_K_MEANS_DIM24 #define RENAME(x) RENAME_(x, AV1_K_MEANS_DIM)28 for (int i = 0; i < AV1_K_MEANS_DIM; ++i) { in RENAME()38 int min_dist = RENAME(calc_dist)(data + i * AV1_K_MEANS_DIM, centroids); in RENAME()41 const int this_dist = RENAME(calc_dist)(data + i * AV1_K_MEANS_DIM, in RENAME()42 centroids + j * AV1_K_MEANS_DIM); in RENAME()57 memset(centroids, 0, sizeof(centroids[0]) * k * AV1_K_MEANS_DIM); in RENAME()63 for (j = 0; j < AV1_K_MEANS_DIM; ++j) { in RENAME()64 centroids[index * AV1_K_MEANS_DIM + j] += data[i * AV1_K_MEANS_DIM + j]; in RENAME()70 memcpy(centroids + i * AV1_K_MEANS_DIM, in RENAME()[all …]
19 #define AV1_K_MEANS_DIM 1 macro21 #undef AV1_K_MEANS_DIM22 #define AV1_K_MEANS_DIM 2 macro24 #undef AV1_K_MEANS_DIM