/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_poly_phase_synthesis.h | 90 int32 numChannels,
|
H A D | pvmp3_poly_phase_synthesis.cpp | 40 int32 numChannels, number of channels 123 int32 numChannels, 155 numChannels); 171 ptr_out + (numChannels << 5), 172 numChannels); 174 ptr_out += (numChannels << 6); 122 pvmp3_poly_phase_synthesis(tmp3dec_chan *pChVars, int32 numChannels, e_equalization equalizerType, int16 *outPcm) argument
|
H A D | pvmp3_polyphase_filter_window.h | 123 int32 numChannels);
|
H A D | pvmp3_polyphase_filter_window.cpp | 42 int32 numChannels number of channels 117 int32 numChannels) 198 int32 k = j << (numChannels - 1); 200 outPcm[(numChannels<<5) - k] = saturate16(sum2 >> 6); 233 outPcm[(SUBBANDS_NUMBER/2)<<(numChannels-1)] = saturate16(sum2 >> 6); 115 pvmp3_polyphase_filter_window(int32 *synth_buffer, int16 *outPcm, int32 numChannels) argument
|
/frameworks/wilhelm/src/itf/ |
H A D | IMuteSolo.c | 33 SLuint8 numChannels = ap->mNumChannels; local 34 if (1 >= numChannels) { 37 } else if (numChannels <= chan) { 73 SLuint8 numChannels = ap->mNumChannels; local 74 if (1 >= numChannels) { 77 } else if (numChannels <= chan) { 105 SLuint8 numChannels = ap->mNumChannels; local 106 if (1 >= numChannels) { 109 } else if (numChannels <= chan) { 145 SLuint8 numChannels local 180 SLuint8 numChannels = ap->mNumChannels; local [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | SineSource.cpp | 12 SineSource::SineSource(int32_t sampleRate, int32_t numChannels) argument 15 mNumChannels(numChannels), 18 CHECK(numChannels == 1 || numChannels == 2);
|
H A D | SineSource.h | 13 SineSource(int32_t sampleRate, int32_t numChannels);
|
/frameworks/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 107 SLuint8 numChannels = 0; local 108 SLresult res = (*muteSolo)->GetNumChannels(muteSolo, &numChannels); ExitOnError(res); 109 //fprintf(stdout, "Content has %d channel(s)\n", numChannels); 117 if (numChannels > 1) { // SLMuteSoloItf only works if more than one channel 137 if (numChannels > 1) { // SLMuteSoloItf only works if more than one channel 278 SLuint8 numChannels = 123; local 279 result = (*muteSoloItf)->GetNumChannels(muteSoloItf, &numChannels); 280 printf("GetNumChannels after Realize but before pre-fetch: result=%u, numChannels=%u\n", 281 result, numChannels); 330 numChannels [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 28 SLuint8 numChannels; member in struct:__anon1740 98 for (format = formats; format->numChannels; ++format) { 100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels, 109 format_pcm.numChannels = format->numChannels; 150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) / 154 if (2 == format->numChannels) { 166 assert(1 == format->numChannels);
|
H A D | srcsink.c | 44 format_pcm.numChannels = 2; 109 format_pcm.numChannels = 0; 114 format_pcm.numChannels = 3; 119 format_pcm.numChannels = 2; 178 format_pcm.numChannels = 1; 190 format_pcm.numChannels = 2;
|
H A D | intbufq.c | 113 pcm.numChannels = 2; 140 SLuint8 numChannels = 123; local 141 result = (*playerMuteSolo)->GetNumChannels(playerMuteSolo, &numChannels); 142 assert(2 == numChannels);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARawAudioAssembler.cpp | 136 int32_t sampleRate, numChannels; local 138 desc, &sampleRate, &numChannels); 141 format->setInt32(kKeyChannelCount, numChannels);
|
H A D | APacketSource.cpp | 471 int32_t sampleRate, numChannels; local 473 desc.c_str(), &sampleRate, &numChannels); 476 mFormat->setInt32(kKeyChannelCount, numChannels); 487 int32_t sampleRate, numChannels; local 489 desc.c_str(), &sampleRate, &numChannels); 492 mFormat->setInt32(kKeyChannelCount, numChannels); 494 if (sampleRate != 8000 || numChannels != 1) { 500 int32_t sampleRate, numChannels; local 502 desc.c_str(), &sampleRate, &numChannels); 505 mFormat->setInt32(kKeyChannelCount, numChannels); 551 int32_t sampleRate, numChannels; local [all...] |
H A D | ASessionDescription.h | 54 const char *desc, int32_t *timescale, int32_t *numChannels);
|
H A D | ASessionDescription.cpp | 278 const char *desc, int32_t *timescale, int32_t *numChannels) { 289 *numChannels = 1; 297 *numChannels = x; 277 ParseFormatDesc( const char *desc, int32_t *timescale, int32_t *numChannels) argument
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | SoftAAC2.cpp | 234 aacParams->nChannels = mStreamInfo->numChannels; 267 pcmParams->nChannels = mStreamInfo->numChannels; 551 // and numChannels are valid. 552 if (mStreamInfo->sampleRate && mStreamInfo->numChannels) { 555 mStreamInfo->numChannels); 641 INT prevNumChannels = mStreamInfo->numChannels; 660 (mStreamInfo->frameSize * mStreamInfo->numChannels)) { 691 mStreamInfo->frameSize * sizeof(int16_t) * mStreamInfo->numChannels; 695 mStreamInfo->frameSize * mStreamInfo->numChannels)) { 706 mStreamInfo->frameSize * mStreamInfo->numChannels)) { [all...] |
H A D | DrcPresModeWrap.cpp | 96 if (mStreamNrOutChan != pStreamInfo->numChannels) { 97 mStreamNrOutChan = pStreamInfo->numChannels; 100 ALOGV("DRC presentation mode wrapper: numChannels is %d\n", mStreamNrOutChan);
|
/frameworks/wilhelm/src/ |
H A D | data.c | 373 switch (pDataFormat->mPCM.numChannels) { 391 SL_LOGE("%s: numChannels=%u", name, (unsigned) pDataFormat->mPCM.numChannels); 454 if (2 != pDataFormat->mPCM.numChannels) { 461 if (1 != pDataFormat->mPCM.numChannels) { 467 if (3 != pDataFormat->mPCM.numChannels) { 472 if (4 != pDataFormat->mPCM.numChannels) { 477 if (5 != pDataFormat->mPCM.numChannels) { 482 if (6 != pDataFormat->mPCM.numChannels) { 487 if (7 != pDataFormat->mPCM.numChannels) { [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MidiExtractor.cpp | 180 trackMetadata->setInt32(kKeyChannelCount, mEasConfig->numChannels); 207 * mEasConfig->mixBufferSize * mEasConfig->numChannels * NUM_COMBINE_BUFFERS; 251 p += numRendered * mEasConfig->numChannels; 252 numBytesOutput += numRendered * mEasConfig->numChannels * sizeof(EAS_PCM);
|
H A D | OMXCodec.cpp | 591 int32_t numChannels, sampleRate, aacProfile; local 592 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 604 status_t err = setAACFormat(numChannels, sampleRate, bitRate, aacProfile, isADTS); 610 int32_t numChannels, sampleRate; local 611 if (meta->findInt32(kKeyChannelCount, &numChannels) 618 numChannels); 621 int32_t numChannels; local 623 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 626 status_t err = setAC3Format(numChannels, sampleRate); 637 int32_t numChannels; local 647 int32_t numChannels, sampleRate; local 3191 setRawAudioFormat( OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels) argument 3298 int32_t numChannels; local 3306 setAACFormat( int32_t numChannels, int32_t sampleRate, int32_t bitRate, int32_t aacProfile, bool isADTS) argument 3407 setAC3Format(int32_t numChannels, int32_t sampleRate) argument 3432 setG711Format(int32_t sampleRate, int32_t numChannels) argument 4086 int32_t numChannels, sampleRate; local 4145 int32_t numChannels, sampleRate, bitRate; local 4156 int32_t numChannels, sampleRate, bitRate; local 4393 getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]) argument [all...] |
H A D | AudioPlayer.cpp | 125 int32_t numChannels, channelMask; local 126 success = format->findInt32(kKeyChannelCount, &numChannels); 131 ALOGI_IF(numChannels > 2, 132 "source format didn't specify channel mask, using (%d) channel order", numChannels); 184 mSampleRate, numChannels, channelMask, audioFormat, 226 audio_channel_out_mask_from_count(numChannels) : channelMask;
|
/frameworks/av/include/media/stagefright/ |
H A D | OMXCodec.h | 248 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 251 status_t setAC3Format(int32_t numChannels, int32_t sampleRate); 253 void setG711Format(int32_t sampleRate, int32_t numChannels); 292 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels); 406 status_t getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]);
|
H A D | ACodec.h | 338 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 343 status_t setupAC3Codec(bool encoder, int32_t numChannels, int32_t sampleRate); 345 status_t setupEAC3Codec(bool encoder, int32_t numChannels, int32_t sampleRate); 351 status_t setupG711Codec(bool encoder, int32_t sampleRate, int32_t numChannels); 354 bool encoder, int32_t numChannels, int32_t sampleRate, int32_t compressionLevel); 357 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels);
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 491 uint32_t *rate, int *numChannels, audio_format_t *audioFormat, 601 !AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, numChannels)) { 618 int numChannels; local 624 status = decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format, 633 ALOGV("pointer = %p, size = %zu, sampleRate = %u, numChannels = %d", 634 mHeap->getBase(), mSize, sampleRate, numChannels); 642 if ((numChannels < 1) || (numChannels > 8)) { 643 ALOGE("Sample channel count (%d) out of range", numChannels); 650 mNumChannels = numChannels; 490 decode(int fd, int64_t offset, int64_t length, uint32_t *rate, int *numChannels, audio_format_t *audioFormat, sp<MemoryHeapBase> heap, size_t *memsize) argument 701 int numChannels = sample->numChannels(); local [all...] |
/frameworks/av/media/libmedia/ |
H A D | JetPlayer.cpp | 91 audio_channel_out_mask_from_count(pLibConfig->numChannels), 168 new EAS_PCM[pLibConfig->mixBufferSize * pLibConfig->numChannels * MIX_NUM_BUFFERS]; 209 p += count * pLibConfig->numChannels; 210 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
|