/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | sub.cpp | 39 Description: Changed all occurrences of L_diff to diff, deleted "short" in 113 diff = 16-bit limited difference between var1 and var2 (Word16) 146 Word32 diff; 148 diff = (Word32) var1 - var2; 154 var_out = saturate (diff); 193 Word32 diff; local 195 diff = (Word32) var1 - var2; 199 /* to conserve MIPS, i.e., var_out = saturate (diff) */ 202 if ((UWord32)(diff - 0xFFFF8000L) > 0x000FFFF) 204 if (diff > (Word3 [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | statistics.cpp | 52 const float diff = value - mean_; local 53 return expf(-diff * diff / exp_denom_) / pdf_denom_;
|
H A D | geometry.cpp | 41 Point diff = p1 - p0; local 42 return diff.Length();
|
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 39 entry.second = mDefault.diff(entry.first); 60 uint32_t mask = mDefault.diff(config); 70 uint32_t diff = entry.first.diff(config); local 71 if ((diff & entry.second) == 0) { 74 } else if ((diff & entry.second) == ResTable_config::CONFIG_LOCALE) { 84 } else if ((diff & entry.second) == ResTable_config::CONFIG_SMALLEST_SCREEN_SIZE) {
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | c_g_aver.cpp | 284 Word16 cbGainMix, diff, tmp_diff, bgMix, cbGainMean; 320 diff = tmp[0]; 322 diff = add(diff, tmp[i]); // Q13 326 if (sub(diff, 5325) > 0) // 0.65 in Q11 352 // bgMix = min(0.25, max(0.0, diff-0.55)) / 0.25; 353 tmp_diff = sub(diff, 4506); // 0.55 in Q13 355 // max(0.0, diff-0.55) 377 // bgMix = min(0.25, max(0.0, diff-0.40)) / 0.25; 378 tmp_diff = sub(diff, 327 480 Word16 diff; local [all...] |
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 40 Point diff = p1 - p0; local 41 return diff.Length();
|
/frameworks/base/packages/Keyguard/scripts/ |
H A D | new_merge.py | 27 DIFF_TOOLS=["meld", "kdiff3", "xdiff", "diffmerge.sh", "diff"] 76 print "Running diff for: %s" %(file) 77 diff(sourceFile, destFile) 81 diff(sourceFile, destFile) 96 pipe = Popen(['git', 'diff', '--name-only', argv[1]], stdout=PIPE).stdout 150 def diff(file1, file2): function
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.cpp | 125 audio_coef_t diff = coefs[i] - mCoefs[i]; local 126 if (diff > maxDelta) { 128 } else if (diff < -maxDelta) {
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | quantize.c | 349 Word32 diff; local 364 diff = saShft - repquat[0]; 365 distSingle = (diff * diff) >> g2; 370 diff = saShft - repquat[1]; 371 distSingle = (diff * diff) >> g2; 376 diff = saShft - repquat[2]; 377 distSingle = (diff * diff) >> g 399 Word32 diff; local [all...] |
H A D | adj_thr.c | 889 Word16 diff; local 896 diff = currPe - *peMax ; 898 if (diff > 0) { 899 *peMin = *peMin + ((diff * minFacHi) / 100); 900 *peMax = *peMax + ((diff * maxFacHi) / 100); 902 diff = *peMin - currPe; 904 if (diff > 0) { 905 *peMin = *peMin - ((diff * minFacLo) / 100); 906 *peMax = *peMax - ((diff * maxFacLo) / 100);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | AnotherPacketSource.cpp | 406 int64_t diff = duration - mLastQueuedTimeUs; local 407 if (diff < kNearEOSMarkUs && diff > -kNearEOSMarkUs) {
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 237 int diff = compareExtendedRangeAndTime(mid, seekTimeUs); local 238 if (diff == 0) { 240 } else if (diff < 0) {
|
/frameworks/base/core/java/android/app/ |
H A D | ProgressDialog.java | 261 public void incrementProgressBy(int diff) { argument 263 mProgress.incrementProgressBy(diff); 266 mIncrementBy += diff; 270 public void incrementSecondaryProgressBy(int diff) { argument 272 mProgress.incrementSecondaryProgressBy(diff); 275 mIncrementSecondaryBy += diff;
|
/frameworks/base/core/java/android/os/ |
H A D | WorkSource.java | 132 return o instanceof WorkSource && !diff((WorkSource)o); 154 public boolean diff(WorkSource other) { method in class:WorkSource 299 int diff = mNames[i].compareTo(name); 300 if (diff > 0) { 303 if (diff == 0) { 528 final int diff = mUids[i1] - other.mUids[i2]; 529 if (diff != 0) { 530 return diff; 554 int diff = -1; 555 if (i1 >= mNum || (i2 < N2 && (diff [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | FlingAnimationUtils.java | 136 float diff = Math.abs(endValue - currValue); 138 float durationSeconds = LINEAR_OUT_SLOW_IN_START_GRADIENT * diff / velAbs; 146 = new VelocityInterpolator(durationSeconds, velAbs, diff); 204 float diff = Math.abs(endValue - currValue); 210 float durationSeconds = startGradient * diff / velAbs; 219 = new VelocityInterpolator(durationSeconds, velAbs, diff); 287 private VelocityInterpolator(float durationSeconds, float velocity, float diff) { argument 290 mDiff = diff;
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 140 size_t diff = (next - last); local 142 if (diff != actual) { 144 mEntries[i]->getTag(), actual, diff);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SearchPanelCircleView.java | 209 float diff = circleSize - mCircleAnimationEndValue; 211 values[0].setFloatValues(diff, circleSize); 356 private float rubberband(float diff) { argument 357 return (float) Math.pow(Math.abs(diff), 0.6f);
|
/frameworks/native/libs/gui/tests/ |
H A D | SRGB_test.cpp | 222 int diff = a - b; local 223 return diff >= 0 ? diff <= TOLERANCE : -diff <= TOLERANCE;
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 249 int64_t diff = timestampUs - seekTimeUs; local 251 if (diff < 0) { 252 diff = -diff; 255 if ((gReproduceBug == 4 && diff > 500000)
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 1025 int64_t diff = firstVideoTimeUs - firstAudioTimeUs; local 1027 ALOGV("queueDiff = %.2f secs", diff / 1E6); 1029 if (diff > 100000ll) {
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 46 | base col1 | base col2 | table | table |diff|flip| 61 | base col 1 | dcol 2 | table | table |diff|flip| 162 inline int convertDiff(int base, int diff) { argument 163 return convert5To8((0x1f & base) + kLookup[0x7 & diff]);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.cpp | 2057 Int diff, QPtmp; local 2421 diff = PV_ABS(QPtmp); 2422 S2 += diff; 2437 diff = PV_ABS(QPtmp); 2438 S2 += diff; 2470 //if (diff > 2047)
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 822 * {@link #diff}. 986 public int diff(Configuration delta) { method in class:Configuration 1100 int diff = other.seq - seq; 1101 if (diff > 0x10000) { 1106 return diff > 0;
|
/frameworks/base/core/java/android/widget/ |
H A D | ProgressBar.java | 1433 * @param diff the amount by which the progress must be increased 1437 public synchronized final void incrementProgressBy(int diff) { argument 1438 setProgress(mProgress + diff); 1444 * @param diff the amount by which the secondary progress must be increased 1448 public synchronized final void incrementSecondaryProgressBy(int diff) { argument 1449 setSecondaryProgress(mSecondaryProgress + diff);
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 2309 uint64_t diff = vma - got.addr() - got.size(); local 2311 got.setOffset(got.offset() + diff);
|