/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 | 13 SineSource::SineSource(int32_t sampleRate, int32_t numChannels) argument 16 mNumChannels(numChannels), 19 CHECK(numChannels == 1 || numChannels == 2);
|
/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 | 280 const char *desc, int32_t *timescale, int32_t *numChannels) { 291 *numChannels = 1; 299 *numChannels = x; 279 ParseFormatDesc( const char *desc, int32_t *timescale, int32_t *numChannels) argument
|
H A D | APacketSource.cpp | 470 int32_t sampleRate, numChannels; local 472 desc.c_str(), &sampleRate, &numChannels); 475 mFormat->setInt32(kKeyChannelCount, numChannels); 486 int32_t sampleRate, numChannels; local 488 desc.c_str(), &sampleRate, &numChannels); 491 mFormat->setInt32(kKeyChannelCount, numChannels); 493 if (sampleRate != 8000 || numChannels != 1) { 499 int32_t sampleRate, numChannels; local 501 desc.c_str(), &sampleRate, &numChannels); 504 mFormat->setInt32(kKeyChannelCount, numChannels); 550 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 | 1633 int32_t numChannels; local 1635 formatDesc.c_str(), ×cale, &numChannels);
|
/frameworks/wilhelm/src/itf/ |
H A D | IMuteSolo.cpp | 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:__anon2170 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 | Utils.cpp | 717 int32_t numChannels, sampleRate; local 718 if (!meta->findInt32(kKeyChannelCount, &numChannels) 723 msg->setInt32("channel-count", numChannels); 1405 int32_t numChannels; local 1406 if (msg->findInt32("channel-count", &numChannels)) { 1407 meta->setInt32(kKeyChannelCount, numChannels);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | ChannelHelper.java | 279 private static String toString(WifiNative.ChannelSettings[] channels, int numChannels) { argument 286 for (int c = 0; c < numChannels; c++) { 288 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 135 int numChannels() { return mNumChannels; } function in class:android::SoundChannel
|
H A D | SoundPool.cpp | 515 uint32_t *rate, int *numChannels, audio_format_t *audioFormat, 649 !AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, numChannels)) { 666 int numChannels; local 672 status = decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format, 681 ALOGV("pointer = %p, size = %zu, sampleRate = %u, numChannels = %d", 682 mHeap->getBase(), mSize, sampleRate, numChannels); 690 if ((numChannels < 1) || (numChannels > FCC_8)) { 691 ALOGE("Sample channel count (%d) out of range", numChannels); 698 mNumChannels = numChannels; 514 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 749 int numChannels = sample->numChannels(); local [all...] |
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 50 SLuint32 numChannels; member in struct:SLAndroidDataFormat_PCM_EX_
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 767 size_t frameSize = 2 /* numChannels */ * sizeof(int16_t); 875 int32_t numChannels; local 880 if (!mFormat->findInt32(kKeyChannelCount, &numChannels)) { 886 sampleRate, numChannels); 1224 int samplingRate, numChannels, bitrate, numSamples; local 1226 header, &frameSize, &samplingRate, &numChannels, 1277 mFormat->setInt32(kKeyChannelCount, numChannels);
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
H A D | NuPlayer2Renderer.cpp | 1862 int32_t numChannels; local 1863 CHECK(format->findInt32("channel-count", &numChannels)); 1928 numChannels, 1978 numChannels, 2014 numChannels,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 1864 int32_t numChannels; local 1865 CHECK(format->findInt32("channel-count", &numChannels)); 1930 numChannels, 1980 numChannels, 2016 numChannels,
|
/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 755 * @param numChannels the number of audio channels. Usually it is either 1 (mono) or 2 758 public void setAudioChannels(int numChannels) { argument 759 if (numChannels <= 0) { 762 mChannelCount = numChannels; 763 setParameter("audio-param-number-of-channels=" + numChannels);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 934 * perChannelNoiseProfile - numChannels * 2 noise profile coefficients. 935 * cfa - numChannels color channels corresponding to each of the per-channel noise profile 937 * numChannels - the number of noise profile coefficient pairs and color channels given in 946 size_t numChannels, const uint8_t* planeColors, size_t numPlanes, 956 for (size_t c = 0; c < numChannels; ++c) { 945 generateNoiseProfile(const double* perChannelNoiseProfile, uint8_t* cfa, size_t numChannels, const uint8_t* planeColors, size_t numPlanes, double* noiseProfile) argument
|
/frameworks/av/media/extractors/mp4/ |
H A D | MPEG4Extractor.cpp | 3621 int32_t numChannels = 0; local 3625 numChannels = br.getBits(4); 3628 numChannels = br.getBits(4); 3657 switch (numChannels) { 3666 //numChannels already contains the right value 3669 numChannels = 7; 3674 numChannels = 8; 3726 if (numChannels == 0) { 3794 numChannels = channelsNum; 3799 if (numChannels [all...] |