Home
last modified time | relevance | path

Searched refs:input_stride (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/external/libaom/libaom/av1/common/x86/
Dcfl_simd.h18 void cfl_subsample_lbd_420_4x4_ssse3(const uint8_t *cfl_type, int input_stride,
20 void cfl_subsample_lbd_420_4x8_ssse3(const uint8_t *cfl_type, int input_stride,
22 void cfl_subsample_lbd_420_4x16_ssse3(const uint8_t *cfl_type, int input_stride,
26 void cfl_subsample_lbd_420_8x4_ssse3(const uint8_t *cfl_type, int input_stride,
28 void cfl_subsample_lbd_420_8x8_ssse3(const uint8_t *cfl_type, int input_stride,
30 void cfl_subsample_lbd_420_8x16_ssse3(const uint8_t *cfl_type, int input_stride,
32 void cfl_subsample_lbd_420_8x32_ssse3(const uint8_t *cfl_type, int input_stride,
36 void cfl_subsample_lbd_420_16x4_ssse3(const uint8_t *cfl_type, int input_stride,
38 void cfl_subsample_lbd_420_16x8_ssse3(const uint8_t *cfl_type, int input_stride,
41 int input_stride, uint16_t *output_q3);
[all …]
Dcfl_ssse3.c41 int input_stride, in cfl_luma_subsampling_420_lbd_ssse3() argument
47 const int luma_stride = input_stride << 1; in cfl_luma_subsampling_420_lbd_ssse3()
52 __m128i bot = _mm_loadh_epi32((__m128i *)(input + input_stride)); in cfl_luma_subsampling_420_lbd_ssse3()
59 __m128i bot = _mm_loadl_epi64((__m128i *)(input + input_stride)); in cfl_luma_subsampling_420_lbd_ssse3()
66 __m128i bot = _mm_loadu_si128((__m128i *)(input + input_stride)); in cfl_luma_subsampling_420_lbd_ssse3()
73 _mm_loadu_si128(((__m128i *)(input + input_stride)) + 1); in cfl_luma_subsampling_420_lbd_ssse3()
96 int input_stride, in cfl_luma_subsampling_422_lbd_ssse3() argument
121 input += input_stride; in cfl_luma_subsampling_422_lbd_ssse3()
136 int input_stride, in cfl_luma_subsampling_444_lbd_ssse3() argument
140 const int luma_stride = input_stride; in cfl_luma_subsampling_444_lbd_ssse3()
[all …]
/external/XNNPACK/src/operators/
Dunary-elementwise-nc.c22 size_t input_stride, in create_unary_elementwise_nc() argument
46 if (input_stride < channels) { in create_unary_elementwise_nc()
50 xnn_operator_type_to_string(xnn_operator_type_clamp_nc_f32), input_stride, channels); in create_unary_elementwise_nc()
71 unary_elementwise_op->input_pixel_stride = input_stride; in create_unary_elementwise_nc()
107 const size_t input_stride = unary_elementwise_op->input_pixel_stride; in setup_unary_elementwise_nc() local
112 if ((((input_stride ^ channels) | (output_stride ^ channels)) == 0) || batch_size == 1) { in setup_unary_elementwise_nc()
116 .x_stride = input_stride << log2_element_size, in setup_unary_elementwise_nc()
132 .x_stride = input_stride << log2_element_size, in setup_unary_elementwise_nc()
152 size_t input_stride, in xnn_create_clamp_nc_u8() argument
168 channels, input_stride, output_stride, flags, in xnn_create_clamp_nc_u8()
[all …]
/external/XNNPACK/test/
Dsoftmax-operator-tester.h38 inline SoftMaxOperatorTester& input_stride(size_t input_stride) { in input_stride() function
39 assert(input_stride != 0); in input_stride()
40 this->input_stride_ = input_stride; in input_stride()
44 inline size_t input_stride() const { in input_stride() function
120 std::vector<uint8_t> input((batch_size() - 1) * input_stride() + channels()); in TestQU8()
130 input.data() + i * input_stride(), in TestQU8()
131 input.data() + i * input_stride() + channels()); in TestQU8()
135 std::exp((int32_t(input[i * input_stride() + c]) - max_input) * in TestQU8()
140 std::exp((int32_t(input[i * input_stride() + c]) - max_input) * in TestQU8()
153 channels(), input_stride(), output_stride(), in TestQU8()
[all …]
Dsquare-root-operator-tester.h33 inline SquareRootOperatorTester& input_stride(size_t input_stride) { in input_stride() argument
34 assert(input_stride != 0); in input_stride()
35 this->input_stride_ = input_stride; in input_stride()
39 inline size_t input_stride() const { in input_stride() function
88 (batch_size() - 1) * input_stride() + channels()); in TestF32()
98 output_ref[i * channels() + c] = std::sqrt(input[i * input_stride() + c]); in TestF32()
108 channels(), input_stride(), output_stride(), in TestF32()
130 << ", input " << input[i * input_stride() + c]; in TestF32()
Dchannel-shuffle-nc.cc112 .input_stride(511) in TEST()
124 .input_stride(511) in TEST()
136 .input_stride(511) in TEST()
149 .input_stride(1007) in TEST()
212 .input_stride(511) in TEST()
225 .input_stride(511) in TEST()
238 .input_stride(511) in TEST()
252 .input_stride(1007) in TEST()
358 .input_stride(511) in TEST()
370 .input_stride(511) in TEST()
[all …]
Dchannel-shuffle-operator-tester.h51 inline ChannelShuffleOperatorTester& input_stride(size_t input_stride) { in input_stride() function
52 assert(input_stride != 0); in input_stride()
53 this->input_stride_ = input_stride; in input_stride()
57 inline size_t input_stride() const { in input_stride() function
105 …nt8_t> input(XNN_EXTRA_BYTES / sizeof(uint8_t) + (batch_size() - 1) * input_stride() + channels()); in TestX8()
118 input_stride(), output_stride(), in TestX8()
139 ASSERT_EQ(uint32_t(input[i * input_stride() + g * group_channels() + c]), in TestX8()
153 …std::vector<float> input(XNN_EXTRA_BYTES / sizeof(float) + (batch_size() - 1) * input_stride() + c… in TestX32()
166 input_stride(), output_stride(), in TestX32()
187 ASSERT_EQ(input[i * input_stride() + g * group_channels() + c], in TestX32()
Delu-operator-tester.h34 inline ELUOperatorTester& input_stride(size_t input_stride) { in input_stride() argument
35 assert(input_stride != 0); in input_stride()
36 this->input_stride_ = input_stride; in input_stride()
40 inline size_t input_stride() const { in input_stride() function
99 …std::vector<float> input(XNN_EXTRA_BYTES / sizeof(float) + (batch_size() - 1) * input_stride() + c… in TestF32()
109 const double x = double(input[i * input_stride() + c]); in TestF32()
120 channels(), input_stride(), output_stride(), in TestF32()
145 << ", input " << input[i * input_stride() + c] << ", alpha " << alpha(); in TestF32()
Dpad-microkernel-tester.h66 inline PadMicrokernelTester& input_stride(size_t input_stride) { in input_stride() function
67 assert(input_stride != 0); in input_stride()
68 this->input_stride_ = input_stride; in input_stride()
72 inline size_t input_stride() const { in input_stride() function
110 …std::vector<uint32_t> input(input_channels() + (rows() - 1) * input_stride() + XNN_EXTRA_BYTES / s… in Test()
122 &input[i * input_stride()], in Test()
123 &input[i * input_stride() + input_channels()], in Test()
134 input.data(), input_stride() * sizeof(uint32_t), in Test()
Dcopy-operator-tester.h34 inline CopyOperatorTester& input_stride(size_t input_stride) { in input_stride() function
35 assert(input_stride != 0); in input_stride()
36 this->input_stride_ = input_stride; in input_stride()
40 inline size_t input_stride() const { in input_stride() function
89 (batch_size() - 1) * input_stride() + channels()); in TestX32()
99 output_ref[i * channels() + c] = input[i * input_stride() + c]; in TestX32()
109 channels(), input_stride(), output_stride(), in TestX32()
Dnegate-operator-tester.h33 inline NegateOperatorTester& input_stride(size_t input_stride) { in input_stride() function
34 assert(input_stride != 0); in input_stride()
35 this->input_stride_ = input_stride; in input_stride()
39 inline size_t input_stride() const { in input_stride() function
88 (batch_size() - 1) * input_stride() + channels()); in TestF32()
98 output_ref[i * channels() + c] = -input[i * input_stride() + c]; in TestF32()
108 channels(), input_stride(), output_stride(), in TestF32()
Dceiling-operator-tester.h34 inline CeilingOperatorTester& input_stride(size_t input_stride) { in input_stride() function
35 assert(input_stride != 0); in input_stride()
36 this->input_stride_ = input_stride; in input_stride()
40 inline size_t input_stride() const { in input_stride() function
89 (batch_size() - 1) * input_stride() + channels()); in TestF32()
99 output_ref[i * channels() + c] = std::ceil(input[i * input_stride() + c]); in TestF32()
109 channels(), input_stride(), output_stride(), in TestF32()
Dsquare-operator-tester.h33 inline SquareOperatorTester& input_stride(size_t input_stride) { in input_stride() argument
34 assert(input_stride != 0); in input_stride()
35 this->input_stride_ = input_stride; in input_stride()
39 inline size_t input_stride() const { in input_stride() function
88 (batch_size() - 1) * input_stride() + channels()); in TestF32()
98 const float value = input[i * input_stride() + c]; in TestF32()
109 channels(), input_stride(), output_stride(), in TestF32()
Dtruncation-operator-tester.h34 inline TruncationOperatorTester& input_stride(size_t input_stride) { in input_stride() argument
35 assert(input_stride != 0); in input_stride()
36 this->input_stride_ = input_stride; in input_stride()
40 inline size_t input_stride() const { in input_stride() function
89 (batch_size() - 1) * input_stride() + channels()); in TestF32()
99 output_ref[i * channels() + c] = std::trunc(input[i * input_stride() + c]); in TestF32()
109 channels(), input_stride(), output_stride(), in TestF32()
Dabs-operator-tester.h34 inline AbsOperatorTester& input_stride(size_t input_stride) { in input_stride() argument
35 assert(input_stride != 0); in input_stride()
36 this->input_stride_ = input_stride; in input_stride()
40 inline size_t input_stride() const { in input_stride() function
89 (batch_size() - 1) * input_stride() + channels()); in TestF32()
99 output_ref[i * channels() + c] = std::fabs(input[i * input_stride() + c]); in TestF32()
109 channels(), input_stride(), output_stride(), in TestF32()
Dbankers-rounding-operator-tester.h34 inline BankersRoundingOperatorTester& input_stride(size_t input_stride) { in input_stride() argument
35 assert(input_stride != 0); in input_stride()
36 this->input_stride_ = input_stride; in input_stride()
40 inline size_t input_stride() const { in input_stride() function
89 (batch_size() - 1) * input_stride() + channels()); in TestF32()
99 output_ref[i * channels() + c] = std::nearbyint(input[i * input_stride() + c]); in TestF32()
109 channels(), input_stride(), output_stride(), in TestF32()
Dfloor-operator-tester.h34 inline FloorOperatorTester& input_stride(size_t input_stride) { in input_stride() function
35 assert(input_stride != 0); in input_stride()
36 this->input_stride_ = input_stride; in input_stride()
40 inline size_t input_stride() const { in input_stride() function
89 (batch_size() - 1) * input_stride() + channels()); in TestF32()
99 output_ref[i * channels() + c] = std::floor(input[i * input_stride() + c]); in TestF32()
109 channels(), input_stride(), output_stride(), in TestF32()
Dhardswish-operator-tester.h35 inline HardSwishOperatorTester& input_stride(size_t input_stride) { in input_stride() function
36 assert(input_stride != 0); in input_stride()
37 this->input_stride_ = input_stride; in input_stride()
41 inline size_t input_stride() const { in input_stride() function
91 (batch_size() - 1) * input_stride() + channels()); in TestF16()
101 const float x = fp16_ieee_to_fp32_value(input[i * input_stride() + c]); in TestF16()
111 channels(), input_stride(), output_stride(), in TestF16()
147 (batch_size() - 1) * input_stride() + channels()); in TestF32()
157 const float x = input[i * input_stride() + c]; in TestF32()
169 channels(), input_stride(), output_stride(), in TestF32()
Dprelu-microkernel-tester.h48 inline PReLUMicrokernelTester& input_stride(size_t input_stride) { in input_stride() argument
49 assert(input_stride != 0); in input_stride()
50 this->input_stride_ = input_stride; in input_stride()
54 inline size_t input_stride() const { in input_stride() function
104 …std::vector<uint16_t> x(channels() + (rows() - 1) * input_stride() + XNN_EXTRA_BYTES / sizeof(uint… in Test()
121 const float x_value = fp16_ieee_to_fp32_value(x_data[n * input_stride() + c]); in Test()
129 x_data, input_stride() * sizeof(uint16_t), in Test()
150 …std::vector<float> x(channels() + (rows() - 1) * input_stride() + XNN_EXTRA_BYTES / sizeof(float)); in Test()
167 const float x_value = x_data[n * input_stride() + c]; in Test()
174 x_data, input_stride() * sizeof(float), in Test()
Dibilinear-microkernel-tester.h79 inline IBilinearMicrokernelTester& input_stride(uint32_t input_stride) { in input_stride() argument
80 assert(input_stride != 0); in input_stride()
81 this->input_stride_ = input_stride; in input_stride()
85 inline uint32_t input_stride() const { in input_stride() function
154 …std::vector<float> input(XNN_EXTRA_BYTES / sizeof(float) + (channels() - 1) * input_stride() + 4 *… in TestCHW()
180 …(indirection[i * 2 + 0] + 0)[c * input_stride() + input_offset()] * (1.0f - alpha_h) * (1.0f - alp… in TestCHW()
181 … (indirection[i * 2 + 0] + 1)[c * input_stride() + input_offset()] * alpha_h * (1.0f - alpha_v) + in TestCHW()
182 … (indirection[i * 2 + 1] + 0)[c * input_stride() + input_offset()] * (1.0f - alpha_h) * alpha_v + in TestCHW()
183 (indirection[i * 2 + 1] + 1)[c * input_stride() + input_offset()] * alpha_h * alpha_v; in TestCHW()
191 packed_weights.data(), output.data(), input_stride() * sizeof(float)); in TestCHW()
Dleaky-relu-operator-tester.h38 inline LeakyReLUOperatorTester& input_stride(size_t input_stride) { in input_stride() function
39 assert(input_stride != 0); in input_stride()
40 this->input_stride_ = input_stride; in input_stride()
44 inline size_t input_stride() const { in input_stride() function
161 …std::vector<float> input(XNN_EXTRA_BYTES / sizeof(float) + (batch_size() - 1) * input_stride() + c… in TestF32()
171 const float x = input[i * input_stride() + c]; in TestF32()
183 channels(), input_stride(), output_stride(), in TestF32()
206 … << ", input " << input[i * input_stride() + c] << ", negative slope " << negative_slope(); in TestF32()
217 std::vector<uint8_t> input((batch_size() - 1) * input_stride() + channels()); in TestQU8()
227 …const float x = input_scale() * (int32_t(input[i * input_stride() + c]) - int32_t(input_zero_point… in TestQU8()
[all …]
/external/XNNPACK/src/f32-gavgpool/
D7x-minmax-wasm-c1.c16 size_t input_stride, in xnn_f32_gavgpool_minmax_ukernel_7x__wasm_c1() argument
26 const float* i1 = (const float*) ((uintptr_t) i0 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__wasm_c1()
30 const float* i2 = (const float*) ((uintptr_t) i1 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__wasm_c1()
34 const float* i3 = (const float*) ((uintptr_t) i2 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__wasm_c1()
38 const float* i4 = (const float*) ((uintptr_t) i3 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__wasm_c1()
42 const float* i5 = (const float*) ((uintptr_t) i4 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__wasm_c1()
46 const float* i6 = (const float*) ((uintptr_t) i5 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__wasm_c1()
D7x-minmax-scalar-c1.c16 size_t input_stride, in xnn_f32_gavgpool_minmax_ukernel_7x__scalar_c1() argument
26 const float* i1 = (const float*) ((uintptr_t) i0 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__scalar_c1()
30 const float* i2 = (const float*) ((uintptr_t) i1 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__scalar_c1()
34 const float* i3 = (const float*) ((uintptr_t) i2 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__scalar_c1()
38 const float* i4 = (const float*) ((uintptr_t) i3 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__scalar_c1()
42 const float* i5 = (const float*) ((uintptr_t) i4 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__scalar_c1()
46 const float* i6 = (const float*) ((uintptr_t) i5 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7x__scalar_c1()
D7p7x-minmax-scalar-c1.c16 size_t input_stride, in xnn_f32_gavgpool_minmax_ukernel_7p7x__scalar_c1() argument
26 const float* i1 = (const float*) ((uintptr_t) i0 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7p7x__scalar_c1()
27 const float* i2 = (const float*) ((uintptr_t) i1 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7p7x__scalar_c1()
28 const float* i3 = (const float*) ((uintptr_t) i2 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7p7x__scalar_c1()
29 const float* i4 = (const float*) ((uintptr_t) i3 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7p7x__scalar_c1()
30 const float* i5 = (const float*) ((uintptr_t) i4 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7p7x__scalar_c1()
31 const float* i6 = (const float*) ((uintptr_t) i5 + input_stride); in xnn_f32_gavgpool_minmax_ukernel_7p7x__scalar_c1()
32 const size_t input_increment = 7 * input_stride - channels * sizeof(float); in xnn_f32_gavgpool_minmax_ukernel_7p7x__scalar_c1()
/external/XNNPACK/src/qu8-gavgpool/
D7x-minmax-scalar-c1.c16 size_t input_stride, in xnn_qu8_gavgpool_minmax_ukernel_7x__scalar_c1() argument
26 const uint8_t* i1 = (const uint8_t*) ((uintptr_t) i0 + input_stride); in xnn_qu8_gavgpool_minmax_ukernel_7x__scalar_c1()
30 const uint8_t* i2 = (const uint8_t*) ((uintptr_t) i1 + input_stride); in xnn_qu8_gavgpool_minmax_ukernel_7x__scalar_c1()
34 const uint8_t* i3 = (const uint8_t*) ((uintptr_t) i2 + input_stride); in xnn_qu8_gavgpool_minmax_ukernel_7x__scalar_c1()
38 const uint8_t* i4 = (const uint8_t*) ((uintptr_t) i3 + input_stride); in xnn_qu8_gavgpool_minmax_ukernel_7x__scalar_c1()
42 const uint8_t* i5 = (const uint8_t*) ((uintptr_t) i4 + input_stride); in xnn_qu8_gavgpool_minmax_ukernel_7x__scalar_c1()
46 const uint8_t* i6 = (const uint8_t*) ((uintptr_t) i5 + input_stride); in xnn_qu8_gavgpool_minmax_ukernel_7x__scalar_c1()

12345678910>>...20