/external/speex/libspeex/ |
H A D | sb_celp.c | 428 float ratio; local 449 ratio = 2*log((1.f+e_high)/(1.f+e_low)); 452 if (ratio<-4) 453 ratio=-4; 454 if (ratio>2) 455 ratio=2; 456 /*if (ratio>-2)*/ 461 st->relative_quality+=1.0*(ratio+2); 499 /*fprintf (stderr, "%f %f\n", ratio, low_qual);*/ 1007 /* Calculate reponse ratio betwee [all...] |
/external/valgrind/drd/tests/ |
H A D | matinv.c | 319 double ratio; local 351 ratio = error / (eps * matrix_size); 355 error, eps, ratio); 357 if (isfinite(ratio) && ratio < 100)
|
/external/webrtc/talk/app/webrtc/ |
H A D | videosource.cc | 166 // The aspect ratio in |constraint.value| has been converted to a string and 171 // ratio but small enough to avoid matching wrong aspect ratios. 172 double ratio = static_cast<double>(format_in.width) / format_in.height; local 173 return (value <= ratio + kRoundingTruncation); 176 double ratio = static_cast<double>(format_in.width) / format_in.height; local 179 return (value >= ratio - kRoundingTruncation);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
H A D | pitch_estimator.c | 133 double ratio, log_lag, gain_bias; local 189 ratio = log((double) (k + (PITCH_MIN_LAG/2-2))) - log_lag; 190 bias = 1.0 + gain_bias * exp(-5.0 * ratio * ratio); 222 ratio = ((double) (ind1 + 12)) / ((double) (ind2 + 12)); 223 adj = 0.2 * ratio * (2.0 - ratio); /* adjustment factor; inverse parabola as a function of ratio */ 243 ratio = ((double) (ind1 + 12)) / ((double) (ind2 + 12)); 244 adj = 0.9 * ratio * (2. [all...] |
/external/zlib/src/contrib/minizip/ |
H A D | miniunz.c | 250 uLong ratio=0; local 260 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 291 ratio, 327 uLong ratio=0; local
|
/external/ImageMagick/MagickCore/ |
H A D | segment.c | 117 #define SegmentPower(ratio) (ratio) 120 #define SegmentPower(ratio) pow(ratio,(double) (1.0/(weighting_exponent-1.0))); 598 ratio, 631 ratio=numerator/distance_squared; 632 sum+=SegmentPower(ratio); 592 ratio, local
|
/external/e2fsprogs/misc/ |
H A D | dumpe2fs.c | 84 unsigned long num, unsigned long offset, int ratio) 90 offset /= ratio; 97 print_number((i + offset) * ratio); 102 print_number((j + offset) * ratio); 83 print_free(unsigned long group, char * bitmap, unsigned long num, unsigned long offset, int ratio) argument
|
/external/fio/t/ |
H A D | dedupe.c | 482 double perc, ratio; local 487 ratio = (double) nextents / (double) nchunks; 488 printf("De-dupe ratio: 1:%3.2f\n", ratio - 1.0); 490 printf("De-dupe ratio: 1:infinite\n");
|
/external/freetype/src/truetype/ |
H A D | ttobjs.h | 212 /* - When performing a read or write in the CVT, a ratio factor is used */ 224 /* We compute the current ratio like: */ 227 /* ratio = x_ratio = 1.0 */ 230 /* ratio = y_ratio */ 233 /* ratio = sqrt( (proj.x * x_ratio) ^ 2 + (proj.y * y_ratio) ^ 2 ) */ 236 /* ratio * cvt[index] */ 239 /* cvt[index] / ratio */ 242 /* ratio * ppem */ 258 FT_Long ratio; /* current ratio */ member in struct:TT_Size_Metrics_ [all...] |
/external/icu/icu4c/source/tools/makeconv/ |
H A D | gencnvex.c | 332 int32_t u16Length, ratio; local 375 ratio=(u16Length+(m->bLen-1))/m->bLen; 376 if(ratio>extData->maxUCharsPerByte) { 377 extData->maxUCharsPerByte=ratio; 638 int32_t u16Length, ratio; local 693 ratio=(m->bLen+(u16Length-1))/u16Length; 694 if(ratio>extData->maxBytesPerUChar) { 695 extData->maxBytesPerUChar=ratio;
|
/external/libevent/test/ |
H A D | test-ratelim.c | 546 double ratio; local 583 seconds_per_tick = ratio = cfg_tick_msec / 1000.0; 585 cfg_connlimit *= ratio; 586 cfg_grouplimit *= ratio;
|
/external/lmfit/lib/ |
H A D | lmmin.c | 128 double actred, dirder, fnorm, fnorm1, gnorm, pnorm, prered, ratio, step, local 359 " ratio dirder delta" 436 ratio = prered ? actred / prered : 0; 444 outer, inner, lmpar, prered, ratio, 452 if (ratio <= 0.25) { 461 } else if (ratio >= 0.75) { 470 inner_success = ratio >= 1e-4; 498 if (fabs(actred) <= C->ftol && prered <= C->ftol && ratio <= 2) 512 ratio <= 2) {
|
/external/ppp/pppd/include/net/ |
H A D | ppp_defs.h | 184 unsigned int ratio; /* recent compression ratio << 8 */ member in struct:compstat
|
/external/skia/src/pathops/ |
H A D | SkPathOpsQuad.cpp | 348 static int valid_unit_divide(double numer, double denom, double* ratio) argument 361 *ratio = r;
|
/external/skqp/src/pathops/ |
H A D | SkPathOpsQuad.cpp | 345 static int valid_unit_divide(double numer, double denom, double* ratio) argument 358 *ratio = r;
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | quantized_resize_bilinear_op_test.cc | 40 const int channels, const float ratio, const float min, 46 FloatToQuantized<T>(static_cast<float>(i) / ratio, min, max); 54 const float ratio, const float min, const float max) { 57 tensor.flat<float>()(i) = static_cast<float>(i) / ratio; 39 BuildTensor(const int batch_size, const int height, const int width, const int channels, const float ratio, const float min, const float max) argument 52 BuildTensor(const int batch_size, const int height, const int width, const int channels, const float ratio, const float min, const float max) argument
|
/external/tensorflow/tensorflow/core/lib/jpeg/ |
H A D | jpeg_mem.cc | 88 const int ratio = flags.ratio; local 93 // Can't decode if the ratio is not recognized by libjpeg 94 if ((ratio != 1) && (ratio != 2) && (ratio != 4) && (ratio != 8)) { 130 // set grayscale and ratio parameters 152 cinfo.scale_denom = ratio;
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
H A D | nonlinear_beamformer.cc | 469 float ratio = 0.f; local 471 ratio = rpsiw / rpsim; 474 return (1.f - std::min(kCutOffConstant, ratio / rmw_r)) / 475 (1.f - std::min(kCutOffConstant, ratio / ratio_rxiw_rxim));
|
/external/webrtc/webrtc/modules/video_coding/ |
H A D | media_opt_util.cc | 225 // Default: ratio scales the FEC protection up for I frames 226 uint8_t ratio = 1; local 229 ratio = (int8_t)(packetFrameKey / packetFrameDelta); 231 ratio = VCM_MAX(boostRateKey, ratio); 233 return ratio; 349 // The boost factor may depend on several factors: ratio of packet
|
/external/adhd/cras/src/dsp/ |
H A D | drc_kernel.c | 49 dk->ratio = uninitialized_value; 124 * is equal to the inverse of the compression "ratio". In other words, a 125 * compression ratio of 20 would be a slope of 1/20. 178 float db_knee, float ratio) 181 ratio != dk->ratio) { 188 dk->ratio = ratio; 189 dk->slope = 1 / dk->ratio; 191 float k = k_at_slope(dk, 1 / dk->ratio); 176 update_static_curve_parameters(struct drc_kernel *dk, float db_threshold, float db_knee, float ratio) argument 243 dk_set_parameters(struct drc_kernel *dk, float db_threshold, float db_knee, float ratio, float attack_time, float release_time, float pre_delay_time, float db_post_gain, float releaseZone1, float releaseZone2, float releaseZone3, float releaseZone4) argument [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pShaderOptimizationTests.cpp | 284 const float ratio = unoptimizedRelevantResult / optimizedRelevantResult; local 285 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; 287 log << TestLog::Message << "Unoptimized / optimized " << relevantResultName << " performance ratio: " << ratio << TestLog::EndMessage; 294 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::floatToString(ratio, 2).c_str());
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderOptimizationTests.cpp | 287 const float ratio = unoptimizedRelevantResult / optimizedRelevantResult; local 288 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; 290 log << TestLog::Message << "Unoptimized / optimized " << relevantResultName << " performance ratio: " << ratio << TestLog::EndMessage; 297 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::floatToString(ratio, 2).c_str());
|
/external/libopus/celt/ |
H A D | celt_decoder.c | 743 opus_val16 ratio = celt_sqrt(frac_div32(SHR32(S1,1)+1,S2+1)); local 747 - MULT16_16_Q15(window[i], Q15ONE-ratio); 754 MULT16_32_Q15(ratio, buf[DECODE_BUFFER_SIZE-N+i]);
|
/external/libopus/src/ |
H A D | analysis.c | 667 float ratio; local 669 ratio = tonal->prev_bandwidth==20 ? 0.03f : 0.07f; 679 if (E>ratio*bandwidth_mask && E*1e9f > maxE && E > noise_floor*160)
|
/external/libxaac/decoder/ |
H A D | ixheaacd_arith_dec.c | 1635 FLOAT32 ratio; local 1651 ratio = (FLOAT32)(prev_n) / (FLOAT32)(pres_n); 1653 k = (WORD32)((FLOAT32)(i)*ratio);
|