HomeSort by relevance Sort by last modified time
    Searched refs:cost_model (Results 1 - 2 of 2) sorted by null

  /external/webp/src/enc/
backward_references.c 563 VP8LColorCache* const hashers, const CostModel* const cost_model, int idx,
574 cost_val += GetCacheCost(cost_model, ix) * mul0;
578 cost_val += GetLiteralCost(cost_model, color) * mul1;
601 CostModel* const cost_model = local
609 if (cost == NULL || cost_model == NULL) goto Error;
611 cost_model->literal_ = (double*)(cost_model + 1);
617 if (!CostModelBuild(cost_model, cache_bits, refs)) {
628 AddSingleLiteralWithCostModel(argb + 0, hash_chain, &hashers, cost_model, 0,
640 prev_cost + GetDistanceCost(cost_model, code)
    [all...]
  /external/opencv3/3rdparty/libwebp/enc/
backward_references.c 484 CostModel* cost_model = (CostModel*)malloc(sizeof(*cost_model)); local
494 if (cost == NULL || cost_model == NULL || hash_chain == NULL) goto Error;
503 if (!CostModelBuild(cost_model, xsize, ysize, recursive_cost_model, argb,
536 prev_cost + GetDistanceCost(cost_model, code);
539 const double cost_val = distance_cost + GetLengthCost(cost_model, k);
578 cost_val += GetCacheCost(cost_model, ix) * mul0;
580 cost_val += GetLiteralCost(cost_model, argb[i]) * mul1;
596 free(cost_model);

Completed in 174 milliseconds