Home
last modified time | relevance | path

Searched refs:mChannels (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp48 CHECK(mMeta->findInt32(kKeyChannelCount, &mChannels)); in initCheck()
49 CHECK(mChannels <= 2 && mChannels >= 1); in initCheck()
86 params.nChannels = mChannels; in initCheck()
115 mSampleRate, mBitRate, mChannels); in setAudioSpecificConfigData()
119 if (mChannels > 2 || mChannels <= 0) { in setAudioSpecificConfigData()
120 ALOGE("Unsupported number of channels(%d)", mChannels); in setAudioSpecificConfigData()
126 mAudioSpecificConfigData[1] = ((index & 0x01) << 7) | (mChannels << 3); in setAudioSpecificConfigData()
151 mInputFrame = new int16_t[mChannels * kNumSamplesPerFrame]; in start()
240 const int32_t nSamples = mChannels * kNumSamplesPerFrame; in read()
/frameworks/av/services/audioflinger/tests/
Dtest_utils.h239 mChannels(0)
253 createChirp<T>(mAddr, mNumFrames, mChannels, mSampleRate, minfreq, maxfreq);
261 createSine<T>(mAddr, mNumFrames, mChannels, mSampleRate, freq);
287 mChannels = channels;
288 mFrameSize = mChannels * sizeof(T);
299 return mChannels;
304 uint32_t mChannels;
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp75 mChannels.push_back(&mChannelPool[i]); in SoundPool()
90 mChannels.clear(); in ~SoundPool()
280 if (!mChannels.empty()) { in allocateChannel_l()
281 for (iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in allocateChannel_l()
284 mChannels.erase(iter); in allocateChannel_l()
292 if (!channel && !mChannels.empty()) { in allocateChannel_l()
293 iter = mChannels.begin(); in allocateChannel_l()
296 mChannels.erase(iter); in allocateChannel_l()
304 for (iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in allocateChannel_l()
309 mChannels.insert(iter, channel); in allocateChannel_l()
[all …]
DSoundPool.h215 List<SoundChannel*> mChannels; variable
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScanningServiceImpl.java1782 private static ChannelSpec mChannels[][]; field in WifiScanningServiceImpl
1792 if (mChannels != null) { in initChannels()
1815 mChannels = new ChannelSpec[8][]; in initChannels()
1817 mChannels[0] = new ChannelSpec[0]; in initChannels()
1819 mChannels[1] = new ChannelSpec[channels24.length]; in initChannels()
1820 copyChannels(mChannels[1], 0, channels24); in initChannels()
1822 mChannels[2] = new ChannelSpec[channels5.length]; in initChannels()
1823 copyChannels(mChannels[2], 0, channels5); in initChannels()
1825 mChannels[3] = new ChannelSpec[channels24.length + channels5.length]; in initChannels()
1826 copyChannels(mChannels[3], 0, channels24); in initChannels()
[all …]
/frameworks/av/include/media/
DMediaProfiles.h213 mChannels(channels) {} in AudioCodec()
219 mChannels = copy.mChannels; in AudioCodec()
227 int mChannels; member
/frameworks/av/media/libstagefright/include/
DAACEncoder.h52 int32_t mChannels; variable
/frameworks/av/media/libstagefright/
DFLACExtractor.cpp592 unsigned mChannels; in init() member
607 if (table[i].mChannels >= getChannels() && in init()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp117 ALOGV("number of channels: %d", codec.mChannels); in logAudioCodec()
1024 if (!strcmp("aud.ch", name)) return mCamcorderProfiles[index]->mAudioCodec->mChannels; in getCamcorderProfileParamByName()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java2126 private final InputChannel[] mChannels; field in TvInputManagerService.SessionCallback
2130 mChannels = channels; in SessionCallback()
2143 mSessionState.info.getId(), mSessionState.sessionToken, mChannels[0], in onSessionCreated()
2150 mChannels[0].dispose(); in onSessionCreated()