Searched refs:dist_cost (Results 1 – 2 of 2) sorted by relevance
157 double dist_cost; in BrotliBuildMetaBlock() local165 &orig_params.dist, &new_params.dist, &dist_cost); in BrotliBuildMetaBlock()166 if (skip || (dist_cost > best_dist_cost)) { in BrotliBuildMetaBlock()169 best_dist_cost = dist_cost; in BrotliBuildMetaBlock()176 double dist_cost; in BrotliBuildMetaBlock() local178 &orig_params.dist, &orig_params.dist, &dist_cost); in BrotliBuildMetaBlock()179 if (dist_cost < best_dist_cost) { in BrotliBuildMetaBlock()
481 const float dist_cost = base_cost + in UpdateNodes() local488 const float cost = (cmdcode < 128 ? base_cost : dist_cost) + in UpdateNodes()519 float dist_cost; in UpdateNodes() local525 dist_cost = base_cost + (float)distnumextra + in UpdateNodes()541 const float cost = dist_cost + (float)GetCopyExtra(copycode) + in UpdateNodes()