Home
last modified time | relevance | path

Searched refs:psum (Results 1 – 7 of 7) sorted by relevance

/external/opencv3/apps/traincascade/
Dlbpfeatures.h44 const int* psum = _sum.ptr<int>((int)y); in calc() local
45 int cval = psum[p[5]] - psum[p[6]] - psum[p[9]] + psum[p[10]]; in calc()
47 return (uchar)((psum[p[0]] - psum[p[1]] - psum[p[4]] + psum[p[5]] >= cval ? 128 : 0) | // 0 in calc()
48 (psum[p[1]] - psum[p[2]] - psum[p[5]] + psum[p[6]] >= cval ? 64 : 0) | // 1 in calc()
49 (psum[p[2]] - psum[p[3]] - psum[p[6]] + psum[p[7]] >= cval ? 32 : 0) | // 2 in calc()
50 (psum[p[6]] - psum[p[7]] - psum[p[10]] + psum[p[11]] >= cval ? 16 : 0) | // 5 in calc()
51 (psum[p[10]] - psum[p[11]] - psum[p[14]] + psum[p[15]] >= cval ? 8 : 0) | // 8 in calc()
52 (psum[p[9]] - psum[p[10]] - psum[p[13]] + psum[p[14]] >= cval ? 4 : 0) | // 7 in calc()
53 (psum[p[8]] - psum[p[9]] - psum[p[12]] + psum[p[13]] >= cval ? 2 : 0) | // 6 in calc()
54 (psum[p[4]] - psum[p[5]] - psum[p[8]] + psum[p[9]] >= cval ? 1 : 0)); // 3 in calc()
/external/opencv3/modules/objdetect/src/opencl/
Dcascadedetect.cl158 __local const int* psum = ibuf + mad24(iy, SUM_BUF_STEP, ix);
160 __global const int* psum = psum1;
164 float sval = (psum[nofs.x] - psum[nofs.y] - psum[nofs.z] + psum[nofs.w])*invarea;
181 sval = (psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w])*weight.x;
183 … sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.y, sval);
187 … sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.z, sval);
205 sval = (psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w])*weight.x;
207 … sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.y, sval);
211 … sval = mad((psum[ofs.x] - psum[ofs.y] - psum[ofs.z] + psum[ofs.w]), weight.z, sval);
269 __local const int* psum = ibuf + mad24(iy1, SUM_BUF_STEP, ix1);
[all …]
/external/libopus/celt/
Drate.c253 opus_int32 psum; in interp_bits2pulses() local
274 psum = 0; in interp_bits2pulses()
283 psum += IMIN(tmp, cap[j]); in interp_bits2pulses()
286 psum += alloc_floor; in interp_bits2pulses()
289 if (psum > total) in interp_bits2pulses()
294 psum = 0; in interp_bits2pulses()
311 psum += tmp; in interp_bits2pulses()
335 left = total-psum; in interp_bits2pulses()
367 psum += 1<<BITRES; in interp_bits2pulses()
371 psum -= bits[j]+intensity_rsv; in interp_bits2pulses()
[all …]
/external/vboot_reference/utility/
Dvbutil_what_keys117 psum=$(futility vbutil_keyblock --unpack "$TMPFILE" 2>/dev/null | \
120 if [ -n "$psum" ]; then
121 match=$(greppy "$psum")
126 psum="--invalid--"
130 echo " part $pnum kernel: $psum ($flags) $match"
/external/libopus/src/
Danalysis.c147 float psum; in tonality_get_info() local
179 psum=0; in tonality_get_info()
183 psum += tonal->pmusic[i]; in tonality_get_info()
185 psum += tonal->pspeech[i]; in tonality_get_info()
186 psum = psum*tonal->music_confidence + (1-psum)*tonal->speech_confidence; in tonality_get_info()
189 info_out->music_prob = psum; in tonality_get_info()
507 float psum; in tonality_analysis() local
536 psum=1e-20f; in tonality_analysis()
565 psum += tonal->pspeech[i] + tonal->pmusic[i]; in tonality_analysis()
566 psum = 1.f/psum; in tonality_analysis()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_filter.cpp1735 Mat plane, srcf, psum, psqsum, ptsum, psum2, psqsum2, ptsum2; in prepare_to_validation() local
1750 test_integral( srcf, &psum, sqsum0 ? &psqsum : 0, tsum0 ? &ptsum : 0 ); in prepare_to_validation()
1751 psum.convertTo(psum2, sum0->depth()); in prepare_to_validation()
/external/opencv3/modules/imgproc/src/
Dsmooth.cpp3174 __m128 psum = _mm_setzero_ps(); in operator ()() local
3200 psum = _mm_add_ps(_sw, psum); in operator ()()
3202 _mm_storel_pi((__m64*)bufSum32, psum); in operator ()()