Home
last modified time | relevance | path

Searched refs:mNumChannels (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libstagefright/
DWAVExtractor.cpp83 int32_t mNumChannels; member
198 mNumChannels = U16_LE_AT(&formatSpec[2]); in init()
200 if (mNumChannels < 1 || mNumChannels > 8) { in init()
201 ALOGE("Unsupported number of channels (%d)", mNumChannels); in init()
206 if (mNumChannels != 1 && mNumChannels != 2) { in init()
208 mNumChannels); in init()
235 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask); in init()
242 && (popcount(mChannelMask) != mNumChannels)) { in init()
308 mTrackMeta->setInt32(kKeyChannelCount, mNumChannels); in init()
321 if (!bytesPerSample || !mNumChannels) in init()
[all …]
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp36 mNumChannels = nChannels; in configure()
94 if (mNumChannels == 1) { in setState()
102 if (mNumChannels == 1) { in setState()
110 if (mNumChannels == 1) { in setState()
144 memcpy(out, in, frameCount * mNumChannels * sizeof(audio_sample_t)); in process_bypass()
208 for (int ch = 0; ch < mNumChannels; ++ch) { in process_normal_multi()
228 in += mNumChannels; in process_normal_multi()
229 out += mNumChannels; in process_normal_multi()
235 in -= frameCount * mNumChannels - 1; in process_normal_multi()
236 out -= frameCount * mNumChannels - 1; in process_normal_multi()
DAudioFormatAdapter.h62 mNumChannels = nChannels; in configure()
77 uint32_t nSamplesChannels = numSamplesIter * mNumChannels; in process()
110 int mNumChannels; variable
175 numSamples *= mNumChannels; in MixOutput()
DAudioBiquadFilter.h123 int mNumChannels; variable
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp49 mNumChannels(1), in SoftAACEncoder()
197 aacParams->nChannels = mNumChannels; in internalGetParameter()
225 pcmParams->nChannels = mNumChannels; in internalGetParameter()
298 mNumChannels = aacParams->nChannels; in internalSetParameter()
321 mNumChannels = pcmParams->nChannels; in internalSetParameter()
342 mSampleRate, mNumChannels, mBitRate); in setAudioParams()
354 params.nChannels = mNumChannels; in setAudioParams()
395 if (mNumChannels > 2 || mNumChannels <= 0) { in setAudioSpecificConfigData()
396 ALOGE("Unsupported number of channels(%lu)", mNumChannels); in setAudioSpecificConfigData()
402 mAudioSpecificConfigData[1] = ((index & 0x01) << 7) | (mNumChannels << 3); in setAudioSpecificConfigData()
[all …]
DSoftAACEncoder2.cpp55 mNumChannels(1), in SoftAACEncoder2()
176 aacParams->nChannels = mNumChannels; in internalGetParameter()
239 pcmParams->nChannels = mNumChannels; in internalGetParameter()
335 mNumChannels = aacParams->nChannels; in internalSetParameter()
378 mNumChannels = pcmParams->nChannels; in internalSetParameter()
428 mSampleRate, mNumChannels, mBitRate, mSBRMode, mSBRRatio); in setAudioParams()
445 getChannelMode(mNumChannels))) { in setAudioParams()
528 mNumChannels * kNumSamplesPerFrame * sizeof(int16_t); in onQueueFilled()
576 / (mNumChannels * sizeof(int16_t)); in onQueueFilled()
DSoftAACEncoder2.h53 OMX_U32 mNumChannels; member
DSoftAACEncoder.h56 OMX_U32 mNumChannels; member
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp49 mNumChannels(2), in SoftMP3()
147 pcmParams->nChannels = mNumChannels; in internalGetParameter()
166 mp3Params->nChannels = mNumChannels; in internalGetParameter()
213 mNumChannels = pcmParams->nChannels; in internalSetParameter()
301 outHeader->nFilledLen = kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); in onQueueFilled()
324 || mConfig->num_channels != mNumChannels) { in onQueueFilled()
326 mNumChannels = mConfig->num_channels; in onQueueFilled()
339 kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); in onQueueFilled()
367 mNumFramesOutput += mConfig->outputFrameSize / mNumChannels; in onQueueFilled()
DSoftMP3.h59 int32_t mNumChannels; member
/frameworks/av/cmds/stagefright/
DSineSource.cpp15 mNumChannels(numChannels), in SineSource()
53 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat()
72 size_t frameSize = mNumChannels * sizeof(int16_t); in read()
84 if (mNumChannels == 2) { in read()
DSineSource.h32 int32_t mNumChannels; member
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp54 mNumChannels(1), in SoftFlacEncoder()
178 pcmParams->nChannels = mNumChannels; in internalGetParameter()
193 flacParams->nChannels = mNumChannels; in internalGetParameter()
224 mNumChannels = pcmParams->nChannels; in internalSetParameter()
226 ALOGV("will encode %d channels at %dHz", mNumChannels, mSampleRate); in internalSetParameter()
331 assert(mNumChannels != 0); in onQueueFilled()
337 const unsigned nbInputFrames = inHeader->nFilledLen / (2 * mNumChannels); in onQueueFilled()
442 mNumChannels, mSampleRate); in configureEncoder()
450 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mNumChannels); in configureEncoder()
DSoftFlacEncoder.h61 OMX_U32 mNumChannels; member
/frameworks/wilhelm/src/itf/
DIMuteSolo.c33 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_SetChannelMute()
73 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_GetChannelMute()
105 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_SetChannelSolo()
145 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_GetChannelSolo()
180 SLuint8 numChannels = ap->mNumChannels; in IMuteSolo_GetNumChannels()
DIEngine.c212 thiz->mNumChannels = UNKNOWN_NUMCHANNELS; in IEngine_CreateAudioPlayer()
306 thiz->mNumChannels = thiz->mDataSource.mFormat.mPCM.numChannels; in IEngine_CreateAudioPlayer()
335 thiz->mNumChannels = UNKNOWN_NUMCHANNELS; in IEngine_CreateAudioPlayer()
454 thiz->mNumChannels = UNKNOWN_NUMCHANNELS; in IEngine_CreateAudioRecorder()
1105 thiz->mNumChannels = UNKNOWN_NUMCHANNELS; in IEngine_CreateMediaPlayer()
/frameworks/base/media/jni/soundpool/
DSoundPool.h58 int numChannels() { return mNumChannels; } in numChannels()
76 uint8_t mNumChannels; variable
116 SoundChannel() : mState(IDLE), mNumChannels(1), in SoundChannel()
134 int numChannels() { return mNumChannels; } in numChannels()
151 int mNumChannels; variable
DSoundPool.cpp687 mNumChannels = numChannels; in doLoad()
810 mNumChannels = numChannels; in play()
1049 uint32_t loopEnd = mSample->size()/mNumChannels/ in setLoop()
1072 mState, mChannelID, mNumChannels, mPos, mPriority, mLoop); in dump()
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
Dmp3reader.h38 uint32_t getNumChannels() { return mNumChannels;} in getNumChannels()
46 uint32_t mNumChannels; variable
/frameworks/wilhelm/src/
Dclasses.h74 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, member
149 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, member
338 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, member
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp45 mNumChannels(1), in SoftG711()
136 pcmParams->nChannels = mNumChannels; in internalGetParameter()
168 mNumChannels = pcmParams->nChannels; in internalSetParameter()
DSoftG711.h50 OMX_U32 mNumChannels; member
/frameworks/av/media/libstagefright/include/
DWAVExtractor.h50 uint16_t mNumChannels; variable
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp188 if (UNKNOWN_NUMCHANNELS == mp->mNumChannels && UNKNOWN_NUMCHANNELS != data1) { in player_handleMediaPlayerEventNotifications()
189 mp->mNumChannels = data1; in player_handleMediaPlayerEventNotifications()
587 android_player_volumeUpdate(volumes, &mp->mVolume, mp->mNumChannels, 1.0f, NULL); in android_Player_volumeUpdate()
DAudioRecorder_to_android.cpp185 ar->mNumChannels = df_pcm->numChannels; in android_audioRecorder_checkSourceSink()
195 ar->mSampleRateMilliHz, ar->mNumChannels); in android_audioRecorder_checkSourceSink()

12