Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dbackward_references_enc.c413 const int pix_count = xsize * ysize; in BackwardReferencesRle() local
425 while (i < pix_count) { in BackwardReferencesRle()
426 const int max_len = MaxFindCopyLength(pix_count - i); in BackwardReferencesRle()
462 const int pix_count = xsize * ysize; in BackwardReferencesLz77() local
470 for (i = 0; i < pix_count;) { in BackwardReferencesLz77()
480 (i + len_ini >= pix_count) ? pix_count - 1 : i + len_ini; in BackwardReferencesLz77()
496 if (max_reach >= pix_count) break; in BackwardReferencesLz77()
531 const int pix_count = xsize * ysize; in BackwardReferencesLz77Box() local
543 i = pix_count - 2; in BackwardReferencesLz77Box()
591 for (i = 1; i < pix_count; ++i) { in BackwardReferencesLz77Box()
[all …]
Dbackward_references_cost_enc.c251 uint16_t* const dist_array, int pix_count, in CostManagerInit() argument
254 const int cost_cache_size = (pix_count > MAX_LENGTH) ? MAX_LENGTH : pix_count; in CostManagerInit()
308 manager->costs_ = (float*)WebPSafeMalloc(pix_count, sizeof(*manager->costs_)); in CostManagerInit()
314 for (i = 0; i < pix_count; ++i) manager->costs_[i] = 1e38f; in CostManagerInit()
570 const int pix_count = xsize * ysize; in BackwardReferencesHashChainDistanceOnly() local
598 if (!CostManagerInit(cost_manager, dist_array, pix_count, cost_model)) { in BackwardReferencesHashChainDistanceOnly()
609 for (i = 1; i < pix_count; ++i) { in BackwardReferencesHashChainDistanceOnly()
651 assert(len == MAX_LENGTH || len == pix_count - i); in BackwardReferencesHashChainDistanceOnly()