Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
Dastcenc_averages_and_directions.cpp448 vfloat4 best_sum = prod_xp; in compute_avgs_and_dirs_4_comp() local
450 vmask4 mask = prod_yp > best_sum; in compute_avgs_and_dirs_4_comp()
452 best_sum = select(best_sum, prod_yp, mask); in compute_avgs_and_dirs_4_comp()
454 mask = prod_zp > best_sum; in compute_avgs_and_dirs_4_comp()
456 best_sum = select(best_sum, prod_zp, mask); in compute_avgs_and_dirs_4_comp()
458 mask = prod_wp > best_sum; in compute_avgs_and_dirs_4_comp()
575 vfloat4 best_sum = prod_xp; in compute_avgs_and_dirs_3_comp() local
577 vmask4 mask = prod_yp > best_sum; in compute_avgs_and_dirs_3_comp()
579 best_sum = select(best_sum, prod_yp, mask); in compute_avgs_and_dirs_3_comp()
581 mask = prod_zp > best_sum; in compute_avgs_and_dirs_3_comp()
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dvp8l_enc.c162 uint32_t best_sum = 0u; in CoOccurrenceFindMax() local
168 if (sum > best_sum) { in CoOccurrenceFindMax()
169 best_sum = sum; in CoOccurrenceFindMax()
272 struct Sum* best_sum = &sums[0]; in PaletteSortModifiedZeng() local
273 best_sum->index = 0u; in PaletteSortModifiedZeng()
274 best_sum->sum = 0u; in PaletteSortModifiedZeng()
280 if (sums[j].sum > best_sum->sum) best_sum = &sums[j]; in PaletteSortModifiedZeng()
285 const uint8_t best_index = best_sum->index; in PaletteSortModifiedZeng()
302 *best_sum = sums[num_sums - 1]; in PaletteSortModifiedZeng()
305 best_sum = &sums[0]; in PaletteSortModifiedZeng()
[all …]