Home
last modified time | relevance | path

Searched refs:in_ch (Results 1 – 11 of 11) sorted by relevance

/external/adhd/cras/src/tests/
Dfmt_conv_ops_unittest.cc93 const size_t in_ch = 2; in TEST() local
96 U8Ptr src = CreateU8(frames * in_ch); in TEST()
99 convert_u8_to_s16le(src.get(), frames * in_ch, (uint8_t*)dst.get()); in TEST()
101 for (size_t i = 0; i < frames * in_ch; ++i) { in TEST()
110 const size_t in_ch = 2; in TEST() local
113 S243LEPtr src = CreateS243LE(frames * in_ch); in TEST()
116 convert_s243le_to_s16le(src.get(), frames * in_ch, (uint8_t*)dst.get()); in TEST()
119 for (size_t i = 0; i < frames * in_ch; ++i) { in TEST()
128 const size_t in_ch = 2; in TEST() local
131 S24LEPtr src = CreateS24LE(frames * in_ch); in TEST()
[all …]
Dfmt_conv_unittest.cc1709 float** cras_channel_conv_matrix_alloc(size_t in_ch, size_t out_ch) { in cras_channel_conv_matrix_alloc() argument
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconcat.cc135 int in_ch = ctx.input_shapes[current_input_id][3]; in GenerateCode() local
136 code += PrintStartMessage(current_input_id, in_ch, already_written); in GenerateCode()
149 code += AlignedCase(in_ch, input); in GenerateCode()
151 code += UnalignedCase(reminder, in_ch, input, &t); in GenerateCode()
153 already_written += in_ch; in GenerateCode()
185 std::string PrintStartMessage(int current_input_id, int in_ch, in PrintStartMessage() argument
188 " tensor with " + std::to_string(in_ch) + in PrintStartMessage()
193 std::string AlignedCase(int in_ch, const std::string& input) const { in AlignedCase() argument
213 int blocks_amount = DivideRoundUp<int>(in_ch, 4); in AlignedCase()
228 std::string UnalignedCase(int reminder, int in_ch, const std::string& input, in UnalignedCase() argument
[all …]
/external/libevent/
Dkqueue.c212 struct event_change *in_ch = &changelist->changes[i]; in kq_build_changes_list() local
235 if (in_ch->read_change) { in kq_build_changes_list()
237 kq_setup_kevent(out_ch, in_ch->fd, EVFILT_READ, in kq_build_changes_list()
238 in_ch->read_change); in kq_build_changes_list()
240 if (in_ch->write_change) { in kq_build_changes_list()
242 kq_setup_kevent(out_ch, in_ch->fd, EVFILT_WRITE, in kq_build_changes_list()
243 in_ch->write_change); in kq_build_changes_list()
/external/adhd/cras/src/common/
Dcras_audio_format.c93 float **cras_channel_conv_matrix_alloc(size_t in_ch, size_t out_ch) in cras_channel_conv_matrix_alloc() argument
101 p[i] = (float *)calloc(in_ch, sizeof(*p[i])); in cras_channel_conv_matrix_alloc()
Dcras_audio_format.h160 float **cras_channel_conv_matrix_alloc(size_t in_ch, size_t out_ch);
/external/adhd/cras/src/server/
Dcras_fmt_conv_ops.c418 unsigned int in_ch, out_ch, i; in s16_default_all_to_all() local
425 for (in_ch = 0; in_ch < num_in_ch; in_ch++) { in s16_default_all_to_all()
426 sum += (int32_t)in[in_ch + i * num_in_ch]; in s16_default_all_to_all()
Dcras_fmt_conv.c553 unsigned out_ch, in_ch; in cras_channel_remix_conv_create() local
565 for (in_ch = 0; in_ch < num_channels; in_ch++) in cras_channel_remix_conv_create()
566 conv->ch_conv_mtx[out_ch][in_ch] = in cras_channel_remix_conv_create()
567 coefficient[in_ch + out_ch * num_channels]; in cras_channel_remix_conv_create()
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/doc/
DDepthwiseConv2D_int8.md177 for in_ch < in_channel; step_size = 1
180 buffer[ch_offset] += input[indexOf(i, y, x, in_ch)] *
183 for in_ch < in_channel; step_size = 1
208 calculate in_ch and out_ch
210 buffer[ch_offset] += input[indexOf(i, y, x, in_ch)] *
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Ddepthwise_conv.cc84 const int in_ch = SizeOfDimension(input, 3); in IsMliApplicable() local
97 ((in_ch == filters_num) || (in_ch == 1)); in IsMliApplicable()
/external/rust/crates/crossbeam-channel/tests/
Dgolang.rs854 fn filter(in_ch: Chan<i32>, out_ch: Chan<i32>, prime: i32) { in filter()
855 for i in in_ch { in filter()