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

12

/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp251 int64_t diff = timestampUs - seekTimeUs; local
253 if (diff < 0) {
254 diff = -diff;
257 if ((gReproduceBug == 4 && diff > 500000)
/frameworks/av/media/img_utils/src/
H A DTiffIfd.cpp140 size_t diff = (next - last); local
142 if (diff != actual) {
144 mEntries[i]->getTag(), actual, diff);
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp125 audio_coef_t diff = coefs[i] - mCoefs[i]; local
126 if (diff > maxDelta) {
128 } else if (diff < -maxDelta) {
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp41 int32_t diff = self - other; local
42 if (diff >= 0 && diff < INT32_MAX) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp1246 int64_t diff = firstVideoTimeUs - firstAudioTimeUs; local
1248 ALOGV("queueDiff = %.2f secs", diff / 1E6);
1250 if (diff > 100000ll) {
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dadj_thr.c889 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);
H A Dquantize.c349 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...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dsub.cpp39 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/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dc_g_aver.cpp284 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/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.cpp2057 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/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp445 int64_t diff = duration - mLastQueuedTimeUs; local
446 if (diff < kNearEOSMarkUs && diff > -kNearEOSMarkUs) {
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp237 int diff = compareExtendedRangeAndTime(mid, seekTimeUs); local
238 if (diff == 0) {
240 } else if (diff < 0) {
/frameworks/av/services/audioflinger/
H A DThreads.cpp2984 uint32_t diff = mThreadThrottleTimeMs - mThreadThrottleEndMs; local
2985 if (diff > 0) {
2987 ALOGD("mixer(%p) throttle end: throttle time(%u)", this, diff);
/frameworks/base/core/java/android/app/
H A DProgressDialog.java261 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/content/res/
H A DConfiguration.java851 * {@link #diff}.
1015 public int diff(Configuration delta) { method in class:Configuration
1129 int diff = other.seq - seq;
1130 if (diff > 0x10000) {
1135 return diff > 0;
/frameworks/base/core/java/android/os/
H A DWorkSource.java132 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/core/java/android/service/notification/
H A DZenModeConfig.java195 private Diff diff(ZenModeConfig to) { method in class:ZenModeConfig
238 public static Diff diff(ZenModeConfig from, ZenModeConfig to) { method in class:ZenModeConfig
246 return from.diff(to);
/frameworks/base/core/java/android/widget/
H A DProgressBar.java1473 * @param diff the amount by which the progress must be increased
1477 public synchronized final void incrementProgressBy(int diff) { argument
1478 setProgress(mProgress + diff);
1484 * @param diff the amount by which the secondary progress must be increased
1488 public synchronized final void incrementSecondaryProgressBy(int diff) { argument
1489 setSecondaryProgress(mSecondaryProgress + diff);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1865 // The diff value here doesn't make much sense (given our bit packing scheme)
1883 int32_t diff = (int32_t)(imsi - o.imsi); local
1884 if (diff != 0) return diff;
1885 diff = compareLocales(*this, o);
1886 if (diff != 0) return diff;
1887 diff = (int32_t)(screenType - o.screenType);
1888 if (diff != 0) return diff;
1915 int diff = compareLocales(*this, o); local
1968 int ResTable_config::diff(const ResTable_config& o) const { function in class:android::ResTable_config
1988 const int diff = compareLocales(*this, o); local
2042 const int diff = isLocaleMoreSpecificThan(o); local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp41 Point diff = p1 - p0; local
42 return diff.Length();
H A Dstatistics.cpp52 const float diff = value - mean_; local
53 return expf(-diff * diff / exp_denom_) / pdf_denom_;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp40 Point diff = p1 - p0; local
41 return diff.Length();
/frameworks/base/packages/Keyguard/scripts/
H A Dnew_merge.py27 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/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java135 float diff = Math.abs(endValue - currValue);
137 float durationSeconds = LINEAR_OUT_SLOW_IN_START_GRADIENT * diff / velAbs;
145 = new VelocityInterpolator(durationSeconds, velAbs, diff);
203 float diff = Math.abs(endValue - currValue);
209 float durationSeconds = startGradient * diff / velAbs;
218 = new VelocityInterpolator(durationSeconds, velAbs, diff);
286 private VelocityInterpolator(float durationSeconds, float velocity, float diff) { argument
289 mDiff = diff;
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDeviceInfo.java269 return other != null && diff(other) == 0;
276 public int diff(DisplayDeviceInfo other) { method in class:DisplayDeviceInfo
277 int diff = 0;
279 diff |= DIFF_STATE;
303 diff |= DIFF_OTHER;
305 return diff;

Completed in 608 milliseconds

12