/frameworks/av/media/libstagefright/ |
D | WAVExtractor.cpp | 81 int32_t mNumChannels; member 195 mNumChannels = U16_LE_AT(&formatSpec[2]); in init() 197 if (mNumChannels != 1 && mNumChannels != 2) { in init() 199 mNumChannels); in init() 202 if (mNumChannels < 1 && mNumChannels > 8) { in init() 248 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask); in init() 255 && (popcount(mChannelMask) != mNumChannels)) { in init() 303 mTrackMeta->setInt32(kKeyChannelCount, mNumChannels); in init() 315 1000000LL * (mDataSize / (mNumChannels * bytesPerSample)) in init() 343 mNumChannels(0), in WAVSource() [all …]
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 36 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()
|
D | AudioFormatAdapter.h | 62 mNumChannels = nChannels; in configure() 77 uint32_t nSamplesChannels = numSamplesIter * mNumChannels; in process() 110 int mNumChannels; variable 175 numSamples *= mNumChannels; in MixOutput()
|
D | AudioBiquadFilter.h | 123 int mNumChannels; variable
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | SoftAACEncoder.cpp | 49 mNumChannels(1), in SoftAACEncoder() 189 aacParams->nChannels = mNumChannels; in internalGetParameter() 213 pcmParams->nChannels = mNumChannels; in internalGetParameter() 274 mNumChannels = aacParams->nChannels; in internalSetParameter() 293 mNumChannels = pcmParams->nChannels; in internalSetParameter() 314 mSampleRate, mNumChannels, mBitRate); in setAudioParams() 326 params.nChannels = mNumChannels; in setAudioParams() 367 if (mNumChannels > 2 || mNumChannels <= 0) { in setAudioSpecificConfigData() 368 ALOGE("Unsupported number of channels(%lu)", mNumChannels); in setAudioSpecificConfigData() 374 mAudioSpecificConfigData[1] = ((index & 0x01) << 7) | (mNumChannels << 3); in setAudioSpecificConfigData() [all …]
|
D | SoftAACEncoder2.cpp | 45 mNumChannels(1), in SoftAACEncoder2() 158 aacParams->nChannels = mNumChannels; in internalGetParameter() 217 pcmParams->nChannels = mNumChannels; in internalGetParameter() 278 mNumChannels = aacParams->nChannels; in internalSetParameter() 317 mNumChannels = pcmParams->nChannels; in internalSetParameter() 367 mSampleRate, mNumChannels, mBitRate, mSBRMode, mSBRRatio); in setAudioParams() 384 getChannelMode(mNumChannels))) { in setAudioParams() 467 mNumChannels * kNumSamplesPerFrame * sizeof(int16_t); in onQueueFilled() 515 / (mNumChannels * sizeof(int16_t)); in onQueueFilled()
|
D | SoftAACEncoder2.h | 53 OMX_U32 mNumChannels; member
|
D | SoftAACEncoder.h | 56 OMX_U32 mNumChannels; member
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
D | SoftMP3.cpp | 49 mNumChannels(2), in SoftMP3() 143 pcmParams->nChannels = mNumChannels; in internalGetParameter() 158 mp3Params->nChannels = mNumChannels; in internalGetParameter() 197 mNumChannels = pcmParams->nChannels; in internalSetParameter() 277 outHeader->nFilledLen = kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); in onQueueFilled() 300 || mConfig->num_channels != mNumChannels) { in onQueueFilled() 302 mNumChannels = mConfig->num_channels; in onQueueFilled() 315 kPVMP3DecoderDelay * mNumChannels * sizeof(int16_t); in onQueueFilled() 343 mNumFramesOutput += mConfig->outputFrameSize / mNumChannels; in onQueueFilled()
|
D | SoftMP3.h | 59 int32_t mNumChannels; member
|
/frameworks/av/cmds/stagefright/ |
D | SineSource.cpp | 15 mNumChannels(numChannels), in SineSource() 53 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat() 71 size_t frameSize = mNumChannels * sizeof(int16_t); in read() 83 if (mNumChannels == 2) { in read()
|
D | SineSource.h | 32 int32_t mNumChannels; member
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
D | SoftFlacEncoder.cpp | 54 mNumChannels(1), in SoftFlacEncoder() 174 pcmParams->nChannels = mNumChannels; in internalGetParameter() 184 flacParams->nChannels = mNumChannels; in internalGetParameter() 211 mNumChannels = pcmParams->nChannels; in internalSetParameter() 213 ALOGV("will encode %d channels at %dHz", mNumChannels, mSampleRate); in internalSetParameter() 305 assert(mNumChannels != 0); in onQueueFilled() 311 const unsigned nbInputFrames = inHeader->nFilledLen / (2 * mNumChannels); in onQueueFilled() 416 mNumChannels, mSampleRate); in configureEncoder() 424 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mNumChannels); in configureEncoder()
|
D | SoftFlacEncoder.h | 61 OMX_U32 mNumChannels; member
|
/frameworks/wilhelm/src/itf/ |
D | IMuteSolo.c | 33 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()
|
D | IEngine.c | 212 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/ |
D | SoundPool.h | 58 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
|
D | SoundPool.cpp | 650 mNumChannels = numChannels; in doLoad() 773 mNumChannels = numChannels; in play() 1012 uint32_t loopEnd = mSample->size()/mNumChannels/ in setLoop() 1035 mState, mChannelID, mNumChannels, mPos, mPriority, mLoop); in dump()
|
/frameworks/wilhelm/src/ |
D | classes.h | 73 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, member 148 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, member 337 SLuint8 mNumChannels; // initially UNKNOWN_NUMCHANNELS, then const once it is known, member
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 45 mNumChannels(1), in SoftG711() 132 pcmParams->nChannels = mNumChannels; in internalGetParameter() 160 mNumChannels = pcmParams->nChannels; in internalSetParameter()
|
D | SoftG711.h | 50 OMX_U32 mNumChannels; member
|
/frameworks/av/media/libstagefright/include/ |
D | WAVExtractor.h | 49 uint16_t mNumChannels; variable
|
/frameworks/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 188 if (UNKNOWN_NUMCHANNELS == mp->mNumChannels && UNKNOWN_NUMCHANNELS != data1) { in player_handleMediaPlayerEventNotifications() 189 mp->mNumChannels = data1; in player_handleMediaPlayerEventNotifications() 589 android_player_volumeUpdate(volumes, &mp->mVolume, mp->mNumChannels, 1.0f, NULL); in android_Player_volumeUpdate()
|
D | AudioRecorder_to_android.cpp | 179 ar->mNumChannels = df_pcm->numChannels; in android_audioRecorder_checkSourceSink() 189 ar->mSampleRateMilliHz, ar->mNumChannels); in android_audioRecorder_checkSourceSink()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.h | 189 int32_t mNumChannels; member
|