/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | ChannelMappingAudioProcessor.java | 31 @Nullable private int[] outputChannels; field in ChannelMappingAudioProcessor 42 public void setChannelMap(@Nullable int[] outputChannels) { in setChannelMap() argument 43 pendingOutputChannels = outputChannels; in setChannelMap() 49 @Nullable int[] outputChannels = pendingOutputChannels; in onConfigure() local 50 if (outputChannels == null) { in onConfigure() 58 boolean active = inputAudioFormat.channelCount != outputChannels.length; in onConfigure() 59 for (int i = 0; i < outputChannels.length; i++) { in onConfigure() 60 int channelIndex = outputChannels[i]; in onConfigure() 67 ? new AudioFormat(inputAudioFormat.sampleRate, outputChannels.length, C.ENCODING_PCM_16BIT) in onConfigure() 73 int[] outputChannels = Assertions.checkNotNull(this.outputChannels); in queueInput() local [all …]
|
D | ForwardingAudioSink.java | 59 public void configure(Format inputFormat, int specifiedBufferSize, @Nullable int[] outputChannels) in configure() argument 61 sink.configure(inputFormat, specifiedBufferSize, outputChannels); in configure()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | ChannelMappingAudioProcessor.java | 31 @Nullable private int[] outputChannels; field in ChannelMappingAudioProcessor 42 public void setChannelMap(@Nullable int[] outputChannels) { in setChannelMap() argument 43 pendingOutputChannels = outputChannels; in setChannelMap() 49 @Nullable int[] outputChannels = pendingOutputChannels; in onConfigure() local 50 if (outputChannels == null) { in onConfigure() 58 boolean active = inputAudioFormat.channelCount != outputChannels.length; in onConfigure() 59 for (int i = 0; i < outputChannels.length; i++) { in onConfigure() 60 int channelIndex = outputChannels[i]; in onConfigure() 67 ? new AudioFormat(inputAudioFormat.sampleRate, outputChannels.length, C.ENCODING_PCM_16BIT) in onConfigure() 73 int[] outputChannels = Assertions.checkNotNull(this.outputChannels); in queueInput() local [all …]
|
D | ForwardingAudioSink.java | 60 public void configure(Format inputFormat, int specifiedBufferSize, @Nullable int[] outputChannels) in configure() argument 62 sink.configure(inputFormat, specifiedBufferSize, outputChannels); in configure()
|
D | AudioSink.java | 331 void configure(Format inputFormat, int specifiedBufferSize, @Nullable int[] outputChannels) in configure() argument
|
/external/armnn/src/backends/reference/workloads/ |
D | ConvImpl.cpp | 102 const unsigned int outputChannels = rOutputShape[channelsIndex]; in Convolve() local 103 const unsigned int depthMultiplier = depthwise ? outputChannels/inputChannels : 1; in Convolve() 117 const TensorShape biasShape{outputChannels}; in Convolve() 122 for (unsigned int cOutput = 0; cOutput < outputChannels; cOutput++) in Convolve() 147 filterIndex = xFilter * outputChannels + cOutput + in Convolve() 148 yFilter * filterWidth * outputChannels; in Convolve() 217 outIdx = batchIdx * outputHeight * outputWidth * outputChannels + in Convolve() 218 yOutput * outputWidth * outputChannels + in Convolve() 219 xOutput * outputChannels + in Convolve() 224 outIdx = batchIdx * outputHeight * outputWidth * outputChannels + in Convolve()
|
D | Pad.cpp | 67 unsigned int outputChannels = 0; in Pad() local 152 outputChannels = outputShape[1]; in Pad() 170 * outputChannels * outputHeight * outputWidth in Pad()
|
D | SpaceToDepth.cpp | 52 const unsigned int outputChannels = outputShape[dataLayout.GetChannelsIndex()]; in SpaceToDepth() local 63 for (unsigned int outChannelIndex = 0; outChannelIndex < outputChannels; outChannelIndex++) in SpaceToDepth()
|
/external/armnn/src/backends/backendsCommon/test/layerTests/ |
D | FullyConnectedTestImpl.cpp | 101 constexpr static unsigned int outputChannels = 2u; in FullyConnectedTest() local 107 armnn::TensorInfo outputTensorInfo({ 1, outputChannels }, ArmnnType); in FullyConnectedTest() 111 armnn::TensorInfo weightsDesc({ outputChannels, inputSize }, ArmnnType); in FullyConnectedTest() 115 …armnn::TensorInfo biasesDesc({ outputChannels }, GetBiasTypeFromWeightsType(weightsDesc.GetDataTyp… in FullyConnectedTest() 183 unsigned int outputChannels = 1; in FullyConnectedLargeTestCommon() local 193 unsigned int outputShape[] = { outputNum, outputChannels }; in FullyConnectedLargeTestCommon() 194 unsigned int weightsShape[] = { inputChannels, outputChannels }; in FullyConnectedLargeTestCommon() 200 unsigned int biasShape[] = { outputChannels }; in FullyConnectedLargeTestCommon() 283 unsigned int outputChannels = 3; in FullyConnectedFloat32Test() local 293 unsigned int outputShape[] = { outputNum, outputChannels }; in FullyConnectedFloat32Test() [all …]
|
D | NormalizationTestImpl.cpp | 39 unsigned int outputChannels = inputChannels; in SimpleNormalizationTestImpl() local 43 unsigned int outputShape[] = { outputNum, outputChannels, outputHeight, outputWidth }; in SimpleNormalizationTestImpl() 196 unsigned int outputChannels = inputChannels; in SimpleNormalizationNhwcTestImpl() local 200 unsigned int outputShape[] = { outputNum, outputHeight, outputWidth, outputChannels }; in SimpleNormalizationNhwcTestImpl() 305 constexpr unsigned int outputChannels = inputChannels; in CompareNormalizationTestImpl() local 313 unsigned int outputShape[] = {outputNum, outputChannels, outputHeight, outputWidth}; in CompareNormalizationTestImpl() 402 unsigned int outputChannels = inputChannels; in AcrossChannelNormalizationTestImpl() local 406 unsigned int outputShape[] = { outputNum, outputHeight, outputWidth, outputChannels }; in AcrossChannelNormalizationTestImpl()
|
D | Conv2dTestImpl.cpp | 119 const unsigned int outputChannels = outputInfo.GetShape()[channelsIndex]; in GetBias() local 121 switch (outputChannels) in GetBias() 225 unsigned int outputChannels = armnn::numeric_cast<unsigned int>(originalOutputExpectedShape[1]); in SimpleConvolution2dTestImpl() local 240 ARMNN_ASSERT(!biasEnabled || bias.size() == outputChannels); in SimpleConvolution2dTestImpl() 246 …armnnUtils::GetTensorInfo(2*outputNum, outputChannels, outputHeight, outputWidth, layout, ArmnnTyp… in SimpleConvolution2dTestImpl() 282 originalOutputExpected.data() + outputChannels*outputHeight*outputWidth); in SimpleConvolution2dTestImpl() 288 biasV.assign(bias.data(), bias.data() + outputChannels); in SimpleConvolution2dTestImpl() 407 unsigned int outputChannels = armnn::numeric_cast<unsigned int>(outputExpectedShape[3]); in SimpleConvolution2dNhwcTestImpl() local 415 armnn::TensorInfo outputTensorInfo({outputNum, outputHeight, outputWidth, outputChannels}, in SimpleConvolution2dNhwcTestImpl() 426 …ata.assign(outputExpected.data(), outputExpected.data() + outputHeight*outputWidth*outputChannels); in SimpleConvolution2dNhwcTestImpl() [all …]
|
D | ConstantTestImpl.cpp | 40 constexpr unsigned int outputChannels = inputChannels; in ConstantTestImpl() local 46 … armnn::TensorInfo outputTensorInfo({ outputBatchSize, outputChannels, outputHeight, outputWidth }, in ConstantTestImpl()
|
D | Conv3dTestImpl.cpp | 37 … const unsigned int outputChannels = outputInfo.GetShape()[dataLayoutIndexed.GetChannelsIndex()]; in GetBiasData() local 39 switch (outputChannels) in GetBiasData() 194 unsigned int outputChannels = armnn::numeric_cast<unsigned int>(outputExpectedShape[4]); in SimpleConvolution3dTestImpl() local 199 ARMNN_ASSERT(!biasEnabled || bias.size() == outputChannels); in SimpleConvolution3dTestImpl() 203 …o outputTensorInfo({outputNum, outputDepth, outputHeight, outputWidth, outputChannels}, ArmnnType); in SimpleConvolution3dTestImpl() 228 outputNum*outputDepth*outputHeight*outputWidth*outputChannels); in SimpleConvolution3dTestImpl()
|
D | ActivationTestImpl.cpp | 43 unsigned int outputChannels = inputChannels; in BoundedReLuTestCommon() local 48 …armnn::TensorInfo outputTensorInfo({ outputBatchSize, outputChannels, outputHeight, outputWidth },… in BoundedReLuTestCommon() 230 constexpr static unsigned int outputChannels = inputChannels; member 241 return armnn::TensorInfo({ outputBatchSize, outputChannels, outputHeight, outputWidth }, in GetOutputTensorInfo() 430 constexpr static unsigned int outputChannels = inputChannels; in SimpleActivationTest() local 434 …armnn::TensorInfo outputTensorInfo({ outputBatchSize, outputChannels, outputHeight, outputWidth },… in SimpleActivationTest()
|
/external/armnn/src/armnn/optimizations/ |
D | FuseBatchNorm.hpp | 68 const unsigned int outputChannels = depthwise ? weightsShape[3] : weightsShape[0]; in Run() local 91 for (unsigned int cOut = 0; cOut < outputChannels; ++cOut) in Run() 104 weightsIdx = w * outputChannels + cOut + in Run() 105 h * weightsWidth * outputChannels; in Run() 129 std::vector<T> fusedBiasVector(outputChannels); in Run() 146 for (unsigned int cOut = 0; cOut < outputChannels; ++cOut) in Run() 155 std::vector<T> biasVector(outputChannels, T(0)); in Run() 157 for (unsigned int cOut = 0; cOut < outputChannels; ++cOut) in Run() 163 …ConstTensor fusedBiasTensor(TensorInfo({outputChannels}, ArmnnType, 0.0f, 0, true), fusedBiasVecto… in Run()
|
/external/armnn/src/backends/backendsCommon/test/ |
D | DepthwiseConvolution2dEndToEndTests.hpp | 71 unsigned int outputChannels = inputChannels * depthMultiplier; in DepthwiseConvolution2dEndToEnd() local 75 …TensorInfo outputInfo({ outputBatchSize, outputChannels, outputHeight, outputWidth }, ArmnnType, q… in DepthwiseConvolution2dEndToEnd() 76 …TensorInfo weightsInfo({1, kernelHeight, kernelWidth, outputChannels}, ArmnnType, qScale, qOffset,… in DepthwiseConvolution2dEndToEnd() 77 TensorInfo biasesInfo({outputChannels}, ArmnnBType, qScale * qScale, 0, true); in DepthwiseConvolution2dEndToEnd()
|
D | FullyConnectedEndToEndTestImpl.hpp | 230 unsigned int outputChannels = 3; in FullyConnectedWithDynamicOrConstantInputsEndToEnd() local 234 unsigned int outputShape[] = { outputNum, outputChannels }; in FullyConnectedWithDynamicOrConstantInputsEndToEnd() 235 unsigned int weightsShape[] = { inputChannels, outputChannels }; in FullyConnectedWithDynamicOrConstantInputsEndToEnd() 242 unsigned int biasShape[] = { outputChannels }; in FullyConnectedWithDynamicOrConstantInputsEndToEnd() 351 unsigned int outputChannels = 3; in FullyConnectedErrorChecking() local 355 unsigned int outputShape[] = { outputNum, outputChannels }; in FullyConnectedErrorChecking() 356 unsigned int weightsShape[] = { inputChannels, outputChannels }; in FullyConnectedErrorChecking() 358 unsigned int biasShape[] = { outputChannels }; in FullyConnectedErrorChecking()
|
D | WorkloadDataValidation.cpp | 106 unsigned int outputChannels = inputChannels; variable 115 unsigned int outputShape[] = { outputNum, outputChannels, outputHeight, outputWidth }; 139 unsigned int outputChannels = 3; variable 149 unsigned int outputShape[] = { outputNum, outputChannels, outputHeight, outputWidth }; 150 unsigned int weightsShape[] = { 1, 1, inputChannels, outputChannels }; 151 unsigned int biasShape[] = { 1, outputChannels, outputHeight, outputWidth }; 181 constexpr unsigned int outputChannels = inputChannels; variable 191 unsigned int outputShape[] = {outputNum, outputChannels, outputHeight, outputWidth}; 228 constexpr unsigned int outputChannels = inputChannels; variable 237 unsigned int outputShape[] = {outputNum, outputChannels, outputHeight, outputWidth}; [all …]
|
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioManager.java | 165 private int outputChannels; field in WebRtcAudioManager 182 nativeCacheAudioParameters(sampleRate, outputChannels, inputChannels, hardwareAEC, hardwareAGC, in WebRtcAudioManager() 223 outputChannels = getStereoOutput() ? 2 : 1; in storeAudioParameters() 236 : getMinOutputFrameSize(sampleRate, outputChannels); in storeAudioParameters() 367 private native void nativeCacheAudioParameters(int sampleRate, int outputChannels, in nativeCacheAudioParameters() argument
|
/external/armnn/src/armnn/layers/ |
D | DepthwiseConvolution2dLayer.cpp | 95 unsigned int outputChannels = filterShape[3]; in InferOutputShapes() local 99 … TensorShape{ outputBatchSize, outputHeight, outputWidth, outputChannels } : in InferOutputShapes() 100 … TensorShape{ outputBatchSize, outputChannels, outputHeight, outputWidth }; in InferOutputShapes()
|
/external/armnn/python/pyarmnn/test/ |
D | test_network.py | 277 outputChannels = 3 281 outputShape = ( outputNum, outputChannels ) 282 weightsShape = ( inputChannels, outputChannels ) 283 biasShape = ( outputChannels, )
|
/external/armnn/src/backends/neon/test/ |
D | NeonTimerTest.cpp | 57 unsigned int outputChannels = inputChannels; variable 63 … armnn::TensorInfo outputTensorInfo({ outputBatchSize, outputChannels, outputHeight, outputWidth },
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | CapturingAudioSink.java | 40 public void configure(Format inputFormat, int specifiedBufferSize, @Nullable int[] outputChannels) in configure() argument 45 super.configure(inputFormat, specifiedBufferSize, outputChannels); in configure()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | CapturingAudioSink.java | 40 public void configure(Format inputFormat, int specifiedBufferSize, @Nullable int[] outputChannels) in configure() argument 45 super.configure(inputFormat, specifiedBufferSize, outputChannels); in configure()
|
/external/armnn/src/armnn/test/ |
D | ShapeInferenceTests.cpp | 400 const unsigned int outputChannels = 2u; variable 403 … { inputChannels, outputChannels }}, // weights 404 … {{ 1, outputChannels }}, // output
|