Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioMixPort.java41 int[] formats, AudioGain[] gains) { in AudioMixPort() argument
43 formats, gains); in AudioMixPort()
48 List<AudioProfile> profiles, AudioGain[] gains) { in AudioMixPort() argument
49 super(handle, role, deviceName, profiles, gains, null); in AudioMixPort()
DAudioPort.java98 int[] formats, AudioGain[] gains) { in AudioPort() argument
106 mGains = gains; in AudioPort()
119 List<AudioProfile> profiles, AudioGain[] gains, in AudioPort() argument
126 mGains = gains; in AudioPort()
228 public AudioGain[] gains() { in gains() method in AudioPort
DAudioDevicePort.java71 int[] formats, AudioGain[] gains, int type, String address, int[] encapsulationModes, in AudioDevicePort() argument
76 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
84 AudioGain[] gains, int type, String address, int[] encapsulationModes, in AudioDevicePort() argument
89 deviceName, profiles, gains, descriptors); in AudioDevicePort()
/frameworks/native/libs/tonemap/
Dtonemap.cpp292 std::vector<Gain> gains; in lookupTonemapGain() local
293 gains.reserve(colors.size()); in lookupTonemapGain()
297 gains.push_back(1.0); in lookupTonemapGain()
431 gains.push_back(targetNits / xyz.y); in lookupTonemapGain()
433 return gains; in lookupTonemapGain()
633 std::vector<Gain> gains; in lookupTonemapGain() local
634 gains.reserve(colors.size()); in lookupTonemapGain()
662 gains.push_back(1.0); in lookupTonemapGain()
725 gains.push_back(targetNits / maxRGB); in lookupTonemapGain()
727 return gains; in lookupTonemapGain()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioPort.h56 void setGains(const AudioGains &gains) { mGains = gains; } in setGains() argument
162 port->gains[i] = mGains[i]->getGain(); in toAudioPortBase()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioPortSys.aidl37 AudioGainSys[] gains;
/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp247 parcelable->hal.gains = aidlGains.first; in writeToParcelable()
248 parcelable->sys.gains = aidlGains.second; in writeToParcelable()
274 aidl2legacy_AudioGains(std::make_pair(parcelable.hal.gains, parcelable.sys.gains))); in readFromParcelable()
/frameworks/av/media/module/codecs/amrwb/enc/inc/
Dq_gain2.tab25 * during quantization of gains. *
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp593 initial.hal.gains.push_back(initialGain); in TEST_P()
609 initial.sys.gains.resize(initial.hal.gains.size()); in TEST_P()
731 port.gains[0] = {.mode = AUDIO_GAIN_MODE_JOINT, in TEST_P()
739 port.gains[1] = {.mode = AUDIO_GAIN_MODE_JOINT, in TEST_P()
750 auto initial = port.gains[i]; in TEST_P()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp554 AudioGains gains = devicePort->getGains(); in setVolume() local
555 int gainMinValueInMb = gains[0]->getMinValueInMb(); in setVolume()
556 int gainMaxValueInMb = gains[0]->getMaxValueInMb(); in setVolume()
557 int gainStepValueInMb = gains[0]->getStepValueInMb(); in setVolume()
564 config.gain.mode = gains[0]->getMode(); in setVolume()
DSerializer.cpp515 AudioGainTraits::Collection gains; in deserialize() local
516 status = deserializeCollection<AudioGainTraits>(child, &gains, NULL); in deserialize()
520 mixPort->setGains(gains); in deserialize()
/frameworks/base/packages/SystemUI/
Dproguard_kotlin.flags10 # Kotlin gains adoption with other platform targets.
/frameworks/wilhelm/src/itf/
DIOutputMixExt.cpp212 float gains[STEREO_CHANNELS]; in IOutputMixExt_FillBuffer() local
217 gains[channel] = gain; in IOutputMixExt_FillBuffer()
/frameworks/av/media/audioaidlconversion/
DAidlConversionCppNdk.cpp2583 if (aidl.gains.size() > std::size(legacy.gains)) { in aidl2legacy_AudioPort_audio_port_v7()
2586 RETURN_IF_ERROR(convertRange(aidl.gains.begin(), aidl.gains.end(), legacy.gains, in aidl2legacy_AudioPort_audio_port_v7()
2590 legacy.num_gains = aidl.gains.size(); in aidl2legacy_AudioPort_audio_port_v7()
2632 if (legacy.num_gains > std::size(legacy.gains)) { in legacy2aidl_audio_port_v7_AudioPort()
2636 convertRange(legacy.gains, legacy.gains + legacy.num_gains, in legacy2aidl_audio_port_v7_AudioPort()
2637 std::back_inserter(aidl.gains), in legacy2aidl_audio_port_v7_AudioPort()
2641 aidl.gains.resize(legacy.num_gains); in legacy2aidl_audio_port_v7_AudioPort()
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionDynamicsProcessing.cpp144 std::vector<DynamicsProcessing::InputGain> gains = in getParameter() local
149 for (const auto& gain : gains) { in getParameter()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1273 nAudioPort->num_gains > std::size(nAudioPort->gains)) { in isAudioPortArrayCountOutOfBounds()
1492 audio_channel_mask_t nMask = nAudioPort->gains[j].channel_mask; in convertAudioPortFromNative()
1504 nAudioPort->gains[j].mode, in convertAudioPortFromNative()
1506 nAudioPort->gains[j].min_value, in convertAudioPortFromNative()
1507 nAudioPort->gains[j].max_value, in convertAudioPortFromNative()
1508 nAudioPort->gains[j].default_value, in convertAudioPortFromNative()
1509 nAudioPort->gains[j].step_value, in convertAudioPortFromNative()
1510 nAudioPort->gains[j].min_ramp_ms, in convertAudioPortFromNative()
1511 nAudioPort->gains[j].max_ramp_ms); in convertAudioPortFromNative()
/frameworks/av/media/libaudiohal/impl/
DStreamHalAidl.cpp1051 std::vector<float> gains(channelCount != 0 ? channelCount : 1, gain); in setGain() local
1052 return statusTFromBinderStatus(mStream->setHwGain(gains)); in setGain()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java1114 if (mAudioSource.gains().length > 0 && volume != mCommittedVolume) { in updateAudioConfigLocked()
1116 for (AudioGain gain : mAudioSource.gains()) { in updateAudioConfigLocked()
/frameworks/base/media/java/android/media/audio/common/
DAidlConversion.java540 port.gains = new AudioGain[]{}; in api2aidl_AudioDeviceAttributes_AudioPort()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp1487 const auto gains = in tonemap() local
1500 EXPECT_EQ(1, gains.size()); in tonemap()
1501 const double gain = gains.front(); in tonemap()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp712 aidl.sys.gains.resize(legacy.num_gains); in legacy2aidl_audio_port_v7_AudioPortFw()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24556 Landroid/media/AudioPort;->gains()[Landroid/media/AudioGain;