OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AV1_K_MEANS_DIM
(Results
1 - 2
of
2
) sorted by null
/external/libaom/libaom/av1/encoder/
k_means_template.h
19
#ifndef
AV1_K_MEANS_DIM
20
#error "This template requires
AV1_K_MEANS_DIM
to be defined"
24
#define RENAME(x) RENAME_(x,
AV1_K_MEANS_DIM
)
28
for (int i = 0; i <
AV1_K_MEANS_DIM
; ++i) {
38
int min_dist = RENAME(calc_dist)(data + i *
AV1_K_MEANS_DIM
, centroids);
41
const int this_dist = RENAME(calc_dist)(data + i *
AV1_K_MEANS_DIM
,
42
centroids + j *
AV1_K_MEANS_DIM
);
57
memset(centroids, 0, sizeof(centroids[0]) * k *
AV1_K_MEANS_DIM
);
63
for (j = 0; j <
AV1_K_MEANS_DIM
; ++j) {
64
centroids[index *
AV1_K_MEANS_DIM
+ j] += data[i * AV1_K_MEANS_DIM + j]
[
all
...]
palette.c
19
#define
AV1_K_MEANS_DIM
1
21
#undef
AV1_K_MEANS_DIM
22
#define
AV1_K_MEANS_DIM
2
24
#undef
AV1_K_MEANS_DIM
Completed in 83 milliseconds