Home
last modified time | relevance | path

Searched refs:taps (Results 1 – 25 of 56) sorted by relevance

123

/external/libgav1/libgav1/src/dsp/x86/
Dconvolve_avx2.cc43 __m256i SumOnePassTaps(const __m256i* const src, const __m256i* const taps) { in SumOnePassTaps() argument
47 const __m256i v_madd_21 = _mm256_maddubs_epi16(src[0], taps[0]); // k2k1 in SumOnePassTaps()
48 const __m256i v_madd_43 = _mm256_maddubs_epi16(src[1], taps[1]); // k4k3 in SumOnePassTaps()
49 const __m256i v_madd_65 = _mm256_maddubs_epi16(src[2], taps[2]); // k6k5 in SumOnePassTaps()
54 const __m256i v_madd_10 = _mm256_maddubs_epi16(src[0], taps[0]); // k1k0 in SumOnePassTaps()
55 const __m256i v_madd_32 = _mm256_maddubs_epi16(src[1], taps[1]); // k3k2 in SumOnePassTaps()
56 const __m256i v_madd_54 = _mm256_maddubs_epi16(src[2], taps[2]); // k5k4 in SumOnePassTaps()
57 const __m256i v_madd_76 = _mm256_maddubs_epi16(src[3], taps[3]); // k7k6 in SumOnePassTaps()
63 sum = _mm256_maddubs_epi16(src[0], taps[0]); // k4k3 in SumOnePassTaps()
66 const __m256i v_madd_32 = _mm256_maddubs_epi16(src[0], taps[0]); // k3k2 in SumOnePassTaps()
[all …]
Dconvolve_sse4.cc275 __m128i taps[4]; in Convolve2D_SSE4_1() local
280 SetupTaps<8, /*is_2d_vertical=*/true>(&v_filter, taps); in Convolve2D_SSE4_1()
283 taps); in Convolve2D_SSE4_1()
286 taps); in Convolve2D_SSE4_1()
289 taps); in Convolve2D_SSE4_1()
292 SetupTaps<6, /*is_2d_vertical=*/true>(&v_filter, taps); in Convolve2D_SSE4_1()
295 taps); in Convolve2D_SSE4_1()
298 taps); in Convolve2D_SSE4_1()
301 taps); in Convolve2D_SSE4_1()
304 SetupTaps<4, /*is_2d_vertical=*/true>(&v_filter, taps); in Convolve2D_SSE4_1()
[all …]
Dconvolve_sse4.inc21 // Multiply every entry in |src[]| by the corresponding entry in |taps[]| and
22 // sum. The filters in |taps[]| are pre-shifted by 1. This prevents the final
25 __m128i SumOnePassTaps(const __m128i* const src, const __m128i* const taps) {
28 // 6 taps.
29 const __m128i v_madd_21 = _mm_maddubs_epi16(src[0], taps[0]); // k2k1
30 const __m128i v_madd_43 = _mm_maddubs_epi16(src[1], taps[1]); // k4k3
31 const __m128i v_madd_65 = _mm_maddubs_epi16(src[2], taps[2]); // k6k5
35 // 8 taps.
36 const __m128i v_madd_10 = _mm_maddubs_epi16(src[0], taps[0]); // k1k0
37 const __m128i v_madd_32 = _mm_maddubs_epi16(src[1], taps[1]); // k3k2
[all …]
/external/libgav1/libgav1/src/dsp/arm/
Dconvolve_neon.cc46 const uint8x8_t* const taps) { in SumOnePassTaps() argument
50 sum = vmull_u8(src[0], taps[0]); in SumOnePassTaps()
52 sum = vmlsl_u8(sum, src[1], taps[1]); in SumOnePassTaps()
53 sum = vmlal_u8(sum, src[2], taps[2]); in SumOnePassTaps()
54 sum = vmlal_u8(sum, src[3], taps[3]); in SumOnePassTaps()
55 sum = vmlsl_u8(sum, src[4], taps[4]); in SumOnePassTaps()
56 sum = vmlal_u8(sum, src[5], taps[5]); in SumOnePassTaps()
60 sum = vmull_u8(src[1], taps[1]); in SumOnePassTaps()
61 sum = vmlsl_u8(sum, src[0], taps[0]); in SumOnePassTaps()
62 sum = vmlal_u8(sum, src[2], taps[2]); in SumOnePassTaps()
[all …]
/external/libvpx/libvpx/test/
Dconsistency_test.cc97 void Blur(uint8_t *data, int stride, int taps) { in Blur() argument
99 int half_taps = taps / 2; in Blur()
101 for (int w = 0; w < taps; ++w) { in Blur()
104 for (int w = taps; w < width_; ++w) { in Blur()
105 sum += data[w + h * stride] - data[w - taps + h * stride]; in Blur()
106 data[w - half_taps + h * stride] = (sum + half_taps) / taps; in Blur()
110 for (int h = 0; h < taps; ++h) { in Blur()
113 for (int h = taps; h < height_; ++h) { in Blur()
114 sum += data[w + h * stride] - data[(h - taps) * stride + w]; in Blur()
115 data[(h - half_taps) * stride + w] = (sum + half_taps) / taps; in Blur()
Dblockiness_test.cc110 void Blur(uint8_t *data, int stride, int taps) { in Blur() argument
112 int half_taps = taps / 2; in Blur()
114 for (int w = 0; w < taps; ++w) { in Blur()
117 for (int w = taps; w < width_; ++w) { in Blur()
118 sum += data[w + h * stride] - data[w - taps + h * stride]; in Blur()
119 data[w - half_taps + h * stride] = (sum + half_taps) / taps; in Blur()
123 for (int h = 0; h < taps; ++h) { in Blur()
126 for (int h = taps; h < height_; ++h) { in Blur()
127 sum += data[w + h * stride] - data[(h - taps) * stride + w]; in Blur()
128 data[(h - half_taps) * stride + w] = (sum + half_taps) / taps; in Blur()
/external/libaom/libaom/av1/common/
Dconvolve.c82 const int taps = 3; in av1_convolve_2d_sobel_y_c() local
83 int im_h = h + taps - 1; in av1_convolve_2d_sobel_y_c()
94 for (int k = 0; k < taps; ++k) { in av1_convolve_2d_sobel_y_c()
107 for (int k = 0; k < taps; ++k) { in av1_convolve_2d_sobel_y_c()
122 int im_h = h + filter_params_y->taps - 1; in av1_convolve_2d_sr_c()
125 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_2d_sr_c()
126 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_convolve_2d_sr_c()
138 for (int k = 0; k < filter_params_x->taps; ++k) { in av1_convolve_2d_sr_c()
155 for (int k = 0; k < filter_params_y->taps; ++k) { in av1_convolve_2d_sr_c()
173 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_y_sr_c()
[all …]
Dfilter.h104 uint16_t taps; member
245 return filter_params->filter_ptr + filter_params->taps * subpel; in av1_get_interp_filter_subpel_kernel()
/external/autotest/client/site_tests/touch_TouchscreenTaps/
Dcontrol7 PURPOSE = "Test that touchscreen finger presses are interpreted as taps."
9 This test will fail if, after playback of touch events, taps do not appear
20 Uses javascript page to listen for touchscreen taps. If all goes well, the
/external/crosvm/devices/src/virtio/
Dnet.rs429 taps: Vec<T>, field
462 let taps = tap.into_mq_taps(vq_pairs).map_err(NetError::TapOpen)?; in from() localVariable
467 for tap in &taps { in from()
487 for _ in 0..taps.len() { in from()
499 taps, in from()
587 for tap in &self.taps { in keep_rds()
627 if let Some(tap) = self.taps.first() { in ack_features()
659 if self.taps.len() != vq_pairs { in activate()
660 error!("net: expected {} taps, got {}", vq_pairs, self.taps.len()); in activate()
673 let tap = self.taps.remove(0); in activate()
[all …]
/external/libaom/libaom/av1/common/x86/
Dconvolve_2d_avx2.c70 int im_h = h + filter_params_y->taps - 1; in av1_convolve_2d_sr_avx2()
71 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_2d_sr_avx2()
108 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_convolve_2d_sr_avx2()
185 int im_h = h + filter_params_y->taps - 1; in av1_convolve_2d_sr_avx2()
186 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_2d_sr_avx2()
187 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_convolve_2d_sr_avx2()
Dhighbd_convolve_2d_ssse3.c28 int im_h = h + filter_params_y->taps - 1; in av1_highbd_convolve_2d_sr_ssse3()
31 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_highbd_convolve_2d_sr_ssse3()
32 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_highbd_convolve_2d_sr_ssse3()
Djnt_convolve_ssse3.c30 int im_h = h + filter_params_y->taps - 1; in av1_dist_wtd_convolve_2d_ssse3()
33 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_2d_ssse3()
34 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_2d_ssse3()
Dav1_convolve_scale_sse4.c241 filter_params_y->taps; in av1_convolve_2d_scale_sse4_1()
243 const int xtaps = filter_params_x->taps; in av1_convolve_2d_scale_sse4_1()
244 const int ytaps = filter_params_y->taps; in av1_convolve_2d_scale_sse4_1()
481 filter_params_y->taps; in av1_highbd_convolve_2d_scale_sse4_1()
482 const int xtaps = filter_params_x->taps; in av1_highbd_convolve_2d_scale_sse4_1()
483 const int ytaps = filter_params_y->taps; in av1_highbd_convolve_2d_scale_sse4_1()
Djnt_convolve_avx2.c133 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_x_avx2()
412 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_y_avx2()
648 int im_h = h + filter_params_y->taps - 1; in av1_dist_wtd_convolve_2d_avx2()
649 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_2d_avx2()
674 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_2d_avx2()
787 int im_h = h + filter_params_y->taps - 1; in av1_dist_wtd_convolve_2d_avx2()
788 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_2d_avx2()
789 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_2d_avx2()
Dhighbd_convolve_2d_avx2.c31 int im_h = h + filter_params_y->taps - 1; in av1_highbd_convolve_2d_sr_avx2()
34 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_highbd_convolve_2d_sr_avx2()
35 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_highbd_convolve_2d_sr_avx2()
Djnt_convolve_sse2.c28 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_x_sse2()
162 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_y_sse2()
399 int im_h = h + filter_params_y->taps - 1; in av1_dist_wtd_convolve_2d_sse2()
402 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_2d_sse2()
403 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_2d_sse2()
Dhighbd_convolve_2d_sse4.c180 int im_h = h + filter_params_y->taps - 1; in av1_highbd_dist_wtd_convolve_2d_sse4_1()
185 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_highbd_dist_wtd_convolve_2d_sse4_1()
186 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_highbd_dist_wtd_convolve_2d_sse4_1()
/external/rust/crates/libz-sys/src/zlib-ng/arch/arm/
Dadler32_neon.c17 static const uint8_t taps[32] = { in NEON_accum32() local
24 uint8x16_t t0 = vld1q_u8(taps), t1 = vld1q_u8(taps + 16); in NEON_accum32()
/external/autotest/client/site_tests/touch_StylusTaps/
Dcontrol9 This test will fail if, after playback of touch events, taps do not appear
20 Uses kernel playback and a javascript page to play and listen for stylus taps.
/external/crosvm/net_util/src/
Dlib.rs303 let mut taps: Vec<Tap> = Vec::new(); in into_mq_taps() localVariable
306 taps.push(self); in into_mq_taps()
307 return Ok(taps); in into_mq_taps()
317 taps.push(tap); in into_mq_taps()
320 taps.insert(0, self); in into_mq_taps()
321 Ok(taps) in into_mq_taps()
/external/libvpx/libvpx/vp8/common/x86/
Dsubpixel_mmx.asm42 movq mm1, [rdx + 16] ; do both the negative taps first!!!
77 ; do outer positive taps
140 movq mm1, [rbx + 16] ; do both the negative taps first!!!
/external/walt/pywalt/pywalt/
Dwalt.py538 taps = []
559 taps.append((dt_tap_us, direction))
565 dt_down = numpy.array([t[0] for t in taps if t[1] == 1]) / 1e3
566 dt_up = numpy.array([t[0] for t in taps if t[1] == 0]) / 1e3
/external/libgav1/libgav1/src/dsp/
Dconvolve.inc21 // Despite the names these only use 6 taps.
/external/oboe/src/common/
DREADME.md8 1) The resampler is an FIR running at the target sample rate. So its latency is the number of taps.

123