Lines Matching refs:posdata
282 static void StartPosQueuePush(StartPosQueue* self, const PosData* posdata) { in StartPosQueuePush() argument
287 q[offset] = *posdata; in StartPosQueuePush()
392 PosData posdata; in EvaluateNode() local
393 posdata.pos = pos; in EvaluateNode()
394 posdata.cost = node_cost; in EvaluateNode()
395 posdata.costdiff = node_cost - in EvaluateNode()
398 pos, starting_dist_cache, nodes, posdata.distance_cache); in EvaluateNode()
399 StartPosQueuePush(queue, &posdata); in EvaluateNode()
426 const PosData* posdata = StartPosQueueAt(queue, 0); in UpdateNodes() local
427 float min_cost = (posdata->cost + ZopfliCostModelGetMinCostCmd(model) + in UpdateNodes()
428 ZopfliCostModelGetLiteralCosts(model, posdata->pos, pos)); in UpdateNodes()
435 const PosData* posdata = StartPosQueueAt(queue, k); in UpdateNodes() local
436 const size_t start = posdata->pos; in UpdateNodes()
438 const float start_costdiff = posdata->costdiff; in UpdateNodes()
449 (size_t)(posdata->distance_cache[idx] + kDistanceCacheOffset[j]); in UpdateNodes()