Home
last modified time | relevance | path

Searched refs:x_index (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/modules/audio_processing/aec3/
Dmatched_filter.cc271 size_t x_index = x_start_index; in MatchedFilterCore() local
273 x2_sum += x[x_index] * x[x_index]; in MatchedFilterCore()
274 s += h[k] * x[x_index]; in MatchedFilterCore()
275 x_index = x_index < (x.size() - 1) ? x_index + 1 : 0; in MatchedFilterCore()
289 size_t x_index = x_start_index; in MatchedFilterCore() local
291 h[k] += alpha * x[x_index]; in MatchedFilterCore()
292 x_index = x_index < (x.size() - 1) ? x_index + 1 : 0; in MatchedFilterCore()
Dmatched_filter_unittest.cc64 int x_index = 0; in TEST() local
73 MatchedFilterCore_NEON(x_index, h.size() * 150.f * 150.f, kSmoothing, x, in TEST()
76 MatchedFilterCore(x_index, h.size() * 150.f * 150.f, kSmoothing, x, y, h, in TEST()
86 x_index = (x_index + sub_block_size) % x.size(); in TEST()
107 int x_index = 0; in TEST() local
116 MatchedFilterCore_SSE2(x_index, h.size() * 150.f * 150.f, kSmoothing, x, in TEST()
120 MatchedFilterCore(x_index, h.size() * 150.f * 150.f, kSmoothing, x, y, in TEST()
130 x_index = (x_index + sub_block_size) % x.size(); in TEST()
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dimage_utils.h214 for (int x_index = 0; x_index < patch_width; ++x_index) { in CopyArea() local
216 x_index * x_dist_between_samples + area_to_copy.left_; in CopyArea()
220 (*patch_image)[y_index][x_index] = in CopyArea()
223 (*patch_image)[y_index][x_index] = -1.0f; in CopyArea()
/external/tensorflow/tensorflow/core/kernels/linalg/
Dmatrix_diag_op_gpu.cu.cc122 const int x_index = index_in_the_diagonal + x_offset - content_offset; in MatrixDiagPartKernel() local
123 if (0 <= y_index && y_index < num_rows && 0 <= x_index && in MatrixDiagPartKernel()
124 x_index < num_cols) { in MatrixDiagPartKernel()
126 input_ptr[batch * num_rows * num_cols + y_index * num_cols + x_index]; in MatrixDiagPartKernel()
Dmatrix_set_diag_op_gpu.cu.cc61 const int x_index = index_in_the_diagonal + max(0, diag_index); in MatrixSetDiagKernel() local
64 if (index_in_the_diagonal >= 0 && y_index < m && x_index < n) { in MatrixSetDiagKernel()
65 const int out_index = batch * m * n + y_index * n + x_index; in MatrixSetDiagKernel()
/external/tensorflow/tensorflow/core/kernels/image/
Dresize_bicubic_op.cc272 int x_index; in ComputeYInterpolation() local
275 x_index = x_wai.index_0; in ComputeYInterpolation()
278 x_index = x_wai.index_1; in ComputeYInterpolation()
281 x_index = x_wai.index_2; in ComputeYInterpolation()
284 x_index = x_wai.index_3; in ComputeYInterpolation()
287 const int64 pt_index = x_index + channel_num; in ComputeYInterpolation()
/external/libgav1/libgav1/src/dsp/arm/
Dintrapred_cfl_neon.cc103 const uint16x8_t x_index = {0, 2, 4, 6, 8, 10, 12, 14}; in CflSubsampler420_NEON() local
106 const uint16x8_t x_mask = vcltq_u16(x_index, x_max_index); in CflSubsampler420_NEON()
144 uint16x8_t x_index = {0, 2, 4, 6, 8, 10, 12, 14}; in CflSubsampler420_NEON() local
148 const uint16x8_t x_mask = vcltq_u16(x_index, x_max_index); in CflSubsampler420_NEON()
158 x_index = vaddq_u16(x_index, vdupq_n_u16(16)); in CflSubsampler420_NEON()
212 const uint8x8_t x_index = {0, 1, 2, 3, 4, 5, 6, 7}; in CflSubsampler444_NEON() local
214 const uint8x8_t x_mask = vclt_u8(x_index, x_max_index); in CflSubsampler444_NEON()
237 uint8x16_t x_index = {0, 1, 2, 3, 4, 5, 6, 7, in CflSubsampler444_NEON() local
241 const uint8x16_t x_mask = vcltq_u8(x_index, x_max_index); in CflSubsampler444_NEON()
251 x_index = vaddq_u8(x_index, vdupq_n_u8(16)); in CflSubsampler444_NEON()
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.cc898 int x_index, y_index, major_channel_index, minor_channel_index = -1; in ConvolutionDimensionsFromInputs() local
903 x_index = 3; in ConvolutionDimensionsFromInputs()
908 x_index = 3; in ConvolutionDimensionsFromInputs()
913 x_index = 2; in ConvolutionDimensionsFromInputs()
948 int64 ix = image_shape.dim(x_index).size(); in ConvolutionDimensionsFromInputs()
962 int64 sx = strides[x_index]; in ConvolutionDimensionsFromInputs()
2132 int x_index, y_index, channel_index; in OpDimensionsFromInputs() local
2137 x_index = 3; in OpDimensionsFromInputs()
2140 x_index = 2; in OpDimensionsFromInputs()
2144 int64 ix = image_shape.dim(x_index).size(); in OpDimensionsFromInputs()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dreference_ops.h1563 const int x_index = SubscriptToIndex(desc_x, b, y, x, c); in BroadcastSelect4DSlow() local
1566 input_condition_data[condition_index] ? input_x_data[x_index] in BroadcastSelect4DSlow()
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_ext_inst_test.cpp96 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedNumComponents() local
98 ext_inst_name.substr(x_index - 1, x_index); in GetPackedNumComponents()
105 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedBitWidth() local
106 const std::string packed_bit_width_str = ext_inst_name.substr(x_index + 1); in GetPackedBitWidth()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_ext_inst_test.cpp96 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedNumComponents() local
98 ext_inst_name.substr(x_index - 1, x_index); in GetPackedNumComponents()
105 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedBitWidth() local
106 const std::string packed_bit_width_str = ext_inst_name.substr(x_index + 1); in GetPackedBitWidth()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_ext_inst_test.cpp96 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedNumComponents() local
98 ext_inst_name.substr(x_index - 1, x_index); in GetPackedNumComponents()
105 const size_t x_index = ext_inst_name.find_last_of('x'); in GetPackedBitWidth() local
106 const std::string packed_bit_width_str = ext_inst_name.substr(x_index + 1); in GetPackedBitWidth()