/external/webrtc/webrtc/common_audio/ |
D | audio_converter.cc | 28 CopyConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in CopyConverter() argument 30 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in CopyConverter() 37 for (size_t i = 0; i < src_channels(); ++i) in Convert() 45 UpmixConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in UpmixConverter() argument 47 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in UpmixConverter() 63 DownmixConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in DownmixConverter() argument 65 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) { in DownmixConverter() 75 for (size_t j = 0; j < src_channels(); ++j) in Convert() 77 dst_mono[i] = sum / src_channels(); in Convert() 84 ResampleConverter(size_t src_channels, size_t src_frames, size_t dst_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() 133 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunAudioConverterTest() 136 src_channels, src_frames, dst_channels, dst_frames); in RunAudioConverterTest()
|
D | audio_converter.h | 29 static rtc::scoped_ptr<AudioConverter> Create(size_t src_channels, 42 size_t src_channels() const { return src_channels_; } in src_channels() function 49 AudioConverter(size_t src_channels, size_t src_frames, size_t dst_channels,
|
/external/webrtc/webrtc/voice_engine/ |
D | utility_unittest.cc | 34 void RunResampleTest(int src_channels, 126 void UtilityTest::RunResampleTest(int src_channels, in RunResampleTest() argument 138 if (src_channels == 1) in RunResampleTest() 145 if (src_channels == 1) in RunResampleTest() 151 if (src_channels == 1) in RunResampleTest() 165 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunResampleTest()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/kernels/ |
D | fully_connected.cc | 40 std::string GetFullyConnectedCode(bool shared_memory, int src_channels, in GetFullyConnectedCode() argument 42 const int src_depth = IntegralDivideRoundUp(src_channels, 4); in GetFullyConnectedCode()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/ |
D | conv_constants.cc | 31 const OperationDef& op_def, const int2& kernel_size, int src_channels, in GenerateConvolutionConstantCode() argument 45 const int src_depth = IntegralDivideRoundUp(src_channels, 4); in GenerateConvolutionConstantCode() 121 const int ch_count = std::min(4, src_channels - s * 4); in GenerateConvolutionConstantCode()
|
D | strided_slice.cc | 103 int src_channels, int src_batch) { in GetOffset() argument 129 offset.z = src_channels + attr.ends.c; in GetOffset()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/selectors/ |
D | simple_selectors.cc | 116 void SelectReshape(int src_channels, int dst_channels, in SelectReshape() argument 119 if (src_channels % 4 == 0 && dst_channels % 4 == 0) { in SelectReshape()
|
D | simple_selectors.h | 59 void SelectReshape(int src_channels, int dst_channels,
|
D | operation_selector.cc | 194 const int src_channels = inputs[0]->tensor.shape.c; in GPUOperationFromNode() local 196 SelectReshape(src_channels, attr.new_shape.c, op_def, gpu_op); in GPUOperationFromNode()
|
/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/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/webrtc/modules/audio_processing/test/ |
D | audio_processing_unittest.cc | 1571 auto src_channels = &src[0]; in TEST_F() local 1576 &src_channels, kSamples, sample_rate, LayoutFromChannels(1), in TEST_F() 1589 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()
|