Home
last modified time | relevance | path

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

12345678910>>...48

/external/webrtc/webrtc/common_audio/signal_processing/
Dresample_by_2_internal.c34 int32_t 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_mips.c151 int32_t tmp1, tmp2, diff; in WebRtcSpl_DownsampleBy2() local
157 diff = in32 - state1; in WebRtcSpl_DownsampleBy2()
158 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
160 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2()
161 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2()
163 diff = tmp2 - state3; in WebRtcSpl_DownsampleBy2()
164 state3 = MUL_ACCUM_2(kResampleAllpass2[2], diff, state2); in WebRtcSpl_DownsampleBy2()
169 diff = in32 - state5; in WebRtcSpl_DownsampleBy2()
170 tmp1 = MUL_ACCUM_1(kResampleAllpass1[0], diff, state4); in WebRtcSpl_DownsampleBy2()
172 diff = tmp1 - state6; in WebRtcSpl_DownsampleBy2()
[all …]
Dresample_by_2.c31 int32_t diff, in MUL_ACCUM_1() argument
34 __asm __volatile ("smlawb %0, %1, %2, %3": "=r"(result): "r"(diff), in MUL_ACCUM_1()
47 int32_t diff, in MUL_ACCUM_2() argument
50 __asm __volatile ("smmla %0, %1, %2, %3": "=r"(result): "r"(diff << 1), in MUL_ACCUM_2()
72 int32_t tmp1, tmp2, diff, in32, out32; in WebRtcSpl_DownsampleBy2() local
87 diff = in32 - state1; in WebRtcSpl_DownsampleBy2()
88 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
90 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2()
91 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2()
93 diff = tmp2 - state3; in WebRtcSpl_DownsampleBy2()
[all …]
/external/selinux/prebuilts/bin/
Dsediff.py108 diff = setools.PolicyDifference(p1, p2) variable
111 print("Policy Properties ({0} Modified)".format(len(diff.modified_properties)))
113 if diff.modified_properties and not args.stats:
114 for name, added, removed in sorted(diff.modified_properties, key=lambda x: x.property):
120 if diff.added_commons or diff.removed_commons or diff.modified_commons or args.common:
122 len(diff.added_commons), len(diff.removed_commons), len(diff.modified_commons)))
123 if diff.added_commons and not args.stats:
124 print(" Added Commons: {0}".format(len(diff.added_commons)))
125 for c in sorted(diff.added_commons):
127 if diff.removed_commons and not args.stats:
[all …]
/external/webrtc/webrtc/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 …]
/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/android_icu4j/src/main/java/android/icu/impl/coll/
DBOCSU.java257 private static final int writeDiff(int diff, byte buffer[], int offset) in writeDiff() argument
259 if (diff >= SLOPE_REACH_NEG_1_) { in writeDiff()
260 if (diff <= SLOPE_REACH_POS_1_) { in writeDiff()
261 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff); in writeDiff()
263 else if (diff <= SLOPE_REACH_POS_2_) { in writeDiff()
265 + (diff / SLOPE_TAIL_COUNT_)); in writeDiff()
267 (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
269 else if (diff <= SLOPE_REACH_POS_3_) { in writeDiff()
271 + (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
272 diff /= SLOPE_TAIL_COUNT_; in 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/netperf/src/
Dnetcpu_procstat.c252 cpu_states_t diff; in calc_cpu_util_internal() local
278 diff.user = in calc_cpu_util_internal()
280 diff.nice = in calc_cpu_util_internal()
282 diff.sys = in calc_cpu_util_internal()
284 diff.idle = in calc_cpu_util_internal()
286 diff.iowait = in calc_cpu_util_internal()
288 diff.hard_irq = in calc_cpu_util_internal()
290 diff.soft_irq = in calc_cpu_util_internal()
292 diff.steal = in calc_cpu_util_internal()
294 diff.guest = in calc_cpu_util_internal()
[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/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/
DiLBCtestscript.txt37 diff $OUTP/F00.BIT20 $INP/F00.BIT20
38 diff $OUTP/F01.BIT20 $INP/F01.BIT20
39 diff $OUTP/F02.BIT20 $INP/F02.BIT20
40 diff $OUTP/F03.BIT20 $INP/F03.BIT20
41 diff $OUTP/F04.BIT20 $INP/F04.BIT20
42 diff $OUTP/F05.BIT20 $INP/F05.BIT20
43 diff $OUTP/F06.BIT20 $INP/F06.BIT20
44 diff $OUTP/F00.OUT20 $INP/F00.OUT20
45 diff $OUTP/F01.OUT20 $INP/F01.OUT20
46 diff $OUTP/F02.OUT20 $INP/F02.OUT20
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dsubtract_msa.c60 int16_t *diff, int32_t diff_stride) { in sub_blk_16x16_msa() argument
77 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
78 diff += diff_stride; in sub_blk_16x16_msa()
82 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
83 diff += diff_stride; in sub_blk_16x16_msa()
87 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
88 diff += diff_stride; in sub_blk_16x16_msa()
92 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
93 diff += diff_stride; in sub_blk_16x16_msa()
97 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
[all …]
Dsad_msa.c29 v16u8 diff; in sad_4width_msa() local
41 diff = __msa_asub_u_b(src, ref); in sad_4width_msa()
42 sad += __msa_hadd_u_h(diff, diff); in sad_4width_msa()
168 v16u8 ref0, ref1, ref2, ref3, diff; in sad_4width_x3_msa() local
181 diff = __msa_asub_u_b(src, ref); in sad_4width_x3_msa()
182 sad0 += __msa_hadd_u_h(diff, diff); in sad_4width_x3_msa()
187 diff = __msa_asub_u_b(src, ref); in sad_4width_x3_msa()
188 sad1 += __msa_hadd_u_h(diff, diff); in sad_4width_x3_msa()
193 diff = __msa_asub_u_b(src, ref); in sad_4width_x3_msa()
194 sad2 += __msa_hadd_u_h(diff, diff); in sad_4width_x3_msa()
[all …]
Dvariance_msa.c34 #define VARIANCE_WxH(sse, diff, shift) \ argument
35 sse - (((uint32_t)diff * diff) >> shift)
37 #define VARIANCE_LARGE_WxH(sse, diff, shift) \ argument
38 sse - (((int64_t)diff * diff) >> shift)
42 int32_t height, int32_t *diff) { in sse_diff_4width_msa() argument
63 *diff = HADD_SW_S32(vec); in sse_diff_4width_msa()
70 int32_t height, int32_t *diff) { in sse_diff_8width_msa() argument
90 *diff = HADD_SW_S32(vec); in sse_diff_8width_msa()
97 int32_t height, int32_t *diff) { in sse_diff_16width_msa() argument
130 *diff = HADD_SW_S32(vec); in sse_diff_16width_msa()
[all …]
/external/v8/src/compiler/
Dpipeline-statistics.cc28 CompilationStatistics::BasicStats* diff) { in End() argument
30 diff->function_name_ = pipeline_stats->function_name_; in End()
31 diff->delta_ = timer_.Elapsed(); in End()
34 diff->max_allocated_bytes_ = outer_zone_diff + scope_->GetMaxAllocatedBytes(); in End()
35 diff->absolute_max_allocated_bytes_ = in End()
36 diff->max_allocated_bytes_ + allocated_bytes_at_start_; in End()
37 diff->total_allocated_bytes_ = in End()
65 CompilationStatistics::BasicStats diff; in ~PipelineStatistics() local
66 total_stats_.End(this, &diff); in ~PipelineStatistics()
67 compilation_stats_->RecordTotalStats(source_size_, diff); in ~PipelineStatistics()
[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/libmpeg2/common/x86/
Dideint_cac_ssse3.c171 __m128i min, max, diff, thresh; in ideint_cac_8x8_ssse3() local
184 diff = _mm_sub_epi16(max, min); in ideint_cac_8x8_ssse3()
187 mask = _mm_cmpgt_epi16(diff, thresh); in ideint_cac_8x8_ssse3()
188 diff = _mm_and_si128(diff, mask); in ideint_cac_8x8_ssse3()
190 diff_sum = _mm_extract_epi16(diff, 0); in ideint_cac_8x8_ssse3()
191 diff_sum += _mm_extract_epi16(diff, 1); in ideint_cac_8x8_ssse3()
192 diff_sum += _mm_extract_epi16(diff, 2); in ideint_cac_8x8_ssse3()
193 diff_sum += _mm_extract_epi16(diff, 3); in ideint_cac_8x8_ssse3()
197 diff_sum = _mm_extract_epi16(diff, 4); in ideint_cac_8x8_ssse3()
198 diff_sum += _mm_extract_epi16(diff, 5); in ideint_cac_8x8_ssse3()
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dsubtract_neon.c17 int16_t *diff, ptrdiff_t diff_stride, in vpx_subtract_block_neon() argument
37 vst1q_s16(&diff[c + 0], vreinterpretq_s16_u16(v_diff_lo_00)); in vpx_subtract_block_neon()
38 vst1q_s16(&diff[c + 8], vreinterpretq_s16_u16(v_diff_hi_00)); in vpx_subtract_block_neon()
39 vst1q_s16(&diff[c + 16], vreinterpretq_s16_u16(v_diff_lo_16)); in vpx_subtract_block_neon()
40 vst1q_s16(&diff[c + 24], vreinterpretq_s16_u16(v_diff_hi_16)); in vpx_subtract_block_neon()
42 diff += diff_stride; in vpx_subtract_block_neon()
54 vst1q_s16(&diff[0], vreinterpretq_s16_u16(v_diff_lo)); in vpx_subtract_block_neon()
55 vst1q_s16(&diff[8], vreinterpretq_s16_u16(v_diff_hi)); in vpx_subtract_block_neon()
56 diff += diff_stride; in vpx_subtract_block_neon()
65 vst1q_s16(&diff[0], vreinterpretq_s16_u16(v_diff)); in vpx_subtract_block_neon()
[all …]

12345678910>>...48