HomeSort by relevance Sort by last modified time
    Searched defs:cost (Results 101 - 125 of 229) sorted by null

1 2 3 45 6 7 8 910

  /external/clang/utils/
CmpDriver 41 def cost(a, b): function in function:insertMinimumPadding
52 current = cost(a, b)
56 candidate = cost(a_0, b)
  /external/srec/srec/ca/
rec_resu.c 45 bigcostdata cost; local
47 srec_get_top_choice_score(hRecog->recm, &cost, do_incsil);
49 *score = cost;
  /external/webp/src/enc/
cost.h 10 // Cost tables for level and modes.
35 CostArray* cost; member in struct:__anon17034
49 // approximate cost per level:
53 // Cost of coding one event with probability 'proba'.
58 // Cost calculation function.
64 // Level cost calculations
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_utils.cpp 68 * Computes the combined bigram / unigram cost for the given dicNode.
79 const float cost = static_cast<float>(MAX_PROBABILITY - probability) local
81 return cost;
  /external/ceres-solver/internal/ceres/
residual_block_test.cc 42 // Trivial cost function that accepts three arguments.
106 // Verify cost-only evaluation.
107 double cost; local
108 residual_block.Evaluate(true, &cost, NULL, NULL, scratch);
109 EXPECT_EQ(0.5 * (0*0 + 1*1 + 2*2), cost);
111 // Verify cost and residual evaluation.
113 residual_block.Evaluate(true, &cost, residuals, NULL, scratch);
114 EXPECT_EQ(0.5 * (0*0 + 1*1 + 2*2), cost);
119 // Verify cost, residual, and jacobian evaluation.
120 cost = 0.0
246 double cost; local
    [all...]
residual_block_utils_test.cc 60 double cost; local
66 &cost,
evaluator_test.cc 147 double cost = -1; local
166 &cost,
182 cost,
194 expected.cost,
201 // The values are ignored completely by the cost function.
222 // Cost
247 // Then use a cost function which is similar to the others, but swap around
248 // the ordering of the parameters to the cost function. This shouldn't affect
252 // in the same order that they occured as parameters to a cost function.
260 // Cost
532 double cost; local
622 double cost = -1; local
629 double cost = -1; local
639 double cost = -1; local
    [all...]
program.cc 323 // The residual is constant and will be removed, so its cost is
325 double cost = 0.0; local
327 &cost,
335 *fixed_cost += cost;
program_evaluator.h 31 // The ProgramEvaluator runs the cost functions contained in each residual block
36 // pointers to the jacobian blocks where the cost function evaluates to.
52 // // a cost function's evaluate method.
136 double* cost,
159 // Each thread gets it's own cost and evaluate scratch space.
161 evaluate_scratch_[i].cost = 0.0;
208 // Evaluate the cost, residuals, and jacobians.
224 scratch->cost += block_cost;
258 // Sum the cost and gradient (if requested) from each thread.
259 (*cost) = 0.0
325 double cost; member in struct:ceres::internal::ProgramEvaluator::EvaluateScratch
    [all...]
trust_region_minimizer.cc 63 const double cost,
96 line_search->Search(1.0, cost, gradient.dot(delta), &summary);
101 line_search->Search(1.0, cost, -gradient.squaredNorm(), &summary);
196 // Do initial cost and Jacobian evaluation.
197 double cost = 0.0; local
199 &cost,
219 summary->initial_cost = cost + summary->fixed_cost;
220 iteration_summary.cost = cost + summary->fixed_cost;
250 double minimum_cost = cost;
    [all...]
  /external/chromium_org/third_party/brotli/src/brotli/enc/
bit_cost.h 15 // Functions to estimate the bit cost of Huffman trees.
93 uint8_t cost[kCodeLengthCodes] = { 0 }; local
94 CreateHuffmanTree(histogram, kCodeLengthCodes, 7, cost);
96 cost[16] += 2;
97 cost[17] += 3;
100 int bits = 18 + 2 * max_depth; // huffman tree of huffman tree cost
102 bits += histogram[i] * cost[i]; // huffman tree bit cost
  /external/clang/test/CodeGenCXX/
