Searched defs:diff (Results 1 - 25 of 623) sorted by path

1234567891011>>

/external/aac/libAACdec/src/
H A Dconceal.cpp1475 FIXP_SGL diff = fixp_abs((pFactor[i]>>1) - referenceVal); local
1476 if (diff < minDiff) {
1477 minDiff = diff;
/external/aac/libAACenc/src/
H A Dadj_thr.cpp2024 INT diff; local
2030 diff = (currPe-*peMax) ;
2031 *peMin += fMultI(minFacHi,diff);
2032 *peMax += fMultI(maxFacHi,diff);
2036 diff = (*peMin-currPe) ;
2037 *peMin -= fMultI(minFacLo,diff);
2038 *peMax -= fMultI(maxFacLo,diff);
2421 * diff = amp * ((bitsBalLast - headroom) / (bitresLevel + headroom)
2422 * diff = max ( min ( diff, maxDif
2427 FIXP_DBL diff = (bitsBalLast>=headroom) local
[all...]
H A Dquantize.cpp304 FIXP_DBL diff; local
323 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1));
325 scale = CountLeadingBits(diff);
326 diff = scaleValue(diff, scale);
327 diff = fPow2(diff);
330 diff = scaleValue(diff, -scale);
332 xfsf = xfsf + diff;
359 FIXP_DBL diff; local
[all...]
/external/aac/libFDK/src/
H A Dqmf.cpp1165 int diff; local
1173 diff = synQmf->outScalefactor - outScalefactor;
1175 qmfAdaptFilterStates(synQmf, diff);
/external/aac/libSBRdec/src/
H A Denv_calc.cpp1186 int diff; local
1189 diff = (int) (nrgGain_e[band] - filtBuffer_e[band]);
1190 if (diff>0) {
1191 filtBuffer[band] >>= diff; /* Compensate for the scale change by shifting the mantissa. */ local
1192 filtBuffer_e[band] += diff; /* New gain is bigger, use its exponent */
1194 else if (diff<0) {
1200 if ((-diff) <= reserve) {
1204 filtBuffer[band] <<= (-diff);
1205 filtBuffer_e[band] += diff; /* becomes equal to *ptrNewExp */
1212 diff
1213 nrgGain[band] >>= diff; local
[all...]
H A Dsbrdec_freq_sca.cpp102 static void CalcBands(UCHAR * diff, UCHAR start, UCHAR stop, UCHAR num_bands);
103 static SBR_ERROR modifyBands(UCHAR max_band, UCHAR * diff, UCHAR length);
104 static void cumSum(UCHAR start_value, UCHAR* diff, UCHAR length, UCHAR *start_adress);
397 /* Adjust diff vector to get sepc. SBR range */
526 CalcBands(UCHAR * diff, /*!< Vector of widths to be calculated */ argument
552 diff[i] = previous - current;
562 cumSum(UCHAR start_value, UCHAR* diff, UCHAR length, UCHAR *start_adress) argument
567 start_adress[i] = start_adress[i-1] + diff[i-1];
579 modifyBands(UCHAR max_band_previous, UCHAR * diff, UCHAR length) argument
581 int change = max_band_previous - diff[
[all...]
/external/aac/libSBRenc/src/
H A Dmh_det.cpp148 static void diff(FIXP_DBL *RESTRICT pTonalityOrig, function
313 diff(pQuotaBuffer[est+move],
H A Dnf_est.cpp181 FIXP_DBL meanOrig=FL2FXCONST_DBL(0.0f), meanSbr=FL2FXCONST_DBL(0.0f), diff; local
244 diff = RELAXATION;
249 diff = fixMax( RELAXATION,
258 accu = fDivNorm(diff, meanOrig, &scale);
H A Dps_encode.cpp231 quantErr += (fixp_abs(input[band]-quantTable[idx])>>PS_QUANT_SCALE); /* don't scale before subtraction; diff smaller (64-25)/64 */
521 INT diff = 0; local
531 diff = fixp_abs(psData->iidIdx[env][b] - psData->iidIdxLast[b]);
532 sumDiff += diff;
533 if ( (diff > diffThr) /* more than x quantization steps in any band */
553 INT diff = 0; local
563 diff = fixp_abs(psData->iccIdx[env][b] - psData->iccIdxLast[b]);
564 sumDiff += diff;
565 if ( (diff > diffThr) /* more than x quantisation step in any band */
H A Dsbrenc_freq_sca.cpp102 static void CalcBands(INT * diff, INT start , INT stop , INT num_bands);
103 static INT modifyBands(INT max_band, INT * diff, INT length);
104 static void cumSum(INT start_value, INT* diff, INT length, UCHAR *start_adress);
528 /* Adjust diff vector to get sepc. SBR range */
559 CalcBands(INT * diff, INT start , INT stop , INT num_bands) argument
575 diff[i-1] = current-previous;
583 cumSum(INT start_value, INT* diff, INT length, UCHAR *start_adress) argument
588 start_adress[i]=start_adress[i-1]+diff[i-1];
593 modifyBands(INT max_band_previous, INT * diff, INT length) argument
595 INT change=max_band_previous-diff[
[all...]
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DTestCertUtils.java309 private String diff = null; field in class:TestCertUtils.TestCertificate
323 public TestCertificate(String diff) { argument
325 this.diff = diff;
330 * diff. Leave the <code>diff</code> null when no difference needed.
332 * @param diff
335 public TestCertificate(String diff, String type) { argument
337 this.diff = diff;
[all...]
/external/arduino/hardware/arduino/cores/arduino/
H A DWMath.cpp50 long diff = howbig - howsmall; local
51 return random(diff) + howsmall;
/external/bison/lib/
H A Dstrverscmp.c34 /* result_type: CMP: return diff; LEN: compare using len_diff/diff */
67 int diff; local
103 while ((diff = c1 - c2) == 0 && c1 != '\0')
116 return diff;
123 return ISDIGIT (*p2) ? -1 : diff;
/external/blktrace/
H A Dstrverscmp.c79 /* result_type: CMP: return diff; LEN: compare using len_diff/diff */
95 int diff; local
131 while ((diff = c1 - c2) == 0 && c1 != '\0')
144 return diff;
151 return isdigit (*p2) ? -1 : diff;
/external/bluetooth/bluedroid/stack/bnep/
H A Dbnep_utils.c555 UINT16 xx, diff = BNEP_MINIMUM_OFFSET - p_buf->offset; local
558 p[diff] = *p;
/external/bluetooth/bluedroid/stack/smp/
H A Dsmp_cmac.c297 UINT16 len, diff; local
313 diff = len - length;
317 memcpy(&cmac_cb.text[diff] , input, (int)length);
/external/ceres-solver/internal/ceres/
H A Diterative_schur_complement_solver_test.cc101 double diff = (isc_sol - reference_solution).norm(); local
102 if (diff < kEpsilon) {
107 << " solution by " << diff << " which is more than " << kEpsilon;
H A Dschur_eliminator_test.cc177 double diff = delta.norm(); local
178 EXPECT_NEAR(diff / lhs_expected.norm(), 0.0, relative_tolerance);
H A Dtrust_region_minimizer_test.cc326 const double diff = parameters[prev][dim] - parameters[i][dim]; local
327 length += diff * diff;
/external/chromium_org/android_webview/renderer/
H A Dprint_web_view_helper.cc1638 base::TimeDelta diff = base::Time::Now() - last_cancelled_script_print_; local
1646 if (diff.InSeconds() < min_wait_seconds) {
/external/chromium_org/ash/shelf/
H A Dshelf_layout_manager.cc893 float diff = fabsf(gesture_drag_amount_) - resistance_free_region; local
894 diff = std::min(diff, sqrtf(diff));
896 translate = -resistance_free_region - diff;
898 translate = resistance_free_region + diff;
/external/chromium_org/ash/touch/
H A Dtouch_uma.cc150 base::TimeDelta diff = event.time_stamp() - details->last_mt_time_; local
151 if (diff.InSeconds() > 30) {
/external/chromium_org/ash/wm/
H A Ddrag_window_resizer.cc113 int diff = bounds.width() - size.width(); local
114 bounds.set_x(bounds.x() + diff / 2);
/external/chromium_org/base/metrics/
H A Dhistogram_samples.cc121 void HistogramSamples::IncreaseSum(int64 diff) { argument
122 sum_ += diff;
125 void HistogramSamples::IncreaseRedundantCount(HistogramBase::Count diff) { argument
127 subtle::NoBarrier_Load(&redundant_count_) + diff);

Completed in 827 milliseconds

1234567891011>>