• Home
  • Raw
  • Download

Lines Matching refs:pix_count

245   const int pix_count = xsize * ysize;  in BackwardReferencesRle()  local
251 for (i = 1; i < pix_count; ++i) { in BackwardReferencesRle()
271 const int pix_count = xsize * ysize; in BackwardReferencesHashChain() local
284 if (!HashChainInit(hash_chain, pix_count)) goto Error; in BackwardReferencesHashChain()
289 for (i = 0; i < pix_count; ) { in BackwardReferencesHashChain()
293 if (i < pix_count - 1) { // FindCopy(i,..) reads pixels at [i] and [i + 1]. in BackwardReferencesHashChain()
294 int maxlen = pix_count - i; in BackwardReferencesHashChain()
309 if (i < pix_count - 2) { // FindCopy(i+1,..) reads [i + 1] and [i + 2]. in BackwardReferencesHashChain()
310 int maxlen = pix_count - (i + 1); in BackwardReferencesHashChain()
344 const int last = (len < pix_count - 1 - i) ? len : pix_count - 1 - i; in BackwardReferencesHashChain()
361 if (i + 1 < pix_count) { in BackwardReferencesHashChain()
480 const int pix_count = xsize * ysize; in BackwardReferencesHashChainDistanceOnly() local
483 (float*)WebPSafeMalloc((uint64_t)pix_count, sizeof(*cost)); in BackwardReferencesHashChainDistanceOnly()
496 if (!HashChainInit(hash_chain, pix_count)) goto Error; in BackwardReferencesHashChainDistanceOnly()
508 for (i = 0; i < pix_count; ++i) cost[i] = 1e38f; in BackwardReferencesHashChainDistanceOnly()
515 for (i = 0; i < pix_count; ++i) { in BackwardReferencesHashChainDistanceOnly()
524 if (i < pix_count - 1) { // FindCopy reads pixels at [i] and [i + 1]. in BackwardReferencesHashChainDistanceOnly()
526 if (maxlen > pix_count - i) { in BackwardReferencesHashChainDistanceOnly()
527 maxlen = pix_count - i; in BackwardReferencesHashChainDistanceOnly()
558 const int last = (len + i < pix_count - 1) ? len + i in BackwardReferencesHashChainDistanceOnly()
559 : pix_count - 1; in BackwardReferencesHashChainDistanceOnly()
570 if (i < pix_count - 1) { in BackwardReferencesHashChainDistanceOnly()
625 const int pix_count = xsize * ysize; in BackwardReferencesHashChainFollowChosenPath() local
639 if (hash_chain == NULL || !HashChainInit(hash_chain, pix_count)) { in BackwardReferencesHashChainFollowChosenPath()
666 const int last = (len < pix_count - 1 - i) ? len : pix_count - 1 - i; in BackwardReferencesHashChainFollowChosenPath()
681 if (i + 1 < pix_count) { in BackwardReferencesHashChainFollowChosenPath()