Searched refs:dist_cost (Results 1 – 2 of 2) sorted by relevance
161 double dist_cost; in BrotliBuildMetaBlock() local169 &orig_params.dist, &new_params.dist, &dist_cost); in BrotliBuildMetaBlock()170 if (skip || (dist_cost > best_dist_cost)) { in BrotliBuildMetaBlock()173 best_dist_cost = dist_cost; in BrotliBuildMetaBlock()180 double dist_cost; in BrotliBuildMetaBlock() local182 &orig_params.dist, &orig_params.dist, &dist_cost); in BrotliBuildMetaBlock()183 if (dist_cost < best_dist_cost) { in BrotliBuildMetaBlock()
478 const float dist_cost = base_cost + in UpdateNodes() local485 const float cost = (cmdcode < 128 ? base_cost : dist_cost) + in UpdateNodes()516 float dist_cost; in UpdateNodes() local522 dist_cost = base_cost + (float)distnumextra + in UpdateNodes()538 const float cost = dist_cost + (float)GetCopyExtra(copycode) + in UpdateNodes()