Home
last modified time | relevance | path

Searched refs:dst_channels (Results 1 – 22 of 22) sorted by relevance

/external/webrtc/common_audio/
Daudio_converter.cc29 size_t dst_channels, in CopyConverter() argument
31 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in CopyConverter()
50 size_t dst_channels, in UpmixConverter() argument
52 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in UpmixConverter()
62 for (size_t j = 0; j < dst_channels(); ++j) in Convert()
72 size_t dst_channels, in DownmixConverter() argument
74 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in DownmixConverter()
96 size_t dst_channels, in ResampleConverter() argument
98 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) { in ResampleConverter()
131 (*it)->dst_frames(), (*it)->dst_channels()))); in CompositionConverter()
[all …]
Daudio_converter.h34 size_t dst_channels,
49 size_t dst_channels() const { return dst_channels_; } in dst_channels() function
56 size_t dst_channels,
Daudio_converter_unittest.cc91 size_t dst_channels, in RunAudioConverterTest() argument
110 if (dst_channels == 1) { in RunAudioConverterTest()
135 src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunAudioConverterTest()
138 src_channels, src_frames, dst_channels, dst_frames); in RunAudioConverterTest()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Ddepthwise_conv.h39 const int dst_channels = weights.shape.i * weights.shape.o; in RearrangeWeightsForDWConv2D() local
40 const int dst_depth = DivideRoundUp(dst_channels, 4); in RearrangeWeightsForDWConv2D()
51 if (d_ch < dst_channels) { in RearrangeWeightsForDWConv2D()
70 const int dst_channels = weights.shape.i * weights.shape.o; in UploadWeightsForDWConv2D() local
71 const int dst_slices = DivideRoundUp(dst_channels, 4); in UploadWeightsForDWConv2D()
110 const int dst_channels = weights.shape.i * weights.shape.o; in RearrangeWeightsForDWConv3D() local
111 const int dst_slices = DivideRoundUp(dst_channels, 4); in RearrangeWeightsForDWConv3D()
124 if (d_ch < dst_channels) { in RearrangeWeightsForDWConv3D()
144 const int dst_channels = weights.shape.i * weights.shape.o; in UploadWeightsForDWConv3D() local
145 const int dst_slices = DivideRoundUp(dst_channels, 4); in UploadWeightsForDWConv3D()
Dconvolution_transposed_thin.cc53 const OperationDef& op_def, int src_depth, int dst_channels, in GenerateConvolutionTransposedCode() argument
58 const std::string channel_x = dst_channels == 1 ? "" : ".x"; in GenerateConvolutionTransposedCode()
63 dst_channels == 1 ? "" : std::to_string(dst_channels); in GenerateConvolutionTransposedCode()
100 for (int d = 0; d < dst_channels; ++d) { in GenerateConvolutionTransposedCode()
117 for (int d = 0; d < dst_channels; ++d) { in GenerateConvolutionTransposedCode()
136 for (int d = 0; d < dst_channels; ++d) { in GenerateConvolutionTransposedCode()
Dfully_connected.h44 const int dst_channels = weights.shape.o; in RearrangeFCWeightsToIOO4I4() local
45 const int padded_dst_channels = AlignByN(dst_channels, 4); in RearrangeFCWeightsToIOO4I4()
79 if (x < src_channels && y < dst_channels) { in RearrangeFCWeightsToIOO4I4()
95 const int dst_channels = weights.shape.o; in RearrangeFCWeightsToOIO4I4() local
96 const int dst_depth = DivideRoundUp(dst_channels, 4); in RearrangeFCWeightsToOIO4I4()
105 if (src_ch < src_channels && dst_ch < dst_channels) { in RearrangeFCWeightsToOIO4I4()
Dadd.cc27 const std::vector<int>& channels, int dst_channels) { in CreateAdd() argument
29 int dst_depth = DivideRoundUp(dst_channels, 4); in CreateAdd()
Dconv_constants.cc223 bool IsDotConvBetter(int src_channels, int dst_channels) { in IsDotConvBetter() argument
224 if (dst_channels % 4 == 0) { in IsDotConvBetter()
235 const int dst_depth = DivideRoundUp(dst_channels, 4); in IsDotConvBetter()
236 return dst_channels * src_depth < src_channels * dst_depth; in IsDotConvBetter()
Dadd.h32 const std::vector<int>& channels, int dst_channels);
Dconv_weights_converter_test_util.cc278 const int dst_channels = 17; in ConverterToConvWeights4xTexturesTest() local
279 auto weights_shape = OHWI(dst_channels, 1, 1, src_channels); in ConverterToConvWeights4xTexturesTest()
Dconvolution_transposed_thin.h62 int src_depth, int dst_channels,
Dconv_metal.cc43 int GetNumOutputSlices(int dst_channels) { in GetNumOutputSlices() argument
44 const int dst_depth = DivideRoundUp(dst_channels, 4); in GetNumOutputSlices()
/external/webrtc/audio/utility/
Daudio_frame_operations.cc123 size_t dst_channels, in DownmixChannels() argument
125 if (src_channels > 1 && dst_channels == 1) { in DownmixChannels()
129 } else if (src_channels == 4 && dst_channels == 2) { in DownmixChannels()
135 << ", dst_channels: " << dst_channels; in DownmixChannels()
138 void AudioFrameOperations::DownmixChannels(size_t dst_channels, in DownmixChannels() argument
142 if (frame->num_channels_ > 1 && dst_channels == 1) { in DownmixChannels()
148 } else if (frame->num_channels_ == 4 && dst_channels == 2) { in DownmixChannels()
153 << ", dst_channels: " << dst_channels; in DownmixChannels()
Daudio_frame_operations.h64 size_t dst_channels,
70 static void DownmixChannels(size_t dst_channels, AudioFrame* frame);
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/special/
Dfc_fc_add.h44 const int dst_channels = weights.shape.o; in RearrangeFCWeightsToIOO4I4() local
45 const int padded_dst_channels = AlignByN(dst_channels, 4); in RearrangeFCWeightsToIOO4I4()
55 if (x < src_channels && y < dst_channels) { in RearrangeFCWeightsToIOO4I4()
71 const int dst_channels = weights.shape.o; in RearrangeFCWeightsToOIO4I4() local
72 const int dst_depth = DivideRoundUp(dst_channels, 4); in RearrangeFCWeightsToOIO4I4()
81 if (src_ch < src_channels && dst_ch < dst_channels) { in RearrangeFCWeightsToOIO4I4()
/external/webrtc/audio/
Dremix_resample_unittest.cc37 int dst_channels,
160 int dst_channels, in RunResampleTest() argument
185 if (dst_channels == 1) { in RunResampleTest()
210 kInputKernelDelaySamples * dst_channels * 2); in RunResampleTest()
212 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunResampleTest()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c1240 unsigned dst_channels, in generate_fs_twiddle() argument
1257 src_channels = dst_channels < 3 ? dst_channels : 4; in generate_fs_twiddle()
1278 if (dst_channels == 1) { in generate_fs_twiddle()
1284 } else if (dst_channels == 2) { in generate_fs_twiddle()
1288 } else if (dst_channels > 2) { in generate_fs_twiddle()
1295 if (!pad_inline && dst_channels == 3 && pixels > 1) { in generate_fs_twiddle()
1348 unsigned elems = pixels * dst_channels; in generate_fs_twiddle()
1352 swizzles[i] = i % dst_channels + (i / dst_channels) * 4; in generate_fs_twiddle()
2142 const unsigned dst_channels, in convert_alpha() argument
2166 if (src_count == 1 && dst_channels == 1) { in convert_alpha()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/selectors/
Dsimple_selectors.cc79 int dst_channels, std::unique_ptr<GPUOperation>* ptr) { in SelectAdd() argument
80 GPUOperation operation = CreateAdd(op_def, channels, dst_channels); in SelectAdd()
139 void SelectReshape(int src_channels, int dst_channels, in SelectReshape() argument
142 if (src_channels % 4 == 0 && dst_channels % 4 == 0) { in SelectReshape()
Dsimple_selectors.h47 int dst_channels, std::unique_ptr<GPUOperation>* ptr);
68 void SelectReshape(int src_channels, int dst_channels,
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/kernels/
Dconv_test.mm227 const int dst_channels = 13;
233 attr.weights.shape = OHWI(dst_channels, 3, 3, src_channels);
238 attr.bias.shape = Linear(dst_channels);
/external/libaom/libaom/av1/encoder/
Dcnn.c122 const int dst_channels = dst->channels; in concat_tensor() local
138 copy_tensor(src, src->channels, dst_channels, dst); in concat_tensor()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c573 unsigned src_channels, unsigned dst_channels) in ac_build_expand() argument
576 LLVMValueRef *const chan = alloca(dst_channels * sizeof(LLVMValueRef)); in ac_build_expand()
581 if (src_channels == dst_channels && vec_size == dst_channels) in ac_build_expand()
598 for (unsigned i = src_channels; i < dst_channels; i++) in ac_build_expand()
601 return ac_build_gather_values(ctx, chan, dst_channels); in ac_build_expand()