/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
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.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/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 | sf2.cpp | 307 int32_t numChannels, sampleRate; local 308 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 311 msg->setInt32("channel-count", 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 | AMPEG4ElementaryAssembler.cpp | 189 int32_t sampleRate, numChannels; local 191 desc.c_str(), &sampleRate, &numChannels); 193 mChannelConfig = 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
|
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 | ARTPWriter.cpp | 475 int32_t sampleRate, numChannels; local 477 CHECK(mSource->getFormat()->findInt32(kKeyChannelCount, &numChannels)); 479 CHECK_EQ(numChannels, 1); 483 sdp.append(AStringPrintf("/%d/%d", sampleRate, numChannels));
|
H A D | MyHandler.h | 1675 int32_t numChannels; local 1677 formatDesc.c_str(), ×cale, &numChannels);
|
/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/wilhelm/tests/sandbox/ |
H A D | configbq.c | 28 SLuint8 numChannels; member in struct:__anon1827 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 | 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/ |
H A D | AudioPlayer.cpp | 129 int32_t numChannels, channelMask; local 130 success = format->findInt32(kKeyChannelCount, &numChannels); 135 ALOGI_IF(numChannels > 2, 136 "source format didn't specify channel mask, using (%d) channel order", numChannels); 192 mSampleRate, numChannels, channelMask, audioFormat, 234 audio_channel_out_mask_from_count(numChannels) : channelMask;
|
H A D | AVIExtractor.cpp | 712 uint32_t numChannels = U16LE_AT(&data[2]); local 715 track->mMeta->setInt32(kKeyChannelCount, numChannels);
|
H A D | Utils.cpp | 685 int32_t numChannels, sampleRate; local 686 if (!meta->findInt32(kKeyChannelCount, &numChannels) 691 msg->setInt32("channel-count", numChannels); 1320 int32_t numChannels; local 1321 if (msg->findInt32("channel-count", &numChannels)) { 1322 meta->setInt32(kKeyChannelCount, numChannels);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | ChannelHelper.java | 275 private static String toString(WifiNative.ChannelSettings[] channels, int numChannels) { argument 282 for (int c = 0; c < numChannels; c++) { 284 if (c != numChannels - 1) {
|
/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/base/media/jni/soundpool/ |
H A D | SoundPool.h | 58 int numChannels() { return mNumChannels; } function in class:android::Sample 134 int numChannels() { return mNumChannels; } function in class:android::SoundChannel
|
H A D | SoundPool.cpp | 504 uint32_t *rate, int *numChannels, audio_format_t *audioFormat, 638 !AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, numChannels)) { 655 int numChannels; local 661 status = decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format, 670 ALOGV("pointer = %p, size = %zu, sampleRate = %u, numChannels = %d", 671 mHeap->getBase(), mSize, sampleRate, numChannels); 679 if ((numChannels < 1) || (numChannels > FCC_8)) { 680 ALOGE("Sample channel count (%d) out of range", numChannels); 687 mNumChannels = numChannels; 503 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 738 int numChannels = sample->numChannels(); local [all...] |
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 49 SLuint32 numChannels; member in struct:SLAndroidDataFormat_PCM_EX_
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 599 size_t frameSize = 2 /* numChannels */ * sizeof(int16_t); 695 int32_t numChannels; local 700 if (!mFormat->findInt32(kKeyChannelCount, &numChannels)) { 706 sampleRate, numChannels); 945 int samplingRate, numChannels, bitrate, numSamples; local 947 header, &frameSize, &samplingRate, &numChannels, 998 mFormat->setInt32(kKeyChannelCount, numChannels);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 1755 int32_t numChannels; local 1756 CHECK(format->findInt32("channel-count", &numChannels)); 1821 numChannels, 1871 numChannels, 1907 numChannels,
|
/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 706 * @param numChannels the number of audio channels. Usually it is either 1 (mono) or 2 709 public void setAudioChannels(int numChannels) { argument 710 if (numChannels <= 0) { 713 setParameter("audio-param-number-of-channels=" + numChannels);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 932 * perChannelNoiseProfile - numChannels * 2 noise profile coefficients. 933 * cfa - numChannels color channels corresponding to each of the per-channel noise profile 935 * numChannels - the number of noise profile coefficient pairs and color channels given in 944 size_t numChannels, const uint8_t* planeColors, size_t numPlanes, 954 for (size_t c = 0; c < numChannels; ++c) { 943 generateNoiseProfile(const double* perChannelNoiseProfile, uint8_t* cfa, size_t numChannels, const uint8_t* planeColors, size_t numPlanes, double* noiseProfile) argument
|