Home
last modified time | relevance | path

Searched refs:AV1_K_MEANS_DIM (Results 1 – 2 of 2) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dk_means_template.h19 #ifndef AV1_K_MEANS_DIM
24 #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 …]
Dpalette.c19 #define AV1_K_MEANS_DIM 1 macro
21 #undef AV1_K_MEANS_DIM
22 #define AV1_K_MEANS_DIM 2 macro
24 #undef AV1_K_MEANS_DIM