/external/webrtc/common_audio/ |
D | audio_converter.cc | 27 CopyConverter(size_t src_channels, in CopyConverter() argument 31 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in CopyConverter() 40 for (size_t i = 0; i < src_channels(); ++i) in Convert() 48 UpmixConverter(size_t src_channels, in UpmixConverter() argument 52 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in UpmixConverter() 70 DownmixConverter(size_t src_channels, in DownmixConverter() argument 74 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in DownmixConverter() 85 for (size_t j = 0; j < src_channels(); ++j) in Convert() 87 dst_mono[i] = sum / src_channels(); in Convert() 94 ResampleConverter(size_t src_channels, in ResampleConverter() argument [all …]
|
D | audio_converter_unittest.cc | 89 void RunAudioConverterTest(size_t src_channels, in RunAudioConverterTest() argument 104 if (src_channels == 2) in RunAudioConverterTest() 111 if (src_channels == 1) in RunAudioConverterTest() 118 if (src_channels == 1) in RunAudioConverterTest() 134 printf("(%" RTC_PRIuS ", %d Hz) -> (%" RTC_PRIuS ", %d Hz) ", src_channels, in RunAudioConverterTest() 138 src_channels, src_frames, dst_channels, dst_frames); in RunAudioConverterTest()
|
D | audio_converter.h | 32 static std::unique_ptr<AudioConverter> Create(size_t src_channels, 47 size_t src_channels() const { return src_channels_; } in src_channels() function 54 AudioConverter(size_t src_channels,
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
D | fully_connected.h | 42 const int src_channels = weights.shape.i; in RearrangeFCWeightsToIOO4I4() local 43 const int padded_src_channels = AlignByN(src_channels, 4); in RearrangeFCWeightsToIOO4I4() 79 if (x < src_channels && y < dst_channels) { in RearrangeFCWeightsToIOO4I4() 80 dst[dst_index] = weights.data[src_channels * y + x]; in RearrangeFCWeightsToIOO4I4() 93 const int src_channels = weights.shape.i; in RearrangeFCWeightsToOIO4I4() local 94 const int src_depth = DivideRoundUp(src_channels, 4); in RearrangeFCWeightsToOIO4I4() 105 if (src_ch < src_channels && dst_ch < dst_channels) { in RearrangeFCWeightsToOIO4I4() 106 dst[counter++] = weights.data[dst_ch * src_channels + src_ch]; in RearrangeFCWeightsToOIO4I4()
|
D | tile.cc | 100 GPUOperation CreateTile(const OperationDef& op_def, int src_channels) { in CreateTile() argument 104 op.code_ = GetTileCode(op_def, src_channels % 4 == 0); in CreateTile()
|
D | conv_constants.cc | 223 bool IsDotConvBetter(int src_channels, int dst_channels) { in IsDotConvBetter() argument 229 if (src_channels % 4 == 0) { in IsDotConvBetter() 234 const int src_depth = DivideRoundUp(src_channels, 4); in IsDotConvBetter() 236 return dst_channels * src_depth < src_channels * dst_depth; in IsDotConvBetter()
|
D | tile.h | 27 GPUOperation CreateTile(const OperationDef& op_def, int src_channels);
|
D | strided_slice.cc | 31 int src_channels, int src_batch) { in GetOffset() argument 57 offset.z = src_channels + attr.ends.c; in GetOffset()
|
D | conv_weights_converter_test_util.cc | 277 const int src_channels = 9; in ConverterToConvWeights4xTexturesTest() local 279 auto weights_shape = OHWI(dst_channels, 1, 1, src_channels); in ConverterToConvWeights4xTexturesTest()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/special/ |
D | fc_fc_add.h | 42 const int src_channels = weights.shape.i; in RearrangeFCWeightsToIOO4I4() local 43 const int padded_src_channels = AlignByN(src_channels, 4); in RearrangeFCWeightsToIOO4I4() 55 if (x < src_channels && y < dst_channels) { in RearrangeFCWeightsToIOO4I4() 56 dst[dst_index] = weights.data[src_channels * y + x]; in RearrangeFCWeightsToIOO4I4() 69 const int src_channels = weights.shape.i; in RearrangeFCWeightsToOIO4I4() local 70 const int src_depth = DivideRoundUp(src_channels, 4); in RearrangeFCWeightsToOIO4I4() 81 if (src_ch < src_channels && dst_ch < dst_channels) { in RearrangeFCWeightsToOIO4I4() 82 dst[counter++] = weights.data[dst_ch * src_channels + src_ch]; in RearrangeFCWeightsToOIO4I4()
|
/external/webrtc/audio/ |
D | remix_resample_unittest.cc | 35 void RunResampleTest(int src_channels, 158 void UtilityTest::RunResampleTest(int src_channels, in RunResampleTest() argument 177 if (src_channels == 1) in RunResampleTest() 179 else if (src_channels == 2) in RunResampleTest() 187 if (src_channels == 1) in RunResampleTest() 189 else if (src_channels == 2) in RunResampleTest() 195 if (src_channels == 1) in RunResampleTest() 197 else if (src_channels == 2) in RunResampleTest() 212 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunResampleTest()
|
/external/ComputeLibrary/tests/validation/reference/ |
D | Im2Col.cpp | 50 const int src_channels = src.shape().z(); in im2col_nchw() local 63 const int first_group_ch = g * (src_channels / num_groups); in im2col_nchw() 64 const int last_group_ch = (g + 1) * (src_channels / num_groups); in im2col_nchw() 104 const int src_channels = src.shape().x(); in im2col_nhwc() local 123 for(int ci = 0; ci < src_channels; ++ci) in im2col_nhwc() 129 …dst[ci + (xk + yk * kernel_width) * src_channels + yo * dst.shape().x() + b * dst.shape().x() * ds… in im2col_nhwc()
|
/external/webrtc/audio/utility/ |
D | audio_frame_operations.cc | 121 size_t src_channels, in DownmixChannels() argument 125 if (src_channels > 1 && dst_channels == 1) { in DownmixChannels() 126 DownmixInterleavedToMono(src_audio, samples_per_channel, src_channels, in DownmixChannels() 129 } else if (src_channels == 4 && dst_channels == 2) { in DownmixChannels() 134 RTC_NOTREACHED() << "src_channels: " << src_channels in DownmixChannels()
|
D | audio_frame_operations.h | 62 size_t src_channels,
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs.c | 1253 unsigned src_channels; in generate_fs_twiddle() local 1257 src_channels = dst_channels < 3 ? dst_channels : 4; in generate_fs_twiddle() 1258 src_count = num_fs * src_channels; in generate_fs_twiddle() 1261 assert(num_fs * src_channels <= ARRAY_SIZE(src)); in generate_fs_twiddle() 1267 lp_build_transpose_aos_n(gallivm, type, &fs_src[i][0], src_channels, &src[i * src_channels]); in generate_fs_twiddle() 2275 unsigned src_channels = TGSI_NUM_CHANNELS; in generate_unswizzled_blend() local 2444 0, src_channels); in generate_unswizzled_blend() 2446 src_channels, src_channels); in generate_unswizzled_blend() 2448 src_alpha[i*2 + 0] = lp_build_extract_range(gallivm, alpha, 0, src_channels); in generate_unswizzled_blend() 2450 src_channels, src_channels); in generate_unswizzled_blend() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/selectors/ |
D | simple_selectors.cc | 139 void SelectReshape(int src_channels, int dst_channels, in SelectReshape() argument 142 if (src_channels % 4 == 0 && dst_channels % 4 == 0) { in SelectReshape()
|
D | simple_selectors.h | 68 void SelectReshape(int src_channels, int dst_channels,
|
D | operation_selector.cc | 542 const int src_channels = inputs[0]->tensor.shape.c; in GPUOperationFromNode() local 544 SelectReshape(src_channels, attr.new_shape.c, op_def, gpu_op); in GPUOperationFromNode()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/kernels/ |
D | conv_test.mm | 226 const int src_channels = 7; 233 attr.weights.shape = OHWI(dst_channels, 3, 3, src_channels); 244 auto src_shape = BHWC(1, 17, 13, src_channels);
|
/external/mesa3d/src/compiler/nir/ |
D | nir_serialize.c | 871 unsigned src_channels = nir_ssa_alu_instr_src_components(alu, i); in write_alu() local 874 bool packed = src_components <= 4 && src_channels <= 4; in write_alu() 891 for (unsigned o = 0; o < src_channels; o += 8) { in write_alu() 894 for (unsigned j = 0; j < 8 && o + j < src_channels; j++) { in write_alu() 945 unsigned src_channels = nir_ssa_alu_instr_src_components(alu, i); in read_alu() local 947 bool packed = src_components <= 4 && src_channels <= 4; in read_alu() 961 for (unsigned o = 0; o < src_channels; o += 8) { in read_alu() 964 for (unsigned j = 0; j < 8 && o + j < src_channels; j++) { in read_alu()
|
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 573 unsigned src_channels, unsigned dst_channels) in ac_build_expand() argument 581 if (src_channels == dst_channels && vec_size == dst_channels) in ac_build_expand() 584 src_channels = MIN2(src_channels, vec_size); in ac_build_expand() 586 for (unsigned i = 0; i < src_channels; i++) in ac_build_expand() 591 if (src_channels) { in ac_build_expand() 592 assert(src_channels == 1); in ac_build_expand() 598 for (unsigned i = src_channels; i < dst_channels; i++) in ac_build_expand()
|
D | ac_nir_to_llvm.c | 2507 unsigned src_channels = ac_get_llvm_num_components(src); in visit_image_store() local 2510 if (src_channels == 3) in visit_image_store()
|
/external/webrtc/modules/audio_processing/ |
D | audio_processing_unittest.cc | 1179 auto src_channels = &src[0]; in TEST_F() local 1183 EXPECT_NOERR(apm_->ProcessStream(&src_channels, StreamConfig(sample_rate, 1), in TEST_F() 1197 EXPECT_NOERR(apm_->ProcessReverseStream(&src_channels, input_stream, in TEST_F()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_blit.c | 941 const unsigned src_channels = in bit_cast_color() local 943 color = nir_channels(b, color, (1 << src_channels) - 1); in bit_cast_color()
|