Home
last modified time | relevance | path

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

123

/external/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.cc272 __m128i taps[4]; in Convolve2D_SSE4_1() local
277 SetupTaps<8, /*is_2d_vertical=*/true>(&v_filter, taps); in Convolve2D_SSE4_1()
280 taps); in Convolve2D_SSE4_1()
283 taps); in Convolve2D_SSE4_1()
286 taps); in Convolve2D_SSE4_1()
289 SetupTaps<6, /*is_2d_vertical=*/true>(&v_filter, taps); in Convolve2D_SSE4_1()
292 taps); in Convolve2D_SSE4_1()
295 taps); in Convolve2D_SSE4_1()
298 taps); in Convolve2D_SSE4_1()
301 SetupTaps<4, /*is_2d_vertical=*/true>(&v_filter, taps); in Convolve2D_SSE4_1()
[all …]
Dconvolve_sse4.inc24 // Despite the names these only use 6 taps.
31 // Despite the names these only use 6 taps.
64 // Multiply every entry in |src[]| by the corresponding entry in |taps[]| and
65 // sum. The filters in |taps[]| are pre-shifted by 1. This prevents the final
68 __m128i SumOnePassTaps(const __m128i* const src, const __m128i* const taps) {
71 // 6 taps.
72 const __m128i v_madd_21 = _mm_maddubs_epi16(src[0], taps[0]); // k2k1
73 const __m128i v_madd_43 = _mm_maddubs_epi16(src[1], taps[1]); // k4k3
74 const __m128i v_madd_65 = _mm_maddubs_epi16(src[2], taps[2]); // k6k5
78 // 8 taps.
[all …]
/external/libgav1/src/dsp/arm/
Dconvolve_10bit_neon.cc50 const int16x4_t* const taps) { in SumOnePassTaps() argument
55 sum.val[0] = vmull_s16(vget_low_s16(ssrc[0]), taps[0]); in SumOnePassTaps()
56 sum.val[0] = vmlal_s16(sum.val[0], vget_low_s16(ssrc[1]), taps[1]); in SumOnePassTaps()
57 sum.val[0] = vmlal_s16(sum.val[0], vget_low_s16(ssrc[2]), taps[2]); in SumOnePassTaps()
58 sum.val[0] = vmlal_s16(sum.val[0], vget_low_s16(ssrc[3]), taps[3]); in SumOnePassTaps()
59 sum.val[0] = vmlal_s16(sum.val[0], vget_low_s16(ssrc[4]), taps[4]); in SumOnePassTaps()
60 sum.val[0] = vmlal_s16(sum.val[0], vget_low_s16(ssrc[5]), taps[5]); in SumOnePassTaps()
62 sum.val[1] = vmull_s16(vget_high_s16(ssrc[0]), taps[0]); in SumOnePassTaps()
63 sum.val[1] = vmlal_s16(sum.val[1], vget_high_s16(ssrc[1]), taps[1]); in SumOnePassTaps()
64 sum.val[1] = vmlal_s16(sum.val[1], vget_high_s16(ssrc[2]), taps[2]); in SumOnePassTaps()
[all …]
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/test/
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()
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()
/external/libaom/av1/common/
Dconvolve.c83 int im_h = h + filter_params_y->taps - 1; in av1_convolve_2d_sr_c()
86 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_2d_sr_c()
87 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_convolve_2d_sr_c()
99 for (int k = 0; k < filter_params_x->taps; ++k) { in av1_convolve_2d_sr_c()
116 for (int k = 0; k < filter_params_y->taps; ++k) { in av1_convolve_2d_sr_c()
132 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_y_sr_c()
140 for (int k = 0; k < filter_params_y->taps; ++k) { in av1_convolve_y_sr_c()
153 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_convolve_x_sr_c()
167 for (int k = 0; k < filter_params_x->taps; ++k) { in av1_convolve_x_sr_c()
185 int im_h = h + filter_params_y->taps - 1; in av1_dist_wtd_convolve_2d_c()
[all …]
Dfilter.h107 uint16_t taps; member
267 return filter_params->filter_ptr + filter_params->taps * subpel; in av1_get_interp_filter_subpel_kernel()
301 if (filter_params->taps == 12) { in get_filter_tap()
/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
21 Uses javascript page to listen for touchscreen taps. If all goes well, the
/external/crosvm/devices/src/virtio/
Dnet.rs468 taps: Vec<T>, field
488 let taps = tap.into_mq_taps(vq_pairs).map_err(NetError::TapOpen)?; in new() localVariable
494 for tap in &taps { in new()
525 taps, in new()
535 taps: Vec<T>, in new_internal()
543 queue_sizes: vec![QUEUE_SIZE; (taps.len() * 2 + 1) as usize].into_boxed_slice(), in new_internal()
545 taps, in new_internal()
557 self.taps.len() in max_virtqueue_pairs()
621 for tap in &self.taps { in keep_rds()
654 if let Some(tap) = self.taps.first() { in ack_features()
[all …]
/external/autotest/client/site_tests/touch_StylusTaps/
Dcontrol9 This test will fail if, after playback of touch events, taps do not appear
21 Uses kernel playback and a javascript page to play and listen for stylus taps.
/external/libaom/av1/common/x86/
Dhighbd_convolve_2d_avx2.c36 if (filter_params_x->taps == 12) { in av1_highbd_convolve_2d_sr_avx2()
44 int im_h = h + filter_params_y->taps - 1; in av1_highbd_convolve_2d_sr_avx2()
47 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_highbd_convolve_2d_sr_avx2()
48 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_highbd_convolve_2d_sr_avx2()
Dconvolve_2d_sse2.c32 int im_h = h + filter_params_y->taps - 1; in av1_convolve_2d_sr_12tap_sse2()
35 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_2d_sr_12tap_sse2()
36 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_convolve_2d_sr_12tap_sse2()
228 if (filter_params_x->taps > 8) { in av1_convolve_2d_sr_sse2()
243 int im_h = h + filter_params_y->taps - 1; in av1_convolve_2d_sr_sse2()
246 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_2d_sr_sse2()
247 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_convolve_2d_sr_sse2()
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()
Dconvolve_sse2.c82 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_y_sr_12tap_sse2()
183 if (filter_params_y->taps > 8) { in av1_convolve_y_sr_sse2()
192 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_convolve_y_sr_sse2()
345 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_convolve_x_sr_12tap_sse2()
400 if (filter_params_x->taps > 8) { in av1_convolve_x_sr_sse2()
409 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_convolve_x_sr_sse2()
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()
Dhighbd_convolve_2d_ssse3.c29 int im_h = h + filter_params_y->taps - 1; in av1_highbd_convolve_2d_sr_ssse3()
32 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_highbd_convolve_2d_sr_ssse3()
33 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_highbd_convolve_2d_sr_ssse3()
57 if (filter_params_x->taps == 12) { in av1_highbd_convolve_2d_sr_ssse3()
Djnt_convolve_sse2.c27 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_x_sse2()
157 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_y_sse2()
391 int im_h = h + filter_params_y->taps - 1; in av1_dist_wtd_convolve_2d_sse2()
394 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_2d_sse2()
395 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_2d_sse2()
Djnt_convolve_avx2.c132 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_x_avx2()
404 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_y_avx2()
639 int im_h = h + filter_params_y->taps - 1; in av1_dist_wtd_convolve_2d_avx2()
640 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_2d_avx2()
665 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_2d_avx2()
777 int im_h = h + filter_params_y->taps - 1; in av1_dist_wtd_convolve_2d_avx2()
778 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_dist_wtd_convolve_2d_avx2()
779 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_dist_wtd_convolve_2d_avx2()
/external/crosvm/net_util/src/sys/unix/
Dtap.rs158 let mut taps: Vec<Tap> = Vec::new(); in into_mq_taps() localVariable
161 taps.push(self); in into_mq_taps()
162 return Ok(taps); in into_mq_taps()
172 taps.push(tap); in into_mq_taps()
175 taps.insert(0, self); in into_mq_taps()
176 Ok(taps) in into_mq_taps()
/external/rust/crates/libz-sys/src/zlib-ng/arch/arm/
Dadler32_neon.c19 static const uint16_t ALIGNED_(16) taps[64] = { in NEON_accum32()
105 uint16x8x4_t t0_t3 = vld1q_u16_x4(taps); in NEON_accum32()
106 uint16x8x4_t t4_t7 = vld1q_u16_x4(taps + 32); in NEON_accum32()
/external/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/libaom/aom_dsp/x86/
Dhighbd_convolve_ssse3.c25 const int fo_vert = filter_params_y->taps / 2 - 1; in av1_highbd_convolve_y_sr_ssse3()
34 if (filter_params_y->taps == 12) { in av1_highbd_convolve_y_sr_ssse3()
303 const int fo_horiz = filter_params_x->taps / 2 - 1; in av1_highbd_convolve_x_sr_ssse3()
322 if (filter_params_x->taps == 12) { in av1_highbd_convolve_x_sr_ssse3()
/external/libaom/av1/encoder/
Dreconinter_enc.c487 (((height - 1) * 8 + subpel_y_q3) >> 3) + filter->taps; in aom_upsampled_pred_c()
489 aom_convolve8_horiz_c(ref - ref_stride * ((filter->taps >> 1) - 1), in aom_upsampled_pred_c()
492 aom_convolve8_vert_c(temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1), in aom_upsampled_pred_c()
629 (((height - 1) * 8 + subpel_y_q3) >> 3) + filter->taps; in aom_highbd_upsampled_pred_c()
631 aom_highbd_convolve8_horiz_c(ref8 - ref_stride * ((filter->taps >> 1) - 1), in aom_highbd_upsampled_pred_c()
636 CONVERT_TO_BYTEPTR(temp + MAX_SB_SIZE * ((filter->taps >> 1) - 1)), in aom_highbd_upsampled_pred_c()

123