Home
last modified time | relevance | path

Searched refs:filter_x (Results 1 – 25 of 62) sorted by relevance

123

/external/libaom/libaom/aom_dsp/
Daom_convolve.c87 const int16_t *filter_x, int x_step_q4, in aom_convolve8_horiz_c() argument
90 const InterpKernel *const filters_x = get_filter_base(filter_x); in aom_convolve8_horiz_c()
91 const int x0_q4 = get_filter_offset(filter_x, filters_x); in aom_convolve8_horiz_c()
102 const int16_t *filter_x, int x_step_q4, in aom_convolve8_vert_c() argument
108 (void)filter_x; in aom_convolve8_vert_c()
116 ptrdiff_t dst_stride, const int16_t *filter_x, in aom_convolve_copy_c() argument
121 (void)filter_x; in aom_convolve_copy_c()
193 const int16_t *filter_x, int x_step_q4, in aom_highbd_convolve8_horiz_c() argument
196 const InterpKernel *const filters_x = get_filter_base(filter_x); in aom_highbd_convolve8_horiz_c()
197 const int x0_q4 = get_filter_offset(filter_x, filters_x); in aom_highbd_convolve8_horiz_c()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dpooling.h59 for (int filter_x = filter_x_start; filter_x < filter_x_end; in AveragePool() local
60 ++filter_x) { in AveragePool()
61 const int in_x = in_x_origin + filter_x; in AveragePool()
119 for (int filter_x = filter_x_start; filter_x < filter_x_end; in MaxPool() local
120 ++filter_x) { in MaxPool()
121 const int in_x = in_x_origin + filter_x; in MaxPool()
Dconv.h72 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in ConvPerChannel() local
74 const int in_x = in_x_origin + dilation_width_factor * filter_x; in ConvPerChannel()
86 filter_x, in_channel)]; in ConvPerChannel()
Ddepthwise_conv.h72 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in DepthwiseConvPerChannel() local
73 const int in_x = in_x_origin + dilation_width_factor * filter_x; in DepthwiseConvPerChannel()
84 filter_shape, 0, filter_y, filter_x, output_channel)]; in DepthwiseConvPerChannel()
/external/libaom/libaom/test/
Dconvolve_test.cc36 const int16_t *filter_x, int filter_x_stride,
546 for (int filter_x = 0; filter_x < kNumFilters; ++filter_x) { in TEST_P() local
548 wrapper_filter_block2d_8_c(in, kInputStride, filters[filter_x], in TEST_P()
552 if (filter_x && filter_y) in TEST_P()
558 else if (filter_x) in TEST_P()
560 in, kInputStride, out, kOutputStride, filters[filter_x], 16, in TEST_P()
574 << "filters (" << filter_bank << "," << filter_x << "," in TEST_P()
631 for (int filter_x = 0; filter_x < kNumFilters; ++filter_x) { in TEST_P() local
633 wrapper_filter_block2d_8_c(in, kInputStride, filters[filter_x], in TEST_P()
636 if (filter_x && filter_y) in TEST_P()
[all …]
/external/libaom/libaom/av1/common/arm/
Dconvolve_neon.h69 const int16x8_t s3, int16_t *filter_x, const int bd, in wiener_convolve8_horiz_8x8() argument
84 sum = vmulq_n_s16(s0, filter_x[0]); in wiener_convolve8_horiz_8x8()
85 sum = vmlaq_n_s16(sum, s1, filter_x[1]); in wiener_convolve8_horiz_8x8()
86 sum = vmlaq_n_s16(sum, s2, filter_x[2]); in wiener_convolve8_horiz_8x8()
96 s3_0 = vmull_n_s16(vget_low_s16(s3), filter_x[3]); in wiener_convolve8_horiz_8x8()
97 s3_1 = vmull_n_s16(vget_high_s16(s3), filter_x[3]); in wiener_convolve8_horiz_8x8()
120 const int16x4_t s6, int16_t *filter_x, const int bd, in wiener_convolve8_horiz_4x8() argument
137 sum = vmul_n_s16(temp0, filter_x[0]); in wiener_convolve8_horiz_4x8()
138 sum = vmla_n_s16(sum, temp1, filter_x[1]); in wiener_convolve8_horiz_4x8()
139 sum = vmla_n_s16(sum, temp2, filter_x[2]); in wiener_convolve8_horiz_4x8()
[all …]
/external/libaom/libaom/aom_dsp/mips/
Dconvolve8_horiz_dspr2.c823 const int16_t *filter_x, int x_step_q4, in aom_convolve8_horiz_dspr2() argument
827 assert(((const int32_t *)filter_x)[1] != 0x800000); in aom_convolve8_horiz_dspr2()
829 if (((const int32_t *)filter_x)[0] == 0) { in aom_convolve8_horiz_dspr2()
830 aom_convolve2_horiz_dspr2(src, src_stride, dst, dst_stride, filter_x, in aom_convolve8_horiz_dspr2()
835 prefetch_load((const uint8_t *)filter_x); in aom_convolve8_horiz_dspr2()
851 (int32_t)dst_stride, filter_x, (int32_t)h); in aom_convolve8_horiz_dspr2()
855 (int32_t)dst_stride, filter_x, (int32_t)h); in aom_convolve8_horiz_dspr2()
859 (int32_t)dst_stride, filter_x, (int32_t)h, 1); in aom_convolve8_horiz_dspr2()
863 (int32_t)dst_stride, filter_x, (int32_t)h, 2); in aom_convolve8_horiz_dspr2()
870 (int32_t)dst_stride, filter_x, (int32_t)h); in aom_convolve8_horiz_dspr2()
[all …]
Dconvolve2_horiz_dspr2.c632 const int16_t *filter_x, int x_step_q4, in aom_convolve2_horiz_dspr2() argument
639 prefetch_load((const uint8_t *)filter_x); in aom_convolve2_horiz_dspr2()
654 (int32_t)dst_stride, filter_x, (int32_t)h); in aom_convolve2_horiz_dspr2()
658 (int32_t)dst_stride, filter_x, (int32_t)h); in aom_convolve2_horiz_dspr2()
662 (int32_t)dst_stride, filter_x, (int32_t)h, 1); in aom_convolve2_horiz_dspr2()
666 (int32_t)dst_stride, filter_x, (int32_t)h, 2); in aom_convolve2_horiz_dspr2()
673 (int32_t)dst_stride, filter_x, (int32_t)h); in aom_convolve2_horiz_dspr2()
676 aom_convolve8_horiz_c(src, src_stride, dst, dst_stride, filter_x, in aom_convolve2_horiz_dspr2()
Dconvolve_common_dspr2.h29 const int16_t *filter_x, int x_step_q4,
39 const int16_t *filter_x, int x_step_q4,
/external/tensorflow/tensorflow/core/kernels/neon/
Ddepthwiseconv_float.h450 for (int filter_x = 0; filter_x < filter_width; ++filter_x) {
457 out_x_loop_start_unclampled = (pad_width - filter_x + 1) / 2;
459 (pad_width + input_width - filter_x + 1) / 2;
461 out_x_loop_start_unclampled = (pad_width - filter_x + 3) / 4;
463 (pad_width + input_width - filter_x + 3) / 4;
466 (pad_width - filter_x + stride - 1) / stride;
468 (pad_width + input_width - filter_x + stride - 1) / stride;
471 out_x_loop_start_unclampled = pad_width - filter_x;
472 out_x_loop_end_unclampled = pad_width + input_width - filter_x;
483 const int in_x_origin = (out_x_loop_start * stride) - pad_width + filter_x;
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dconvolve.h88 const int16_t *filter_x = filter[x0_q4]; \
91 assert(filter_x[3] != 128); \
97 if (filter_x[0] | filter_x[1] | filter_x[2]) { \
211 const int16_t *filter_x = filter[x0_q4]; \
215 if ((filter_x[0] | filter_x[1] | filter_x[2]) || filter_x[3] == 128) { \
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddepthwiseconv_float.h66 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in DepthwiseConv() local
67 const int in_x = in_x_origin + dilation_width_factor * filter_x; in DepthwiseConv()
77 filter_shape, 0, filter_y, filter_x, oc)]; in DepthwiseConv()
Ddepthwiseconv_uint8.h140 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in Run() local
142 in_x_origin + dilation_width_factor * filter_x; in Run()
152 filter_shape, 0, filter_y, filter_x, oc)]; in Run()
/external/libvpx/libvpx/vpx_dsp/mips/
Dconvolve8_horiz_dspr2.c824 const int16_t *const filter_x = filter[x0_q4]; in vpx_convolve8_horiz_dspr2() local
826 assert(((const int32_t *)filter_x)[1] != 0x800000); in vpx_convolve8_horiz_dspr2()
828 if (vpx_get_filter_taps(filter_x) == 2) { in vpx_convolve8_horiz_dspr2()
834 prefetch_load((const uint8_t *)filter_x); in vpx_convolve8_horiz_dspr2()
850 (int32_t)dst_stride, filter_x, (int32_t)h); in vpx_convolve8_horiz_dspr2()
854 (int32_t)dst_stride, filter_x, (int32_t)h); in vpx_convolve8_horiz_dspr2()
858 (int32_t)dst_stride, filter_x, (int32_t)h, 1); in vpx_convolve8_horiz_dspr2()
862 (int32_t)dst_stride, filter_x, (int32_t)h, 2); in vpx_convolve8_horiz_dspr2()
869 (int32_t)dst_stride, filter_x, (int32_t)h); in vpx_convolve8_horiz_dspr2()
Dconvolve8_avg_horiz_dspr2.c945 const int16_t *const filter_x = filter[x0_q4]; in vpx_convolve8_avg_horiz_dspr2() local
947 assert(((const int32_t *)filter_x)[1] != 0x800000); in vpx_convolve8_avg_horiz_dspr2()
949 if (vpx_get_filter_taps(filter_x) == 2) { in vpx_convolve8_avg_horiz_dspr2()
969 convolve_avg_horiz_4_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve8_avg_horiz_dspr2()
973 convolve_avg_horiz_8_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve8_avg_horiz_dspr2()
977 convolve_avg_horiz_16_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve8_avg_horiz_dspr2()
981 convolve_avg_horiz_16_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve8_avg_horiz_dspr2()
988 convolve_avg_horiz_64_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve8_avg_horiz_dspr2()
Dconvolve2_horiz_dspr2.c634 const int16_t *const filter_x = filter[x0_q4]; in vpx_convolve2_horiz_dspr2() local
639 prefetch_load((const uint8_t *)filter_x); in vpx_convolve2_horiz_dspr2()
654 (int32_t)dst_stride, filter_x, (int32_t)h); in vpx_convolve2_horiz_dspr2()
658 (int32_t)dst_stride, filter_x, (int32_t)h); in vpx_convolve2_horiz_dspr2()
662 (int32_t)dst_stride, filter_x, (int32_t)h, 1); in vpx_convolve2_horiz_dspr2()
666 (int32_t)dst_stride, filter_x, (int32_t)h, 2); in vpx_convolve2_horiz_dspr2()
673 (int32_t)dst_stride, filter_x, (int32_t)h); in vpx_convolve2_horiz_dspr2()
Dconvolve8_dspr2.c1302 const int16_t *const filter_x = filter[x0_q4]; in vpx_convolve8_dspr2() local
1310 assert(((const int32_t *)filter_x)[1] != 0x800000); in vpx_convolve8_dspr2()
1322 if (filter_x[3] == 0x80) { in vpx_convolve8_dspr2()
1325 } else if (vpx_get_filter_taps(filter_x) == 2) { in vpx_convolve8_dspr2()
1327 intermediate_height, filter_x, w, intermediate_height); in vpx_convolve8_dspr2()
1338 intermediate_height, filter_x, in vpx_convolve8_dspr2()
1343 intermediate_height, filter_x, in vpx_convolve8_dspr2()
1349 intermediate_height, filter_x, in vpx_convolve8_dspr2()
1355 intermediate_height, filter_x, in vpx_convolve8_dspr2()
1360 filter_x, w, intermediate_height); in vpx_convolve8_dspr2()
Dconvolve2_avg_horiz_dspr2.c757 const int16_t *const filter_x = filter[x0_q4]; in vpx_convolve2_avg_horiz_dspr2() local
774 convolve_bi_avg_horiz_4_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve2_avg_horiz_dspr2()
778 convolve_bi_avg_horiz_8_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve2_avg_horiz_dspr2()
782 convolve_bi_avg_horiz_16_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve2_avg_horiz_dspr2()
786 convolve_bi_avg_horiz_16_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve2_avg_horiz_dspr2()
793 convolve_bi_avg_horiz_64_dspr2(src, src_stride, dst, dst_stride, filter_x, in vpx_convolve2_avg_horiz_dspr2()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_float.h789 for (int filter_x = 0; filter_x < filter_width; ++filter_x) {
797 (pad_width - dilation_factor * filter_x + 1) / 2;
799 (pad_width + input_width - dilation_factor * filter_x + 1) / 2;
802 (pad_width - dilation_factor * filter_x + 3) / 4;
804 (pad_width + input_width - dilation_factor * filter_x + 3) / 4;
807 (pad_width - dilation_factor * filter_x + stride - 1) / stride;
809 dilation_factor * filter_x + stride - 1) /
813 out_x_loop_start_unclampled = pad_width - dilation_factor * filter_x;
815 pad_width + input_width - dilation_factor * filter_x;
827 (out_x_loop_start * stride) - pad_width + dilation_factor * filter_x;
[all …]
/external/libaom/libaom/av1/common/
Dav1_rtcd_defs.pl73 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
75 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
99 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
101 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
103 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
106 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
109 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
/external/libaom/libaom/aom_dsp/x86/
Dconvolve.h28 ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, \
30 (void)filter_x; \
105 aom_convolve8_##name##_c(src, src_stride, dst, dst_stride, filter_x, \
120 ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, \
197 dst_stride, filter_x, x_step_q4, filter_y, y_step_q4, w, h, bd); \
Daom_asm_stubs.c49 FUN_CONV_1D(horiz, x_step_q4, filter_x, h, src, , sse2);
91 HIGH_FUN_CONV_1D(horiz, x_step_q4, filter_x, h, src, , sse2);
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/portable_optimized/
Ddepthwise_conv.cc150 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in DepthwiseConvOptimizedForFilterWidthEight() local
153 filter_data + Offset(filter_shape, 0, filter_y, filter_x, oc); in DepthwiseConvOptimizedForFilterWidthEight()
156 Offset(reshaped_filter_shape, 0, oc, filter_y, filter_x); in DepthwiseConvOptimizedForFilterWidthEight()
244 for (int filter_x = filter_x_start; filter_x < filter_x_end; in DepthwiseConvOptimizedForFilterWidthEight() local
245 ++filter_x) { in DepthwiseConvOptimizedForFilterWidthEight()
/external/libaom/config/x86_64/config/
Dav1_rtcd.h126 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
127 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
130 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
131 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
134 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
135 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
149 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
152 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
217 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
218 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
[all …]
/external/libvpx/libvpx/test/
Dconvolve_test.cc933 for (int filter_x = 0; filter_x < kNumFilters; ++filter_x) { in TEST_P() local
935 wrapper_filter_block2d_8[i](in, kInputStride, filters[filter_x], in TEST_P()
939 if (filter_x && filter_y) in TEST_P()
942 filter_x, 16, filter_y, 16, Width(), Height())); in TEST_P()
947 else if (filter_x) in TEST_P()
950 filter_x, 16, 0, 16, Width(), Height())); in TEST_P()
963 << "filters (" << filter_bank << "," << filter_x << "," in TEST_P()
1032 for (int filter_x = 0; filter_x < kNumFilters; ++filter_x) { in TEST_P() local
1034 wrapper_filter_block2d_8_c(in, kInputStride, filters[filter_x], in TEST_P()
1037 if (filter_x && filter_y) in TEST_P()
[all …]

123