Home
last modified time | relevance | path

Searched refs:channelIndex (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java1362 private void checkChannel(int channelIndex) { in checkChannel() argument
1363 if (channelIndex < 0 || channelIndex >= mChannel.length) { in checkChannel()
1440 public Channel getChannelByChannelIndex(int channelIndex) { in getChannelByChannelIndex() argument
1441 checkChannel(channelIndex); in getChannelByChannelIndex()
1442 return mChannel[channelIndex]; in getChannelByChannelIndex()
1452 public void setChannelTo(int channelIndex, Channel channel) { in setChannelTo() argument
1453 checkChannel(channelIndex); in setChannelTo()
1467 mChannel[channelIndex] = new Channel(channel); in setChannelTo()
1487 public float getInputGainByChannelIndex(int channelIndex) { in getInputGainByChannelIndex() argument
1488 checkChannel(channelIndex); in getInputGainByChannelIndex()
[all …]
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DConvolutions.cpp47 int channelIndex = useNchw ? 1 : 3; in conv2DExplicitConstructor() local
55 RandomVariableType::FREE, op->inputs[0]->dimensions[channelIndex]}; in conv2DExplicitConstructor()
65 op->outputs[0]->dimensions[channelIndex] = op->inputs[1]->dimensions[0]; in conv2DExplicitConstructor()
99 int channelIndex = useNchw ? 1 : 3; in conv2DImplicitConstructor() local
107 RandomVariableType::FREE, op->inputs[0]->dimensions[channelIndex]}; in conv2DImplicitConstructor()
117 op->outputs[0]->dimensions[channelIndex] = op->inputs[1]->dimensions[0]; in conv2DImplicitConstructor()
286 int channelIndex = useNchw ? 1 : 3; in depthwiseConv2DExplicitConstructor() local
294 op->inputs[9]->value<RandomVariable>() * op->inputs[0]->dimensions[channelIndex]; in depthwiseConv2DExplicitConstructor()
305 op->outputs[0]->dimensions[channelIndex] = channelOut; in depthwiseConv2DExplicitConstructor()
339 int channelIndex = useNchw ? 1 : 3; in depthwiseConv2DImplicitConstructor() local
[all …]
DPoolings.cpp40 int channelIndex = useNchw ? 1 : 3; in poolingExplicitOpConstructor() local
51 op->outputs[0]->dimensions[channelIndex] = op->inputs[0]->dimensions[channelIndex]; in poolingExplicitOpConstructor()
79 int channelIndex = useNchw ? 1 : 3; in poolingImplicitOpConstructor() local
90 op->outputs[0]->dimensions[channelIndex] = op->inputs[0]->dimensions[channelIndex]; in poolingImplicitOpConstructor()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp183 void DPFrequency::updateParameters(ChannelBuffer &cb, int channelIndex) { in updateParameters() argument
184 DPChannel *pChannel = getChannel(channelIndex); in updateParameters()
187 ALOGE("Error: updateParameters null DPChannel %d", channelIndex); in updateParameters()
199 ALOGE("Error: updateParameters null PreEq for channel: %d", channelIndex); in updateParameters()
222 ALOGV("preEq changed, recomputing! channel %d", channelIndex); in updateParameters()
255 ALOGE("Error: updateParameters null postEq for channel: %d", channelIndex); in updateParameters()
273 ALOGV("postEq changed, recomputing! channel %d", channelIndex); in updateParameters()
298 ALOGE("Error: updateParameters Mbc NULL for channel: %d", channelIndex); in updateParameters()
328 ALOGV("mbc changed, recomputing! channel %d", channelIndex); in updateParameters()
348 ALOGE("Error: updateParameters Limiter NULL for channel: %d", channelIndex); in updateParameters()
[all …]
DDPBase.cpp258 DPChannel* DPBase::getChannel(uint32_t channelIndex) { in getChannel() argument
259 if (!mInitialized || channelIndex < 0 || channelIndex >= mChannel.size()) { in getChannel()
262 return & mChannel[channelIndex]; in getChannel()
DDPFrequency.h132 void updateParameters(ChannelBuffer &cb, int channelIndex);
DDPBase.h318 DPChannel* getChannel(uint32_t channelIndex);
/frameworks/ml/nn/common/operations/
DGroupedConv2D.cpp266 int channelIndex = g * outputGroupDepth + d; in groupedConvQuant8PerChannel() local
267 sum += biasData[channelIndex]; in groupedConvQuant8PerChannel()
269 sum, outputMultiplier[channelIndex], -outputShift[channelIndex]); in groupedConvQuant8PerChannel()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProto.java480 final int channelIndex = stats.mStringCache.indexOf( in writeEvent() local
482 if (channelIndex >= 0) { in writeEvent()
484 channelIndex + 1); in writeEvent()