Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dpooling.h60 for (int filter_x = filter_x_start; filter_x < filter_x_end; in AveragePool() local
61 ++filter_x) { in AveragePool()
62 const int in_x = in_x_origin + filter_x; in AveragePool()
115 for (int filter_x = filter_x_start; filter_x < filter_x_end; in AveragePool() local
116 ++filter_x) { in AveragePool()
117 const int in_x = in_x_origin + filter_x; in AveragePool()
168 for (int filter_x = filter_x_start; filter_x < filter_x_end; in L2Pool() local
169 ++filter_x) { in L2Pool()
170 const int in_x = in_x_origin + filter_x; in L2Pool()
221 for (int filter_x = filter_x_start; filter_x < filter_x_end; in MaxPool() local
[all …]
Dconv.h68 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in Conv() local
70 const int in_x = in_x_origin + dilation_width_factor * filter_x; in Conv()
81 filter_x, in_channel)]; in Conv()
148 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in Conv() local
150 const int in_x = in_x_origin + dilation_width_factor * filter_x; in Conv()
161 filter_x, in_channel)]; in Conv()
225 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in HybridConvPerChannel() local
227 const int in_x = in_x_origin + dilation_width_factor * filter_x; in HybridConvPerChannel()
238 filter_x, in_channel)]; in HybridConvPerChannel()
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()
227 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in RunPerChannel() local
229 in_x_origin + dilation_width_factor * filter_x; in RunPerChannel()
240 filter_shape, 0, filter_y, filter_x, output_channel)]; in RunPerChannel()
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()
/external/libaom/libaom/aom_dsp/
Daom_convolve.c86 const int16_t *filter_x, int x_step_q4, in aom_convolve8_horiz_c() argument
89 const InterpKernel *const filters_x = get_filter_base(filter_x); in aom_convolve8_horiz_c()
90 const int x0_q4 = get_filter_offset(filter_x, filters_x); in aom_convolve8_horiz_c()
101 const int16_t *filter_x, int x_step_q4, in aom_convolve8_vert_c() argument
107 (void)filter_x; in aom_convolve8_vert_c()
115 ptrdiff_t dst_stride, const int16_t *filter_x, in aom_convolve_copy_c() argument
120 (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/libvpx/libvpx/vpx_dsp/x86/
Dconvolve.h100 const int16_t *filter_x = filter[x0_q4]; \
103 assert(filter_x[3] != 128); \
109 if (filter_x[0] | filter_x[1] | filter_x[6] | filter_x[7]) { \
117 } else if (filter_x[2] | filter_x[5]) { \
239 const int16_t *filter_x = filter[x0_q4]; \
243 if ((filter_x[0] | filter_x[1] | filter_x[6] | filter_x[7]) || \
244 filter_x[3] == 128) { \
252 } else if (filter_x[2] | filter_x[5]) { \
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Ddepthwise_conv.h71 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in DepthwiseConvPerChannel() local
72 const int in_x = in_x_origin + dilation_width_factor * filter_x; in DepthwiseConvPerChannel()
83 filter_shape, 0, filter_y, filter_x, output_channel)]; in DepthwiseConvPerChannel()
166 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in DepthwiseConvHybridPerChannel() local
167 const int in_x = in_x_origin + dilation_width_factor * filter_x; in DepthwiseConvHybridPerChannel()
178 filter_shape, 0, filter_y, filter_x, output_channel)]; in DepthwiseConvHybridPerChannel()
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()
Dtranspose_conv.h70 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in TransposeConv() local
74 const int out_x = out_x_origin + filter_x; in TransposeConv()
83 filter_x, in_channel)]; in TransposeConv()
/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/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/test/
Dconvolve_test.cc37 const int16_t *filter_x, int filter_x_stride,
547 for (int filter_x = 0; filter_x < kNumFilters; ++filter_x) { in TEST_P() local
549 wrapper_filter_block2d_8_c(in, kInputStride, filters[filter_x], in TEST_P()
553 if (filter_x && filter_y) in TEST_P()
559 else if (filter_x) in TEST_P()
561 in, kInputStride, out, kOutputStride, filters[filter_x], 16, in TEST_P()
575 << "filters (" << filter_bank << "," << filter_x << "," in TEST_P()
632 for (int filter_x = 0; filter_x < kNumFilters; ++filter_x) { in TEST_P() local
634 wrapper_filter_block2d_8_c(in, kInputStride, filters[filter_x], in TEST_P()
637 if (filter_x && filter_y) in TEST_P()
[all …]
/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/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.h787 for (int filter_x = 0; filter_x < filter_width; ++filter_x) {
795 (pad_width - dilation_factor * filter_x + 1) / 2;
797 (pad_width + input_width - dilation_factor * filter_x + 1) / 2;
800 (pad_width - dilation_factor * filter_x + 3) / 4;
802 (pad_width + input_width - dilation_factor * filter_x + 3) / 4;
805 (pad_width - dilation_factor * filter_x + stride - 1) / stride;
807 dilation_factor * filter_x + stride - 1) /
811 out_x_loop_start_unclampled = pad_width - dilation_factor * filter_x;
813 pad_width + input_width - dilation_factor * filter_x;
825 (out_x_loop_start * stride) - pad_width + dilation_factor * filter_x;
[all …]
/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, \
121 ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, \
198 dst_stride, filter_x, x_step_q4, filter_y, y_step_q4, w, h, bd); \
/external/libaom/libaom/av1/common/
Dav1_rtcd_defs.pl97 …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…
121 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
123 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
125 …trdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c…
128 …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…
/external/tensorflow/tensorflow/lite/micro/kernels/portable_optimized/
Ddepthwise_conv.cc166 for (int filter_x = 0; filter_x < filter_width; ++filter_x) { in DepthwiseConvOptimizedForFilterWidthEight() local
169 filter_data + Offset(filter_shape, 0, filter_y, filter_x, oc); in DepthwiseConvOptimizedForFilterWidthEight()
172 Offset(reshaped_filter_shape, 0, oc, filter_y, filter_x); in DepthwiseConvOptimizedForFilterWidthEight()
269 for (int filter_x = filter_x_start; filter_x < filter_x_end; in DepthwiseConvOptimizedForFilterWidthEight() local
270 ++filter_x) { in DepthwiseConvOptimizedForFilterWidthEight()

123