Searched defs:weight (Results 151 - 175 of 274) sorted by relevance

1234567891011

/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c226 * Helper to compute the first coord and the weight for
252 /* convert to int, compute lerp weight */
264 * \param weight_out returns linear interpolation weight
282 LLVMValueRef coord0, coord1, weight; local
290 /* convert to int, compute lerp weight */
291 lp_build_ifloor_fract(coord_bld, coord, &coord0, &weight);
301 &coord0, &weight);
321 /* convert to int, compute lerp weight */
322 lp_build_ifloor_fract(coord_bld, coord, &coord0, &weight);
341 /* convert to int, compute lerp weight */
[all...]
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_decoder.c278 unsigned field_select_mask, unsigned weight)
290 mv.top.weight = weight;
294 mv.bottom.weight = weight;
303 mv.top.weight = weight;
309 mv.bottom.weight = weight;
318 mv.top.weight
277 MotionVectorToPipe(const struct pipe_mpeg12_macroblock *mb, unsigned vector, unsigned field_select_mask, unsigned weight) argument
[all...]
/external/opencv/cv/src/
H A Dcvemd.cpp111 float weight, max_cost; member in struct:CvEMDState
319 emd = (float) (total_cost / state.weight);
400 float weight = signature1[i * (dims + 1)]; local
402 if( weight > 0 )
404 s_sum += weight;
405 state->s[ssize] = weight;
409 else if( weight < 0 )
415 float weight = signature2[i * (dims + 1)]; local
417 if( weight > 0 )
419 d_sum += weight;
464 float weight = signature1[j]; local
471 float weight = signature2[j]; local
[all...]
/external/openfst/src/include/fst/
H A Ddeterminize.h39 #include <fst/factor-weight.h>
96 // weight component, which defaults to the default common divisor.
121 DeterminizeElement(StateId s, Weight w) : state_id(s), weight(w) {}
124 return state_id == element.state_id && weight == element.weight;
129 (state_id == element.state_id && weight == element.weight);
133 Weight weight; // Residual weight member in struct:fst::DeterminizeElement
271 if (!element1 || element1->weight !
[all...]
H A Drandgen.h40 // transition is selected. If N == NumArcs(), then the final weight at
65 // log probabilities after normalizing for the total weight leaving
68 // representation of the weight.
78 // Find total weight leaving state
83 sum += exp(-to_log_weight_(arc.weight).Value());
93 p += exp(-to_log_weight_(arc.weight).Value());
109 // the cummulative weight computations.
125 // Find total weight leaving state
212 // If N == NumArcs(s), then the final weight at that state is
314 bool remove_total_weight; // Remove total weight whe
463 Weight weight = weighted_ ? to_weight_(-log(prob)) : Weight::One(); local
472 Weight weight = remove_total_weight_ ? local
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
H A Dfpdf_edit_doc.cpp648 Float32 weight = 0; local
649 CFNumberGetValue(weightTrait, kCFNumberFloat32Type, &weight);
716 if (weight > 0.0 && trait & kCTFontItalicTrait) {
718 } else if (weight > 0.0) {
/external/pdfium/core/src/fxge/dib/
H A Dfx_dib_engine.cpp73 int weight; local
74 weight = FXSYS_round((FX_FLOAT)(src_pos - pixel_weights.m_SrcStart - 1.0f / 2) * 256);
76 pixel_weights.m_Weights[0] = (SDP_Table[256 + weight] + SDP_Table[weight] + SDP_Table[256 - weight] + SDP_Table[512 - weight]) << 8;
80 pixel_weights.m_Weights[0] = SDP_Table[256 + weight] << 8;
81 pixel_weights.m_Weights[1] = (SDP_Table[weight] + SDP_Table[256 - weight] + SDP_Table[512 - weight]) <<
170 double weight = area_start >= area_end ? 0.0f : area_end - area_start; local
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcfftypes.h112 FT_UInt weight; member in struct:CFF_FontRecDictRec_
/external/skia/src/gpu/
H A DGrPathUtils.cpp311 void GrPathUtils::getConicKLM(const SkPoint p[3], const SkScalar weight, SkScalar klm[9]) { argument
312 const SkScalar w2 = 2.f * weight;
/external/skia/src/ports/
H A DSkFontMgr_win_dw.cpp630 DWRITE_FONT_WEIGHT weight = (styleBits & SkTypeface::kBold) local
637 HRNM(fontFamily->GetFirstMatchingFont(weight, stretch, italic, &font),
680 int weight = font->GetWeight(); local
683 *fs = SkFontStyle(weight, width, slant);
707 DWRITE_FONT_WEIGHT weight = (DWRITE_FONT_WEIGHT)pattern.weight(); local
712 HRNM(fFontFamily->GetFirstMatchingFont(weight, width, slant, &font),
/external/skia/src/utils/debugger/
H A DSkDebugCanvas.cpp665 void SkDebugCanvas::outputConicPoints(const SkPoint* pts, SkScalar weight) { argument
668 this->outputScalar(weight);
/external/srec/srec/include/
H A Dsimapi.h82 double weight[NCONFPARS]; member in struct:__anon31133
1605 const char *phrase, const char* pronunciation, const int weight);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Ddeterminize.h30 #include "fst/lib/factor-weight.h"
85 // weight component, which defaults to the default common divisor.
214 Element(StateId s, Weight w) : state_id(s), weight(w) {}
217 Weight weight; // Residual weight member in struct:fst::DeterminizeFsaImpl::Element
256 final = Plus(final, Times(element.weight,
314 Times(src_element.weight, arc.weight));
329 arc.weight = Weight::Zero();
335 // Computes label weight
[all...]
/external/svox/pico/lib/
H A Dpicodata.c723 const picoos_uint16 * weight, /* integer weights */
736 weighted_sum += inout[i] * weight[i];
749 /* input[i] * fact * weight[i] is the additive modification in PICODATA_PRECISION */
751 rest += fact * inout[i] * weight[i];
769 const picoos_uint16 * weight, /* integer weights */
808 if (NULL == weight) {
811 transDurWeighted(frame_duration_exp,array_length,inout,weight,inputdur,targetdur,dur_rest);
719 transDurWeighted( picoos_uint8 frame_duration_exp, picoos_int8 array_length, picoos_uint8 * inout, const picoos_uint16 * weight, picoos_int16 inputdur, picoos_int16 targetdur, picoos_int16 * restdur ) argument
765 picodata_transformDurations( picoos_uint8 frame_duration_exp, picoos_int8 array_length, picoos_uint8 * inout, const picoos_uint16 * weight, picoos_int16 mintarget, picoos_int16 maxtarget, picoos_int16 facttarget, picoos_int16 * dur_rest ) argument
/external/chromium_org/net/spdy/
H A Dspdy_protocol.h974 uint8 weight,
978 uint8 weight() const { return weight_; } function in class:net::SpdyPriorityIR
979 void set_weight(uint8 weight) { weight_ = weight; } argument
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.cpp1116 FontWeight RenderStyle::fontWeight() const { return fontDescription().weight(); }
1232 void RenderStyle::setFontWeight(FontWeight weight) argument
1236 desc.setWeight(weight);
/external/chromium_org/third_party/freetype/include/freetype/
H A Dt1tables.h75 FT_String* weight; member in struct:PS_FontInfoRec_
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dwbnf.cpp437 // Every number has different chance (aka weight) to be selected.
463 void append(int weight){ argument
464 weights.append(weight);
465 total += weight;
468 // Give a random number with the consideration of weight.
469 // Every random number is associated with a weight.
471 // larger weight has more chance to be selected.
768 Alternation & append (Pick * node, int weight = DEFAULT_WEIGHT){
770 wr.append(weight);
959 UBool weight(in function in class:Parser
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_mcomp.c73 const int *mvjcost, int *mvcost[2], int weight) {
76 return ROUND_POWER_OF_TWO(mv_cost(&diff, mvjcost, mvcost) * weight, 7);
72 vp9_mv_bit_cost(const MV *mv, const MV *ref, const int *mvjcost, int *mvcost[2], int weight) argument
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_aos.c231 LLVMValueRef weight; local
235 &coord0, &weight);
242 weight = lp_build_mul_imm(&bld->coord_bld, weight, 256);
243 *weight_i = lp_build_itrunc(&bld->coord_bld, weight);
283 LLVMValueRef weight; local
287 &coord0, &weight);
288 weight = lp_build_mul_imm(&bld->coord_bld, weight, 256);
289 *weight_i = lp_build_itrunc(&bld->coord_bld, weight);
353 lp_build_sample_wrap_linear_float(struct lp_build_sample_context *bld, unsigned block_length, LLVMValueRef coord, LLVMValueRef length, boolean is_pot, unsigned wrap_mode, LLVMValueRef *coord0, LLVMValueRef *coord1, LLVMValueRef *weight, unsigned force_nearest) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_ra.cpp649 float weight; member in class:nv50_ir::GCRA::RIG_Node
724 INFO("RIG_Node[%%%i]($[%u]%i): %u colors, weight %f, deg %u/%u\n X",
727 nodes[i].weight,
751 weight = std::numeric_limits<float>::infinity();
1102 nodes[i].weight =
1170 float bestScore = best->weight / (float)best->degree;
1173 float score = it->weight / (float)it->degree;
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
H A Dos2_table.cc310 void OS2Table::Builder::SetUsWeightClass(int32_t weight) { argument
311 InternalWriteData()->WriteUShort(Offset::kUsWeightClass, weight);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrAAHairLinePathRenderer.cpp212 int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { argument
216 dst[0].set(src, weight);
222 conic.set(src, weight);
232 int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { argument
234 int conicCnt = split_conic(src, dstTemp, weight);
344 // hyperbolas with high weight still show error.
616 const SkScalar weight) {
619 GrPathUtils::getConicKLM(p, weight, klm);
630 const SkScalar weight,
636 set_conic_coeffs(p, *vert, weight);
615 set_conic_coeffs(const SkPoint p[3], BezierVertex verts[kVertsPerQuad], const SkScalar weight) argument
629 add_conics(const SkPoint p[3], const SkScalar weight, const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex** vert, SkRect* devBounds) argument
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkTextureCompressor_ASTC.cpp15 // This table contains the weight values for each texel. This is used in determining
19 // weight, texel-x, texel-y
20 // The weight value corresponds to the amount that this index contributes to the final
26 // total-weight = 0;
29 // weight = table[i][w*3];
32 // if weight >= 0:
33 // total-weight += weight;
34 // total-alpha += weight * alphas[texel-x][texel-y];
36 // total-alpha /= total-weight;
193 const int8_t weight = k6x5To12x12Table[idx][w*3]; local
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dtcmalloc_unittest.cc205 int weight; member in struct:testing::TestHarness::Type
217 // Add operation type with specified weight. When starting a new
219 // proportional to its weight.
222 // "weight" must be non-negative.
223 void AddType(int type, int weight, const char* name);
249 int total_weight_; // Total weight of all types
253 void TestHarness::AddType(int type, int weight, const char* name) { argument
257 t.weight = weight;
259 total_weight_ += weight;
[all...]

Completed in 1255 milliseconds

1234567891011