Searched defs:costs (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_cost.c37 static void cost(int *costs, vp9_tree tree, const vp9_prob *probs, argument
47 costs[-ii] = cc;
49 cost(costs, tree, probs, ii, cc);
53 void vp9_cost_tokens(int *costs, const vp9_prob *probs, vp9_tree tree) { argument
54 cost(costs, tree, probs, 0, 0);
57 void vp9_cost_tokens_skip(int *costs, const vp9_prob *probs, vp9_tree tree) { argument
60 costs[-tree[0]] = vp9_cost_bit(probs[0], 0);
61 cost(costs, tree, probs, 2, 0);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_cost.c37 static void cost(int *costs, vp9_tree tree, const vp9_prob *probs, argument
47 costs[-ii] = cc;
49 cost(costs, tree, probs, ii, cc);
53 void vp9_cost_tokens(int *costs, const vp9_prob *probs, vp9_tree tree) { argument
54 cost(costs, tree, probs, 0, 0);
57 void vp9_cost_tokens_skip(int *costs, const vp9_prob *probs, vp9_tree tree) { argument
60 costs[-tree[0]] = vp9_cost_bit(probs[0], 0);
61 cost(costs, tree, probs, 2, 0);
/external/srec/srec/crec/
H A Dsrec_debug.c98 costdata* costs = &stoken->cost[0]; local
115 p, costs[i], costs[i] + cost_offset, word_backtrace[i], duration[i], word_backtrace_trans);
/external/zopfli/src/zopfli/
H A Dsqueeze.c215 float* costs; local
229 costs = (float*)malloc(sizeof(float) * (blocksize + 1));
230 if (!costs) exit(-1); /* Allocation failed. */
238 for (i = 1; i < blocksize + 1; i++) costs[i] = ZOPFLI_LARGE_FLOAT;
239 costs[0] = 0; /* Because it's the start. */
243 size_t j = i - instart; /* Index in the costs array and length_array. */
259 costs[j + ZOPFLI_MAX_MATCH] = costs[j] + symbolcost;
273 double newCost = costs[j] + costmodel(in[i], 0, costcontext);
275 if (newCost < costs[
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dquant.c528 const uint16_t* costs; // shortcut to cost tables member in struct:__anon13279
556 const CostArray* const costs = enc->proba_.level_cost_[coeff_type]; local
593 ss_cur[m].costs = costs[VP8EncBands[first]][ctx0];
627 ss_cur[m].costs = costs[band][ctx];
653 const score_t cost = VP8LevelCost(ss_prev[p].costs, level);
/external/webp/src/enc/
H A Dquant.c528 const uint16_t* costs; // shortcut to cost tables member in struct:__anon33376
556 const CostArray* const costs = enc->proba_.level_cost_[coeff_type]; local
593 ss_cur[m].costs = costs[VP8EncBands[first]][ctx0];
627 ss_cur[m].costs = costs[band][ctx];
653 const score_t cost = VP8LevelCost(ss_prev[p].costs, level);

Completed in 412 milliseconds