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.c445 const int pix_count = xsize * ysize; in BackwardReferencesRle() local
457 while (i < pix_count) { in BackwardReferencesRle()
458 const int max_len = MaxFindCopyLength(pix_count - i); in BackwardReferencesRle()
494 const int pix_count = xsize * ysize; in BackwardReferencesLz77() local
502 for (i = 0; i < pix_count;) { in BackwardReferencesLz77()
512 (i + len_ini >= pix_count) ? pix_count - 1 : i + len_ini; in BackwardReferencesLz77()
528 if (max_reach >= pix_count) break; in BackwardReferencesLz77()
563 const int pix_count = xsize * ysize; in BackwardReferencesLz77Box() local
575 i = pix_count - 2; in BackwardReferencesLz77Box()
623 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()