array-operator-delete-call.cpp 22 struct COST
24 S *cost; member in struct:COST
28 ~COST();
29 COST();
33 COST::COST()
35 cost = new S[3];
40 COST::~COST()
42 if (cost) {
    [all...]
  /development/perftests/panorama/feature_stab/db_vlvm/
db_robust.h 43 double cost; member in struct:db_stat_struct
  /external/ceres-solver/examples/
circle_fit.cc 71 // The cost for a single sample. The returned residual is related to the
90 // It is tempting to use the following cost:
95 // reasonably well, but the sqrt() adds strong nonlinearities to the cost
96 // function. Instead, a different cost is used, which while not strictly a
98 // robust fits when there are outliers. This is because the cost surface is
140 CostFunction *cost = local
143 problem.AddResidualBlock(cost, loss, &x, &y, &m);
  /external/ceres-solver/include/ceres/
iteration_callback.h 51 cost(0.0),
96 double cost; member in struct:ceres::IterationSummary
113 // cost and the change in the cost of the linearized approximation.
195 // summary.cost,
  /external/eigen/bench/
benchCholesky.cpp 34 int cost = 0; local
38 cost += 2*(r*j+r+j);
82 << "(" << 1e-6 * cost*repeats/timerNoSqrt.value() << " MFLOPS)\t"
84 << "(" << 1e-6 * cost*repeats/timerSqrt.value() << " MFLOPS)\n";
  /packages/apps/Camera/jni/feature_stab/db_vlvm/
db_robust.h 43 double cost; member in struct:db_stat_struct
  /packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
db_robust.h 43 double cost; member in struct:db_stat_struct
  /external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
encodemv.c 104 unsigned int cost; local
108 cost = vp8_cost_zero(p [mvpis_short])
112 return cost;
117 cost = vp8_cost_one(p [mvpis_short]);
120 cost += vp8_cost_bit(p [MVPbits + i], (x >> i) & 1);
127 cost += vp8_cost_bit(p [MVPbits + i], (x >> i) & 1);
132 cost += vp8_cost_bit(p [MVPbits + 3], (x >> 3) & 1);
135 return cost; /* + vp8_cost_bit( p [MVPsign], v < 0); */
209 const int cost = 7 + MV_PROB_UPDATE_CORRECTION + ((vp8_cost_one(update_p) - vp8_cost_zero(update_p) + 128) >> 8); local
211 if (cur_b - new_b > cost)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
vp8_partition_aggregator.cc 51 int PartitionTreeNode::Cost(int penalty) {
53 int cost = 0; local
56 cost = std::max(max_parent_size_, this_size_) -
59 cost = std::max(max_parent_size_, this_size_) - min_parent_size_;
61 return cost + NumPackets() * penalty;
130 if (left->Cost(penalty) <= right->Cost(penalty)) {
138 if (second->Cost(penalty) <= first->Cost(penalty)) {
140 // Compare cost estimate for "second" with actual cost for "first"
248 int cost = 0; local
    [all...]
  /external/libvpx/libvpx/vp8/encoder/
encodemv.c 104 unsigned int cost; local
108 cost = vp8_cost_zero(p [mvpis_short])
112 return cost;
117 cost = vp8_cost_one(p [mvpis_short]);
120 cost += vp8_cost_bit(p [MVPbits + i], (x >> i) & 1);
127 cost += vp8_cost_bit(p [MVPbits + i], (x >> i) & 1);
132 cost += vp8_cost_bit(p [MVPbits + 3], (x >> 3) & 1);
135 return cost; /* + vp8_cost_bit( p [MVPsign], v < 0); */
209 const int cost = 7 + MV_PROB_UPDATE_CORRECTION + ((vp8_cost_one(update_p) - vp8_cost_zero(update_p) + 128) >> 8); local
211 if (cur_b - new_b > cost)
    [all...]
  /external/llvm/include/llvm/CodeGen/PBQP/
CostAllocator.h 1 //===---------- CostAllocator.h - PBQP Cost Allocator -----------*- C++ -*-===//
10 // Defines classes conforming to the PBQP cost value manager concept.
12 // Cost value managers are memory managers for PBQP cost values (vectors and
34 PoolEntry(CostPool &pool, CostKeyT cost)
35 : pool(pool), cost(std::move(cost)), refCount(0) {}
39 CostT& getCost() { return cost; }
40 const CostT& getCost() const { return cost; }
43 CostT cost; member in class:PBQP::CostPool::PoolEntry
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
encodemv.c 104 unsigned int cost; local
108 cost = vp8_cost_zero(p [mvpis_short])
112 return cost;
117 cost = vp8_cost_one(p [mvpis_short]);
120 cost += vp8_cost_bit(p [MVPbits + i], (x >> i) & 1);
127 cost += vp8_cost_bit(p [MVPbits + i], (x >> i) & 1);
132 cost += vp8_cost_bit(p [MVPbits + 3], (x >> 3) & 1);
135 return cost; /* + vp8_cost_bit( p [MVPsign], v < 0); */
209 const int cost = 7 + MV_PROB_UPDATE_CORRECTION + ((vp8_cost_one(update_p) - vp8_cost_zero(update_p) + 128) >> 8); local
211 if (cur_b - new_b > cost)
    [all...]
  /external/bzip2/
compress.c 256 UInt16 cost[BZ_N_GROUPS]; local
353 Calculate the cost of this group as coded
356 for (t = 0; t < nGroups; t++) cost[t] = 0;
383 cost[0] = cost01 & 0xffff; cost[1] = cost01 >> 16;
384 cost[2] = cost23 & 0xffff; cost[3] = cost23 >> 16;
385 cost[4] = cost45 & 0xffff; cost[5] = cost45 >> 16;
391 for (t = 0; t < nGroups; t++) cost[t] += s->len[t][icv]
    [all...]
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
vp9_encodemv.c 104 int z, c, o, d, e, f, cost = 0; local
107 cost += class_cost[c];
112 cost += class0_cost[d];
117 cost += bits_cost[i][((d >> i) & 1)];
120 cost += class0_fp_cost[d][f];
122 cost += fp_cost[f];
126 cost += class0_hp_cost[e];
128 cost += hp_cost[e];
131 mvcost[v] = cost + sign_cost[0];
132 mvcost[-v] = cost + sign_cost[1]
    [all...]

Completed in 837 milliseconds

1 2 3 45 6 7 8 910