/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_poly_phase_synthesis.h | 90 int32 numChannels,
|
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);
|
pvmp3_polyphase_filter_window.h | 123 int32 numChannels);
|
/frameworks/wilhelm/src/itf/ |
IMuteSolo.c | 33 SLuint8 numChannels = ap->mNumChannels; 34 if (1 >= numChannels) { 37 } else if (numChannels <= chan) { 73 SLuint8 numChannels = ap->mNumChannels; 74 if (1 >= numChannels) { 77 } else if (numChannels <= chan) { 105 SLuint8 numChannels = ap->mNumChannels; 106 if (1 >= numChannels) { 109 } else if (numChannels <= chan) { 145 SLuint8 numChannels = ap->mNumChannels [all...] |
/frameworks/av/cmds/stagefright/ |
SineSource.cpp | 12 SineSource::SineSource(int32_t sampleRate, int32_t numChannels) 15 mNumChannels(numChannels), 18 CHECK(numChannels == 1 || numChannels == 2);
|
SineSource.h | 12 SineSource(int32_t sampleRate, int32_t numChannels);
|
/frameworks/wilhelm/tests/listening/ |
slesTest_playMuteSolo.cpp | 107 SLuint8 numChannels = 0; 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; 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 = 123 [all...] |
/external/aac/libSYS/include/ |
wav_file.h | 146 USHORT numChannels; 201 * \param numChannels Desired number of audio channels of the resulting WAV file. 206 INT WAV_OutputOpen(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, INT bitsPerSample);
|
/frameworks/wilhelm/tests/sandbox/ |
configbq.c | 28 SLuint8 numChannels; 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);
|
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;
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
ImageUtils.h | 102 static void writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels = IMAGE_TYPE_NUM_CHANNELS); 107 static ImageType allocateImage(int width, int height, int numChannels, short int border = 0);
|
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
ImageUtils.h | 102 static void writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels = IMAGE_TYPE_NUM_CHANNELS); 107 static ImageType allocateImage(int width, int height, int numChannels, short int border = 0);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
ImageUtils.h | 102 static void writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels = IMAGE_TYPE_NUM_CHANNELS); 107 static ImageType allocateImage(int width, int height, int numChannels, short int border = 0);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
FlatManifestWriterImpl.java | 454 int numChannels = 0; 458 numChannels += 1; 463 numChannels += 2; 469 numChannels += 2; 476 numChannels += 1; 481 numChannels += 1; 486 numChannels += 2; 492 numChannels += 2; 498 numChannels += 1; 503 numChannels += 1 [all...] |
/external/srec/audio/AudioIn/UNIX/src/ |
audioinwrapper.cpp | 61 static int numChannels = 1; 71 numChannels = channel_count; 102 (numChannels > 1) ? AUDIO_CHANNEL_IN_STEREO : AUDIO_CHANNEL_IN_MONO,
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
SoftAAC2.cpp | 187 aacParams->nChannels = mStreamInfo->numChannels; 220 pcmParams->nChannels = mStreamInfo->numChannels; 292 if (mStreamInfo->numChannels > 2) { 298 mStreamInfo->numChannels = 2; 339 // and numChannels are valid. 340 if (mStreamInfo->sampleRate && mStreamInfo->numChannels) { 344 mStreamInfo->numChannels); 391 * mStreamInfo->numChannels; 471 int prevNumChannels = mStreamInfo->numChannels; 492 mStreamInfo->frameSize * sizeof(int16_t) * mStreamInfo->numChannels; [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ARawAudioAssembler.cpp | 134 int32_t sampleRate, numChannels; 136 desc, &sampleRate, &numChannels); 139 format->setInt32(kKeyChannelCount, numChannels);
|
APacketSource.cpp | 473 int32_t sampleRate, numChannels; 475 desc.c_str(), &sampleRate, &numChannels); 478 mFormat->setInt32(kKeyChannelCount, numChannels); 489 int32_t sampleRate, numChannels; 491 desc.c_str(), &sampleRate, &numChannels); 494 mFormat->setInt32(kKeyChannelCount, numChannels); 496 if (sampleRate != 8000 || numChannels != 1) { 502 int32_t sampleRate, numChannels; 504 desc.c_str(), &sampleRate, &numChannels); 507 mFormat->setInt32(kKeyChannelCount, numChannels); [all...] |
/external/aac/libAACdec/src/ |
aacdec_drc.h | 144 int numChannels );
|
/frameworks/base/core/java/android/speech/srec/ |
WaveHeader.java | 28 * <li> numChannels - 1 for mono, 2 for stereo. 68 * @param numChannels 1 for mono, 2 for stereo. 73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { 76 mNumChannels = numChannels; 111 * @param numChannels 1 for mono, 2 for stereo. 114 public WaveHeader setNumChannels(short numChannels) { 115 mNumChannels = numChannels; 272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",
|
/external/aac/libSBRenc/include/ |
sbr_encoder.h | 145 UCHAR numChannels; /*!< */ 288 * \param numChannels The amount of audio channels 293 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE aot); 313 * \param numChannels Input: Encoder input channels. output: core encoder channels. 332 INT *numChannels,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
TexImageTransform.java | 253 int numChannels = includeAlpha ? 4 : 3; 254 byte[] unsignedData = new byte[(shortData.length/2) * numChannels]; 267 unsignedData[i * numChannels + 0] = UnsignedBytes.checkedCast(r); 268 unsignedData[i * numChannels + 1] = UnsignedBytes.checkedCast(g); 269 unsignedData[i * numChannels + 2] = UnsignedBytes.checkedCast(b); 272 unsignedData[i * numChannels + 3] = UnsignedBytes.checkedCast(a);
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrack_ListenerTest.java | 81 final int numChannels = (TEST_CONF == AudioFormat.CHANNEL_CONFIGURATION_STEREO) ? 2 : 1; 83 final int bytesPerFrame = numChannels * bytesPerSample;
|
/external/chromium_org/media/audio/android/ |
opensles_input.cc | 33 format_.numChannels = static_cast<SLuint32>(params.channels()); 39 if (format_.numChannels == 1) 41 else if (format_.numChannels == 2) 44 NOTREACHED() << "Unsupported number of channels: " << format_.numChannels;
|
/frameworks/av/include/media/ |
SoundPool.h | 59 int numChannels() { return mNumChannels; } 70 void init(int numChannels, int sampleRate, audio_format_t format, size_t size, 72 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; 142 int numChannels() { return mNumChannels; }
|