Home
last modified time | relevance | path

Searched refs:factor (Results 1 – 25 of 1003) sorted by relevance

12345678910>>...41

/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/
DBENCHMARKS7 Timing jsmin_2_0_9 ... (951.5 KiB >) 1682.43 ms (factor: 0.84)
8 Timing rjsmin ... (951.5 KiB =) 36.38 ms (factor: 38.95, 46.25)
9 Timing _rjsmin ... (951.5 KiB =) 1.81 ms (factor: 783.54, 930.22, 20.11)
13 Timing jsmin_2_0_9 ... ( 26.4 KiB >) 23.18 ms (factor: 2.52)
14 Timing rjsmin ... ( 26.4 KiB >) 8.93 ms (factor: 6.55, 2.60)
15 Timing _rjsmin ... ( 26.4 KiB >) 0.13 ms (factor: 444.62, 176.25, 67.89)
19 Timing jsmin_2_0_9 ... ( 10.3 KiB >) 8.87 ms (factor: 2.46)
20 Timing rjsmin ... ( 10.2 KiB >) 2.42 ms (factor: 9.03, 3.67)
21 Timing _rjsmin ... ( 10.2 KiB >) 0.05 ms (factor: 479.81, 194.97, 53.16)
25 Timing jsmin_2_0_9 ... (136.8 KiB >) 156.45 ms (factor: 1.96)
[all …]
/external/llvm/test/TableGen/
DBitOffsetDecoder.td19 let InOperandList = (ins i32imm:$factor);
21 bits<32> factor;
23 let Inst{14-8} = factor{6-0}; // no offset
24 let AsmString = "foo $factor";
29 let InOperandList = (ins i32imm:$factor);
31 bits<32> factor;
33 let Inst{15-8} = factor{10-3}; // offset by 3
34 let AsmString = "bar $factor";
39 let InOperandList = (ins i32imm:$factor);
41 bits<32> factor;
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_blend.c198 const double *factor, in compute_blend_ref_term() argument
209 term[0] = factor[0]; /* R */ in compute_blend_ref_term()
210 term[1] = factor[1]; /* G */ in compute_blend_ref_term()
211 term[2] = factor[2]; /* B */ in compute_blend_ref_term()
214 term[0] = factor[0] * src[0]; /* R */ in compute_blend_ref_term()
215 term[1] = factor[1] * src[1]; /* G */ in compute_blend_ref_term()
216 term[2] = factor[2] * src[2]; /* B */ in compute_blend_ref_term()
219 term[0] = factor[0] * src[3]; /* R */ in compute_blend_ref_term()
220 term[1] = factor[1] * src[3]; /* G */ in compute_blend_ref_term()
221 term[2] = factor[2] * src[3]; /* B */ in compute_blend_ref_term()
[all …]
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blending.c46 complement_factor(int factor) in complement_factor() argument
48 switch (factor) { in complement_factor()
75 uncomplement_factor(int factor) in uncomplement_factor() argument
77 int complement = complement_factor(factor); in uncomplement_factor()
78 return (complement == -1) ? factor : complement; in uncomplement_factor()
85 is_edge_blendfactor(unsigned factor) in is_edge_blendfactor() argument
87 return factor == PIPE_BLENDFACTOR_ONE || factor == PIPE_BLENDFACTOR_ZERO; in is_edge_blendfactor()
91 factor_is_supported(unsigned factor) in factor_is_supported() argument
93 return factor != PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE && in factor_is_supported()
94 factor != PIPE_BLENDFACTOR_SRC1_COLOR && in factor_is_supported()
[all …]
/external/v8/src/heap/
Dheap-controller.cc18 const double factor = in GrowingFactor() local
24 Trait::kName, factor, Trait::kTargetMutatorUtilization, in GrowingFactor()
27 return factor; in GrowingFactor()
49 double factor = (max_size - Trait::kMinSize) * in MaxGrowingFactor() local
53 return factor; in MaxGrowingFactor()
110 double factor = (a < b * max_factor) ? a / b : max_factor; in DynamicGrowingFactor() local
111 factor = Min(factor, max_factor); in DynamicGrowingFactor()
112 factor = Max(factor, Trait::kMinGrowingFactor); in DynamicGrowingFactor()
113 return factor; in DynamicGrowingFactor()
130 size_t new_space_capacity, double factor, in CalculateAllocationLimit() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
DBitOffsetDecoder.td19 let InOperandList = (ins i32imm:$factor);
21 bits<32> factor;
23 let Inst{14-8} = factor{6-0}; // no offset
24 let AsmString = "foo $factor";
29 let InOperandList = (ins i32imm:$factor);
31 bits<32> factor;
33 let Inst{15-8} = factor{10-3}; // offset by 3
34 let AsmString = "bar $factor";
39 let InOperandList = (ins i32imm:$factor);
41 bits<32> factor;
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/docs/
DBENCHMARKS7 Timing rcssmin ... ( 49.6 KiB >) 45.48 ms (factor: 3.59)
8 Timing _rcssmin ... ( 49.6 KiB >) 0.43 ms (factor: 378.93, 105.66)
12 Timing rcssmin ... ( 49.4 KiB =) 20.94 ms (factor: 5.68)
13 Timing _rcssmin ... ( 49.4 KiB =) 0.26 ms (factor: 454.45, 79.98)
22 Timing rcssmin ... ( 49.6 KiB >) 59.30 ms (factor: 3.12)
23 Timing _rcssmin ... ( 49.6 KiB >) 0.52 ms (factor: 356.38, 114.23)
27 Timing rcssmin ... ( 49.4 KiB =) 25.51 ms (factor: 5.34)
28 Timing _rcssmin ... ( 49.4 KiB =) 0.26 ms (factor: 515.24, 96.47)
37 Timing rcssmin ... ( 49.6 KiB >) 57.51 ms (factor: 3.92)
38 Timing _rcssmin ... ( 49.6 KiB >) 0.43 ms (factor: 527.98, 134.77)
[all …]
/external/dng_sdk/source/
Ddng_rational.cpp73 void dng_srational::ReduceByFactor (int32 factor) in ReduceByFactor() argument
76 while (n % factor == 0 && in ReduceByFactor()
77 d % factor == 0 && in ReduceByFactor()
78 d >= factor) in ReduceByFactor()
80 n /= factor; in ReduceByFactor()
81 d /= factor; in ReduceByFactor()
137 void dng_urational::ReduceByFactor (uint32 factor) in ReduceByFactor() argument
140 while (n % factor == 0 && in ReduceByFactor()
141 d % factor == 0 && in ReduceByFactor()
142 d >= factor) in ReduceByFactor()
[all …]
/external/swiftshader/src/Renderer/
DPixelProcessor.cpp690 factor.textureFactor4[0][0] = textureFactorR; in setTextureFactor()
691 factor.textureFactor4[0][1] = textureFactorR; in setTextureFactor()
692 factor.textureFactor4[0][2] = textureFactorR; in setTextureFactor()
693 factor.textureFactor4[0][3] = textureFactorR; in setTextureFactor()
695 factor.textureFactor4[1][0] = textureFactorG; in setTextureFactor()
696 factor.textureFactor4[1][1] = textureFactorG; in setTextureFactor()
697 factor.textureFactor4[1][2] = textureFactorG; in setTextureFactor()
698 factor.textureFactor4[1][3] = textureFactorG; in setTextureFactor()
700 factor.textureFactor4[2][0] = textureFactorB; in setTextureFactor()
701 factor.textureFactor4[2][1] = textureFactorB; in setTextureFactor()
[all …]
/external/swiftshader/src/Device/
DPixelProcessor.cpp66 factor.blendConstant4W[0] = word4(static_cast<uint16_t>(iround(0xFFFFu * blendConstant.r))); in setBlendConstant()
67 factor.blendConstant4W[1] = word4(static_cast<uint16_t>(iround(0xFFFFu * blendConstant.g))); in setBlendConstant()
68 factor.blendConstant4W[2] = word4(static_cast<uint16_t>(iround(0xFFFFu * blendConstant.b))); in setBlendConstant()
69 factor.blendConstant4W[3] = word4(static_cast<uint16_t>(iround(0xFFFFu * blendConstant.a))); in setBlendConstant()
71 factor.invBlendConstant4W[0] = word4(0xFFFFu - factor.blendConstant4W[0][0]); in setBlendConstant()
72 factor.invBlendConstant4W[1] = word4(0xFFFFu - factor.blendConstant4W[1][0]); in setBlendConstant()
73 factor.invBlendConstant4W[2] = word4(0xFFFFu - factor.blendConstant4W[2][0]); in setBlendConstant()
74 factor.invBlendConstant4W[3] = word4(0xFFFFu - factor.blendConstant4W[3][0]); in setBlendConstant()
76 factor.blendConstant4F[0] = float4(blendConstant.r); in setBlendConstant()
77 factor.blendConstant4F[1] = float4(blendConstant.g); in setBlendConstant()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddsp_helper.cc62 int factor, in RampSignal() argument
65 int factor_q20 = (factor << 6) + 32; in RampSignal()
68 output[i] = (factor * input[i] + 8192) >> 14; in RampSignal()
71 factor = std::min(factor_q20 >> 6, 16384); in RampSignal()
73 return factor; in RampSignal()
78 int factor, in RampSignal() argument
80 return RampSignal(signal, length, factor, increment, signal); in RampSignal()
86 int factor, in RampSignal() argument
91 return factor; in RampSignal()
97 RampSignal(&(*signal)[channel][start_index], length, factor, increment); in RampSignal()
[all …]
/external/aac/libFDK/src/arm/
Dscale_arm.cpp110 void scaleValuesWithFactor(FIXP_DBL *vector, FIXP_DBL factor, INT len, in scaleValuesWithFactor() argument
125 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor()
126 tmp1 = fMultDiv2(tmp1, factor); in scaleValuesWithFactor()
127 tmp2 = fMultDiv2(tmp2, factor); in scaleValuesWithFactor()
128 tmp3 = fMultDiv2(tmp3, factor); in scaleValuesWithFactor()
140 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor()
151 tmp0 = fMultDiv2(tmp0, factor); in scaleValuesWithFactor()
152 tmp1 = fMultDiv2(tmp1, factor); in scaleValuesWithFactor()
153 tmp2 = fMultDiv2(tmp2, factor); in scaleValuesWithFactor()
154 tmp3 = fMultDiv2(tmp3, factor); in scaleValuesWithFactor()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_blend.h14 util_blend_dst_alpha_to_one(int factor) in util_blend_dst_alpha_to_one() argument
16 switch (factor) { in util_blend_dst_alpha_to_one()
22 return factor; in util_blend_dst_alpha_to_one()
50 util_blend_factor_to_shader(enum pipe_blendfactor factor) in util_blend_factor_to_shader() argument
52 switch (factor) { in util_blend_factor_to_shader()
98 util_blend_factor_is_inverted(enum pipe_blendfactor factor) in util_blend_factor_is_inverted() argument
100 switch (factor) { in util_blend_factor_is_inverted()
120 util_blend_factor_uses_dest(enum pipe_blendfactor factor, bool alpha) in util_blend_factor_uses_dest() argument
122 switch (factor) { in util_blend_factor_uses_dest()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DRampedSineTone.java39 double factor; // applied to the amplitude of the sine wave in generateTone() local
43 factor = (i / (float) size) * 2; in generateTone()
45 factor = ((size - i) / (float) size) * 2; in generateTone()
47 tone[i] *= factor; in generateTone()
59 double factor; // applied to the amplitude of the sine wave in generateTone() local
63 factor = Constant.LOOPBACK_AMPLITUDE * i / size; in generateTone()
65 factor = Constant.LOOPBACK_AMPLITUDE * (size - i) / size; in generateTone()
67 tone[i] *= factor; in generateTone()
/external/skqp/src/gpu/effects/
DGrBlurredEdgeFragmentProcessor.fp16 half factor = 1.0 - sk_InColor.a;
19 factor = exp(-factor * factor * 4.0) - 0.018;
22 factor = smoothstep(1.0, 0.0, factor);
25 sk_OutColor = half4(factor);
/external/skia/src/gpu/effects/
DGrBlurredEdgeFragmentProcessor.fp16 half factor = 1.0 - sk_InColor.a;
19 factor = half(exp(-factor * factor * 4.0) - 0.018);
22 factor = smoothstep(1.0, 0.0, factor);
25 sk_OutColor = half4(factor);
/external/webrtc/webrtc/test/
Dcommon_unittest.cc23 : factor(kDefaultFactor), offset(kDefaultOffset) {} in MyExperiment()
25 MyExperiment(int factor, int offset) in MyExperiment()
26 : factor(factor), offset(offset) {} in MyExperiment()
28 int factor; member
38 EXPECT_EQ(MyExperiment::kDefaultFactor, my_exp.factor); in TEST()
46 EXPECT_EQ(5, my_exp.factor); in TEST()
55 EXPECT_EQ(MyExperiment::kDefaultFactor, my_exp.factor); in TEST()
/external/skia/src/core/
DSkGaussFilter.cpp54 auto factor = 1.0; in calculate_bessel_factors() local
58 while(factor > 1.0/1000000.0) { in calculate_bessel_factors()
59 factor *= tSquaredOver4 / (k * k); in calculate_bessel_factors()
60 sum += factor; in calculate_bessel_factors()
69 auto factor = sum; in calculate_bessel_factors() local
71 while (factor > 1.0/1000000.0) { in calculate_bessel_factors()
72 factor *= tSquaredOver4 / (k * (k + 1)); in calculate_bessel_factors()
73 sum += factor; in calculate_bessel_factors()
/external/skqp/src/core/
DSkGaussFilter.cpp54 auto factor = 1.0; in calculate_bessel_factors() local
58 while(factor > 1.0/1000000.0) { in calculate_bessel_factors()
59 factor *= tSquaredOver4 / (k * k); in calculate_bessel_factors()
60 sum += factor; in calculate_bessel_factors()
69 auto factor = sum; in calculate_bessel_factors() local
71 while (factor > 1.0/1000000.0) { in calculate_bessel_factors()
72 factor *= tSquaredOver4 / (k * (k + 1)); in calculate_bessel_factors()
73 sum += factor; in calculate_bessel_factors()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_frame_scale.c95 const int factor = (i == 0 || i == 3 ? 1 : 2); in vp9_scale_and_extend_frame_c() local
99 const int y_q4 = y * (16 / factor) * src_h / dst_h + phase_scaler; in vp9_scale_and_extend_frame_c()
101 const int x_q4 = x * (16 / factor) * src_w / dst_w + phase_scaler; in vp9_scale_and_extend_frame_c()
103 (y / factor) * src_h / dst_h * src_stride + in vp9_scale_and_extend_frame_c()
104 (x / factor) * src_w / dst_w; in vp9_scale_and_extend_frame_c()
105 uint8_t *dst_ptr = dsts[i] + (y / factor) * dst_stride + (x / factor); in vp9_scale_and_extend_frame_c()
109 16 * src_h / dst_h, 16 / factor, 16 / factor); in vp9_scale_and_extend_frame_c()
/external/libopus/tests/
Dtest_opus_decode.c104 int factor=48000/fsv[t>>1]; in test_decoder_code0() local
109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec); in test_decoder_code0()
110 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
112 if(dur!=120/factor)test_failed(); in test_decoder_code0()
115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec); in test_decoder_code0()
119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec); in test_decoder_code0()
120 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec); in test_decoder_code0()
122 if(out_samples!=120/factor)test_failed(); in test_decoder_code0()
123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec); in test_decoder_code0()
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dprob.h65 static INLINE vpx_prob weighted_prob(int prob1, int prob2, int factor) { in weighted_prob() argument
66 return ROUND_POWER_OF_TWO(prob1 * (256 - factor) + prob2 * factor, 8); in weighted_prob()
74 const unsigned int factor = max_update_factor * count / count_sat; in merge_probs() local
75 return weighted_prob(pre_prob, prob, factor); in merge_probs()
91 const unsigned int factor = count_to_update_factor[count]; in mode_mv_merge_probs() local
93 return weighted_prob(pre_prob, prob, factor); in mode_mv_merge_probs()
/external/webrtc/webrtc/common_audio/signal_processing/
Ddownsample_fast_neon.c23 int factor, in WebRtcSpl_DownsampleFastNeon() argument
28 size_t endpos = delay + factor * (data_out_length - 1) + 1; in WebRtcSpl_DownsampleFastNeon()
30 size_t endpos1 = endpos - factor * res; in WebRtcSpl_DownsampleFastNeon()
40 switch (factor) { in WebRtcSpl_DownsampleFastNeon()
172 for (i = delay; i < endpos1; i += factor * 8) { in WebRtcSpl_DownsampleFastNeon()
180 in16x4_0 = vld1_lane_s16(&data_in[i + factor - j], in16x4_0, 1); in WebRtcSpl_DownsampleFastNeon()
181 in16x4_0 = vld1_lane_s16(&data_in[i + factor * 2 - j], in16x4_0, 2); in WebRtcSpl_DownsampleFastNeon()
182 in16x4_0 = vld1_lane_s16(&data_in[i + factor * 3 - j], in16x4_0, 3); in WebRtcSpl_DownsampleFastNeon()
183 int16x4_t in16x4_1 = vld1_dup_s16(&data_in[i + factor * 4 - j]); in WebRtcSpl_DownsampleFastNeon()
184 in16x4_1 = vld1_lane_s16(&data_in[i + factor * 5 - j], in16x4_1, 1); in WebRtcSpl_DownsampleFastNeon()
[all …]
/external/mesa3d/src/mesa/main/
Dlines.c112 _mesa_LineStipple( GLint factor, GLushort pattern ) in _mesa_LineStipple() argument
117 _mesa_debug(ctx, "glLineStipple %d %u\n", factor, pattern); in _mesa_LineStipple()
119 factor = CLAMP( factor, 1, 256 ); in _mesa_LineStipple()
121 if (ctx->Line.StippleFactor == factor && in _mesa_LineStipple()
127 ctx->Line.StippleFactor = factor; in _mesa_LineStipple()
131 ctx->Driver.LineStipple( ctx, factor, pattern ); in _mesa_LineStipple()
/external/google-fruit/examples/scaling_doubles/
Dscaler.cpp27 double factor; member in ScalerImpl
30 …INJECT(ScalerImpl(ASSISTED(double) factor, Multiplier* multiplier)) : multiplier(multiplier), fact… in INJECT() argument
33 return multiplier->multiply(x, factor); in scale()

12345678910>>...41