Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 929) sorted by relevance

12345678910>>...38

/external/webrtc/src/common_audio/signal_processing/
Dresample_by_2_internal.c34 WebRtc_Word32 tmp0, tmp1, diff; in WebRtcSpl_DownBy2IntToShort() local
43 diff = tmp0 - state[1]; in WebRtcSpl_DownBy2IntToShort()
45 diff = (diff + (1 << 13)) >> 14; in WebRtcSpl_DownBy2IntToShort()
46 tmp1 = state[0] + diff * kResampleAllpass[1][0]; in WebRtcSpl_DownBy2IntToShort()
48 diff = tmp1 - state[2]; in WebRtcSpl_DownBy2IntToShort()
50 diff = diff >> 14; in WebRtcSpl_DownBy2IntToShort()
51 if (diff < 0) in WebRtcSpl_DownBy2IntToShort()
52 diff += 1; in WebRtcSpl_DownBy2IntToShort()
53 tmp0 = state[1] + diff * kResampleAllpass[1][1]; in WebRtcSpl_DownBy2IntToShort()
55 diff = tmp0 - state[3]; in WebRtcSpl_DownBy2IntToShort()
[all …]
Dresample_by_2.c31 WebRtc_Word32 diff, in MUL_ACCUM_1() argument
34 __asm__("smlawb %0, %1, %2, %3": "=r"(result): "r"(diff), in MUL_ACCUM_1()
47 WebRtc_Word32 diff, in MUL_ACCUM_2() argument
50 __asm__("smmla %0, %1, %2, %3": "=r"(result): "r"(diff << 1), in MUL_ACCUM_2()
71 WebRtc_Word32 tmp1, tmp2, diff, in32, out32; in WebRtcSpl_DownsampleBy2() local
86 diff = in32 - state1; in WebRtcSpl_DownsampleBy2()
87 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
89 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2()
90 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2()
92 diff = tmp2 - state3; in WebRtcSpl_DownsampleBy2()
[all …]
Dsplitting_filter.c67 WebRtc_Word32 diff; in WebRtcSpl_AllPassQMF() local
75 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[0], filter_state[1]); // = (x[0] - y_1[-1]) in WebRtcSpl_AllPassQMF()
77 out_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, filter_state[0]); in WebRtcSpl_AllPassQMF()
82 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[k], out_data[k - 1]); // = (x[n] - y_1[n-1]) in WebRtcSpl_AllPassQMF()
84 out_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, in_data[k - 1]); in WebRtcSpl_AllPassQMF()
92 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[0], filter_state[3]); // = (y_1[0] - y_2[-1]) in WebRtcSpl_AllPassQMF()
94 in_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, filter_state[2]); in WebRtcSpl_AllPassQMF()
97 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[k], in_data[k - 1]); // =(y_1[n] - y_2[n-1]) in WebRtcSpl_AllPassQMF()
99 in_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, out_data[k-1]); in WebRtcSpl_AllPassQMF()
106 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[0], filter_state[5]); // = (y_2[0] - y[-1]) in WebRtcSpl_AllPassQMF()
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/QA/
DdiffiSAC.txt4 diff ../dataqa350/i30_1DTMF_16kHz_long.pcm ../dataqa351/i30_1DTMF_16kHz_long.pcm
5 diff ../dataqa350/i60_1DTMF_16kHz_long.pcm ../dataqa351/i60_1DTMF_16kHz_long.pcm
6 diff ../dataqa350/i30_2DTMF_16kHz_long.pcm ../dataqa351/i30_2DTMF_16kHz_long.pcm
7 diff ../dataqa350/i60_2DTMF_16kHz_long.pcm ../dataqa351/i60_2DTMF_16kHz_long.pcm
8 diff ../dataqa350/i30_3DTMF_16kHz_long.pcm ../dataqa351/i30_3DTMF_16kHz_long.pcm
9 diff ../dataqa350/i60_3DTMF_16kHz_long.pcm ../dataqa351/i60_3DTMF_16kHz_long.pcm
10 diff ../dataqa350/i30_4DTMF_16kHz_long.pcm ../dataqa351/i30_4DTMF_16kHz_long.pcm
11 diff ../dataqa350/i60_4DTMF_16kHz_long.pcm ../dataqa351/i60_4DTMF_16kHz_long.pcm
12 diff ../dataqa350/i30_5DTMF_16kHz_long.pcm ../dataqa351/i30_5DTMF_16kHz_long.pcm
13 diff ../dataqa350/i60_5DTMF_16kHz_long.pcm ../dataqa351/i60_5DTMF_16kHz_long.pcm
[all …]
DdiffiSACPLC.txt10 diff $OUTDIR1/outplc1.pcm $OUTDIR2/outplc1.pcm
11 diff $OUTDIR1/outplc2.pcm $OUTDIR2/outplc2.pcm
12 diff $OUTDIR1/outplc3.pcm $OUTDIR2/outplc3.pcm
13 diff $OUTDIR1/outplc4.pcm $OUTDIR2/outplc4.pcm
14 diff $OUTDIR1/outplc5.pcm $OUTDIR2/outplc5.pcm
15 diff $OUTDIR1/outplc6.pcm $OUTDIR2/outplc6.pcm
/external/icu/icu4c/source/common/
Ducnvbocu.cpp215 #define DIFF_IS_SINGLE(diff) (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1) argument
218 #define PACK_SINGLE_DIFF(diff) (BOCU1_MIDDLE+(diff)) argument
221 #define DIFF_IS_DOUBLE(diff) (BOCU1_REACH_NEG_2<=(diff) && (diff)<=BOCU1_REACH_POS_2) argument
285 packDiff(int32_t diff) { in packDiff() argument
288 … U_ASSERT(!DIFF_IS_SINGLE(diff)); /* assume we won't be called where diff==BOCU1_REACH_NEG_1=-64 */ in packDiff()
289 if(diff>=BOCU1_REACH_NEG_1) { in packDiff()
292 if(diff<=BOCU1_REACH_POS_1) { in packDiff()
294 return 0x01000000|(BOCU1_MIDDLE+diff); in packDiff()
297 if(diff<=BOCU1_REACH_POS_2) { in packDiff()
299 diff-=BOCU1_REACH_POS_1+1; in packDiff()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetBOCU1.java208 private static boolean DIFF_IS_SINGLE(int diff){ in DIFF_IS_SINGLE() argument
209 return (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1); in DIFF_IS_SINGLE()
213 private static int PACK_SINGLE_DIFF(int diff){ in PACK_SINGLE_DIFF() argument
214 return (BOCU1_MIDDLE+(diff)); in PACK_SINGLE_DIFF()
218 private static boolean DIFF_IS_DOUBLE(int diff){ in DIFF_IS_DOUBLE() argument
219 return (BOCU1_REACH_NEG_2<=(diff) && (diff)<=BOCU1_REACH_POS_2); in DIFF_IS_DOUBLE()
235 int prev, c , diff; field in CharsetBOCU1.CharsetEncoderBOCU
263 diff = n; in NEGDIVMOD()
264 (m)=(diff)%(d); in NEGDIVMOD()
265 (diff)/=(d); in NEGDIVMOD()
[all …]
/external/libavc/common/x86/
Dih264_deblk_chroma_ssse3.c110 __m128i diff, alpha_cbcr_16x8, beta_cbcr_16x8; in ih264_deblk_chroma_vert_bs4_ssse3() local
145 diff = _mm_subs_epi16(p0_uv_8x16, q0_uv_8x16); //Condn 1 in ih264_deblk_chroma_vert_bs4_ssse3()
146 diff = _mm_abs_epi16(diff); in ih264_deblk_chroma_vert_bs4_ssse3()
148 flag1 = _mm_cmpgt_epi16(alpha_cbcr_16x8, diff); in ih264_deblk_chroma_vert_bs4_ssse3()
150 diff = _mm_subs_epi16(q1_uv_8x16, q0_uv_8x16); //Condtn 2 in ih264_deblk_chroma_vert_bs4_ssse3()
151 diff = _mm_abs_epi16(diff); in ih264_deblk_chroma_vert_bs4_ssse3()
153 flag1 = _mm_and_si128(flag1, _mm_cmpgt_epi16(beta_cbcr_16x8, diff)); in ih264_deblk_chroma_vert_bs4_ssse3()
155 diff = _mm_subs_epi16(p1_uv_8x16, p0_uv_8x16); //Condtn 3 in ih264_deblk_chroma_vert_bs4_ssse3()
156 diff = _mm_abs_epi16(diff); in ih264_deblk_chroma_vert_bs4_ssse3()
157 flag1 = _mm_and_si128(flag1, _mm_cmpgt_epi16(beta_cbcr_16x8, diff)); in ih264_deblk_chroma_vert_bs4_ssse3()
[all …]
/external/icu/icu4c/source/i18n/
Dbocsu.cpp31 u_writeDiff(int32_t diff, uint8_t *p) { in u_writeDiff() argument
32 if(diff>=SLOPE_REACH_NEG_1) { in u_writeDiff()
33 if(diff<=SLOPE_REACH_POS_1) { in u_writeDiff()
34 *p++=(uint8_t)(SLOPE_MIDDLE+diff); in u_writeDiff()
35 } else if(diff<=SLOPE_REACH_POS_2) { in u_writeDiff()
36 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT)); in u_writeDiff()
37 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
38 } else if(diff<=SLOPE_REACH_POS_3) { in u_writeDiff()
39 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
40 diff/=SLOPE_TAIL_COUNT; in u_writeDiff()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DBOCSU.java256 private static final int writeDiff(int diff, byte buffer[], int offset) in writeDiff() argument
258 if (diff >= SLOPE_REACH_NEG_1_) { in writeDiff()
259 if (diff <= SLOPE_REACH_POS_1_) { in writeDiff()
260 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff); in writeDiff()
262 else if (diff <= SLOPE_REACH_POS_2_) { in writeDiff()
264 + (diff / SLOPE_TAIL_COUNT_)); in writeDiff()
266 (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
268 else if (diff <= SLOPE_REACH_POS_3_) { in writeDiff()
270 + (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
271 diff /= SLOPE_TAIL_COUNT_; in writeDiff()
[all …]
/external/llvm/test/tools/llvm-cov/
Dllvm-cov.test14 RUN: llvm-cov gcov test.c | diff -u test_no_options.output -
15 RUN: diff -aub test_no_options.cpp.gcov test.cpp.gcov
16 RUN: diff -aub test_no_options.h.gcov test.h.gcov
21 RUN: llvm-cov gcov -o objdir test.c | diff -u test_no_options.output -
22 RUN: diff -aub test_objdir.cpp.gcov test.cpp.gcov
23 RUN: diff -aub test_objdir.h.gcov test.h.gcov
26 RUN: llvm-cov gcov -o objdir/test.o test.c | diff -u test_no_options.output -
27 RUN: diff -aub test_objdir.cpp.gcov test.cpp.gcov
28 RUN: diff -aub test_objdir.h.gcov test.h.gcov
31 RUN: llvm-cov gcov -o objdir/test test.c | diff -u test_no_options.output -
[all …]
/external/skia/tools/
Dskdiff_html.cpp79 static void print_pixel_count(SkFILEWStream* stream, const DiffRecord& diff) { in print_pixel_count() argument
81 stream->writeDecAsText(static_cast<int>(diff.fFractionDifference * in print_pixel_count()
82 diff.fBase.fBitmap.width() * in print_pixel_count()
83 diff.fBase.fBitmap.height())); in print_pixel_count()
93 static void print_checkbox_cell(SkFILEWStream* stream, const DiffRecord& diff) { in print_checkbox_cell() argument
95 stream->writeText(diff.fBase.fFilename.c_str()); in print_checkbox_cell()
99 static void print_label_cell(SkFILEWStream* stream, const DiffRecord& diff) { in print_label_cell() argument
103 stream->writeText(diff.fBase.fFilename.c_str()); in print_label_cell()
105 switch (diff.fResult) { in print_label_cell()
116 sprintf(metricBuf, "%.4f%%", 100 * diff.fFractionDifference); in print_label_cell()
[all …]
/external/slf4j/
D.gitattributes5 *.cs diff=csharp
13 *.doc diff=astextplain
14 *.DOC diff=astextplain
15 *.docx diff=astextplain
16 *.DOCX diff=astextplain
17 *.dot diff=astextplain
18 *.DOT diff=astextplain
19 *.pdf diff=astextplain
20 *.PDF diff=astextplain
21 *.rtf diff=astextplain
[all …]
/external/webp/src/utils/
Drandom.h41 int diff; in VP8RandomBits2() local
43 diff = rg->tab_[rg->index1_] - rg->tab_[rg->index2_]; in VP8RandomBits2()
44 if (diff < 0) diff += (1u << 31); in VP8RandomBits2()
45 rg->tab_[rg->index1_] = diff; in VP8RandomBits2()
49 diff = (int)((uint32_t)diff << 1) >> (32 - num_bits); in VP8RandomBits2()
50 diff = (diff * amp) >> VP8_RANDOM_DITHER_FIX; // restrict range in VP8RandomBits2()
51 diff += 1 << (num_bits - 1); // shift back to 0.5-center in VP8RandomBits2()
52 return diff; in VP8RandomBits2()
/external/tcpdump/
D.gitattributes8 *.cs diff=csharp
16 *.doc diff=astextplain
17 *.DOC diff=astextplain
18 *.docx diff=astextplain
19 *.DOCX diff=astextplain
20 *.dot diff=astextplain
21 *.DOT diff=astextplain
22 *.pdf diff=astextplain
23 *.PDF diff=astextplain
24 *.rtf diff=astextplain
[all …]
/external/clang/test/CodeGenCXX/
Dfunction-template-specialization.cpp7 T* next(T* ptr, const U& diff);
10 T* next(T* ptr, const U& diff) { in next() argument
11 return ptr + diff; in next()
14 void test(int *iptr, float *fptr, int diff) { in test() argument
16 iptr = next(iptr, diff); in test()
19 fptr = next(fptr, diff); in test()
23 T* next(T* ptr, const U& diff);
25 void test2(int *iptr, double *dptr, int diff) { in test2() argument
26 iptr = next(iptr, diff); in test2()
29 dptr = next(dptr, diff); in test2()
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_subtract_neon.c18 int16_t *diff, ptrdiff_t diff_stride, in vp9_subtract_block_neon() argument
38 vst1q_s16(&diff[c + 0], vreinterpretq_s16_u16(v_diff_lo_00)); in vp9_subtract_block_neon()
39 vst1q_s16(&diff[c + 8], vreinterpretq_s16_u16(v_diff_hi_00)); in vp9_subtract_block_neon()
40 vst1q_s16(&diff[c + 16], vreinterpretq_s16_u16(v_diff_lo_16)); in vp9_subtract_block_neon()
41 vst1q_s16(&diff[c + 24], vreinterpretq_s16_u16(v_diff_hi_16)); in vp9_subtract_block_neon()
43 diff += diff_stride; in vp9_subtract_block_neon()
55 vst1q_s16(&diff[0], vreinterpretq_s16_u16(v_diff_lo)); in vp9_subtract_block_neon()
56 vst1q_s16(&diff[8], vreinterpretq_s16_u16(v_diff_hi)); in vp9_subtract_block_neon()
57 diff += diff_stride; in vp9_subtract_block_neon()
66 vst1q_s16(&diff[0], vreinterpretq_s16_u16(v_diff)); in vp9_subtract_block_neon()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheStatsTest.java64 CacheStats diff = two.minus(one); in testMinus() local
65 assertEquals(76, diff.requestCount()); in testMinus()
66 assertEquals(42, diff.hitCount()); in testMinus()
67 assertEquals(42.0/76, diff.hitRate()); in testMinus()
68 assertEquals(34, diff.missCount()); in testMinus()
69 assertEquals(34.0/76, diff.missRate()); in testMinus()
70 assertEquals(26, diff.loadSuccessCount()); in testMinus()
71 assertEquals(22, diff.loadExceptionCount()); in testMinus()
72 assertEquals(22.0/48, diff.loadExceptionRate()); in testMinus()
73 assertEquals(26 + 22, diff.loadCount()); in testMinus()
[all …]
/external/aac/libAACenc/src/
Dquantize.cpp304 FIXP_DBL diff; in FDKaacEnc_calcSfbDist() local
323 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1)); in FDKaacEnc_calcSfbDist()
325 scale = CountLeadingBits(diff); in FDKaacEnc_calcSfbDist()
326 diff = scaleValue(diff, scale); in FDKaacEnc_calcSfbDist()
327 diff = fPow2(diff); in FDKaacEnc_calcSfbDist()
330 diff = scaleValue(diff, -scale); in FDKaacEnc_calcSfbDist()
332 xfsf = xfsf + diff; in FDKaacEnc_calcSfbDist()
359 FIXP_DBL diff; in FDKaacEnc_calcSfbQuantEnergyAndDist() local
379 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1)); in FDKaacEnc_calcSfbQuantEnergyAndDist()
381 scale = CountLeadingBits(diff); in FDKaacEnc_calcSfbQuantEnergyAndDist()
[all …]
/external/libvpx/libvpx/vp9/common/arm/neon/
Dvp9_idct32x32_1_add_neon.asm32 ADD_DIFF_16x8 $diff
33 vqadd.u8 q8, q8, $diff
34 vqadd.u8 q9, q9, $diff
35 vqadd.u8 q10, q10, $diff
36 vqadd.u8 q11, q11, $diff
37 vqadd.u8 q12, q12, $diff
38 vqadd.u8 q13, q13, $diff
39 vqadd.u8 q14, q14, $diff
40 vqadd.u8 q15, q15, $diff
44 SUB_DIFF_16x8 $diff
[all …]
/external/clang/utils/ABITest/layout/
DMakefile29 test.%.report: test.%.x.diff test.%.y.diff
42 .PRECIOUS: test.%.x.diff
43 test.%.x.diff: test.%.ref.out test.%.x.out
44 -diff $^ > $@
45 .PRECIOUS: test.%.y.diff
46 test.%.y.diff: test.%.ref.out test.%.y.out
47 -diff $^ > $@
/external/libvpx/libvpx/tools/
Dftfy.sh14 -n, --dry-run Shows a diff of the changes to be made.
71 diff -u "$ORIG_COMMIT_MSG" "$NEW_COMMIT_MSG" | tail -n +3
94 ORIG_DIFF=orig.diff.$$
95 MODIFIED_DIFF=modified.diff.$$
96 FINAL_DIFF=final.diff.$$
111 if ! git diff --quiet HEAD; then
123 for f in $(git diff HEAD^ --name-only -M90 --diff-filter=AM); do
129 git diff --no-color --no-ext-diff > "${MODIFIED_DIFF}"
152 if ! git diff --quiet; then
155 git diff --stat
/external/linux-tools-perf/src/tools/perf/bench/
Dsched-pipe.c50 struct timeval start, stop, diff; in bench_sched_pipe() local
85 timersub(&stop, &start, &diff); in bench_sched_pipe()
99 result_usec = diff.tv_sec * 1000000; in bench_sched_pipe()
100 result_usec += diff.tv_usec; in bench_sched_pipe()
103 diff.tv_sec, in bench_sched_pipe()
104 (unsigned long) (diff.tv_usec/1000)); in bench_sched_pipe()
115 diff.tv_sec, in bench_sched_pipe()
116 (unsigned long) (diff.tv_usec / 1000)); in bench_sched_pipe()
/external/icu/icu4c/source/test/cintltst/
Dbocu1tst.c224 int32_t prev, count, diff; member
233 packDiff(int32_t diff);
285 packDiff(int32_t diff) { in packDiff() argument
288 if(diff>=BOCU1_REACH_NEG_1) { in packDiff()
290 if(diff<=BOCU1_REACH_POS_1) { in packDiff()
292 return 0x01000000|(BOCU1_MIDDLE+diff); in packDiff()
293 } else if(diff<=BOCU1_REACH_POS_2) { in packDiff()
295 diff-=BOCU1_REACH_POS_1+1; in packDiff()
298 } else if(diff<=BOCU1_REACH_POS_3) { in packDiff()
300 diff-=BOCU1_REACH_POS_2+1; in packDiff()
[all …]
/external/libvpx/libvpx/vpx_ports/
Dvpx_timer.h79 LARGE_INTEGER freq, diff; in vpx_usec_timer_elapsed() local
81 diff.QuadPart = t->end.QuadPart - t->begin.QuadPart; in vpx_usec_timer_elapsed()
84 return diff.QuadPart * 1000000 / freq.QuadPart; in vpx_usec_timer_elapsed()
86 struct timeval diff; in vpx_usec_timer_elapsed()
88 timersub(&t->end, &t->begin, &diff); in vpx_usec_timer_elapsed()
89 return diff.tv_sec * 1000000 + diff.tv_usec; in vpx_usec_timer_elapsed()

12345678910>>...38