/cts/tests/tests/media/src/android/media/cts/ |
EncoderTest.java | 275 int sampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); 277 int inBitrate = sampleRate * channelCount * 16; // bit/sec
|
/external/aac/libAACenc/src/ |
pnsparam.h | 128 int FDKaacEnc_lookUpPnsUse (int bitRate, int sampleRate, int numChan, const int isLC); 134 INT sampleRate,
|
aacenc_tns.cpp | 273 const INT sampleRate, 303 if (sampleRate >= pMaxBandsTab[i].samplingRate) { 363 input: bitrate, samplerate, number of channels, 372 INT sampleRate, 396 tC->lpcStopBand = getTnsMaxBands(sampleRate, granuleLength, (blockType == SHORT_WINDOW) ? 1 : 0); 408 tC->lpcStartBand[LOFILT] = (blockType == SHORT_WINDOW) ? 0 : ((sampleRate < 18783) ? 4 : 8); 453 tC->lpcStartBand[HIFILT] = FDKaacEnc_FreqToBandWithRounding(pCfg->filterStartFreq[HIFILT], sampleRate, pC->sfbCnt, pC->sfbOffset); 455 tC->lpcStartBand[LOFILT] = FDKaacEnc_FreqToBandWithRounding(pCfg->filterStartFreq[LOFILT], sampleRate, pC->sfbCnt, pC->sfbOffset); 474 FDKaacEnc_CalcGaussWindow(tC->acfWindow[HIFILT], tC->maxOrder+1, sampleRate, granuleLength, pCfg->tnsTimeResolution[HIFILT], TNS_TIMERES_SCALE); 475 FDKaacEnc_CalcGaussWindow(tC->acfWindow[LOFILT], tC->maxOrder+1, sampleRate, granuleLength, pCfg->tnsTimeResolution[LOFILT], TNS_TIMERES_SCALE) [all...] |
aacenc_pns.cpp | 126 bitrate, samplerate, usePns, 134 INT sampleRate, 146 sampleRate,
|
/external/aac/libMpegTPEnc/src/ |
tpenc_adif.cpp | 109 INT sampleRate = adif->samplingRate; 147 transportEnc_writePCE(hBs, adif->cm, sampleRate, adif->instanceTag, adif->profile, 0, 0, alignAnchor);
|
tpenc_asc.h | 108 * \param sampleRate the sample rate 119 INT sampleRate,
|
tpenc_asc.cpp | 221 INT sampleRate, 233 sampleRateIndex = getSamplingRateIndex(sampleRate); 357 static void writeSampleRate(HANDLE_FDK_BITSTREAM hBitstreamBuffer, int sampleRate) 359 int sampleRateIndex = getSamplingRateIndex(sampleRate); 363 FDKwriteBits( hBitstreamBuffer, sampleRate, 24 ); 428 FDKwriteBits(hBs, (config->samplingRate == config->extSamplingRate) ? 0:1, 1); /* Samplerate Flag */
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioNode.h | 57 AudioNode(AudioContext*, float sampleRate); 135 virtual float sampleRate() const { return m_sampleRate; }
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
Reverb.cpp | 82 if (response->sampleRate()) 83 scale *= GainCalibrationSampleRate / response->sampleRate();
|
AudioBus.cpp | 185 audioBus->setSampleRate(sourceBuffer->sampleRate()); 528 ASSERT(sourceBus && sourceBus->sampleRate()); 529 if (!sourceBus || !sourceBus->sampleRate()) 532 double sourceSampleRate = sourceBus->sampleRate(); 611 destinationBus->setSampleRate(sourceBus->sampleRate());
|
/frameworks/av/include/media/ |
AudioTrack.h | 130 uint32_t sampleRate); 158 * sampleRate: Data source sampling rate in Hz. 180 uint32_t sampleRate, 205 uint32_t sampleRate, 230 * - BAD_VALUE: invalid parameter (channelMask, format, sampleRate...) 241 uint32_t sampleRate, 337 status_t setSampleRate(uint32_t sampleRate); 636 uint32_t sampleRate, [all...] |
AudioRecord.h | 105 uint32_t sampleRate, 130 * sampleRate: Data sink sampling rate in Hz. 151 uint32_t sampleRate, 174 * - BAD_VALUE: invalid parameter (channels, format, sampleRate...) 183 uint32_t sampleRate,
|
/frameworks/av/include/media/stagefright/ |
OMXCodec.h | 248 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 290 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels);
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
AudioManagerAndroid.java | 321 * @param sampleRate sampling rate 325 private static int getMinInputFrameSize(int sampleRate, int channels) { 335 sampleRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT) / 2 / channels; 341 * @param sampleRate sampling rate 345 private static int getMinOutputFrameSize(int sampleRate, int channels) { 355 sampleRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT) / 2 / channels;
|
/frameworks/av/services/audioflinger/ |
AudioMixer.cpp | 100 AudioMixer::AudioMixer(size_t frameCount, uint32_t sampleRate, uint32_t maxNumTracks) 102 mSampleRate(sampleRate) 214 t->sampleRate = mSampleRate; 297 pDbp->mDownmixConfig.inputCfg.samplingRate = pTrack->sampleRate; 298 pDbp->mDownmixConfig.outputCfg.samplingRate = pTrack->sampleRate; 487 track.sampleRate = mSampleRate; 551 if (sampleRate != value) { 552 sampleRate = value; 777 t->resampler->setSampleRate(t->sampleRate); [all...] |
/frameworks/av/media/libstagefright/ |
ACodec.cpp | [all...] |
/external/srec/srec/include/ |
frontapi.h | 72 int samplerate; member in struct:__anon26482 543 int samplerate); 551 * samplerate File's sample rate (Hz) 588 int samplerate, 595 * samplerate Device sample rate (Hz) [all...] |
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Init.c | 235 DBE_Capabilities.SampleRate = LVDBE_CAP_FS_8000 | LVDBE_CAP_FS_11025 | LVDBE_CAP_FS_12000 | LVDBE_CAP_FS_16000 | LVDBE_CAP_FS_22050 | LVDBE_CAP_FS_24000 | LVDBE_CAP_FS_32000 | LVDBE_CAP_FS_44100 | LVDBE_CAP_FS_48000; 268 EQNB_Capabilities.SampleRate = LVEQNB_CAP_FS_8000 | LVEQNB_CAP_FS_11025 | LVEQNB_CAP_FS_12000 | LVEQNB_CAP_FS_16000 | LVEQNB_CAP_FS_22050 | LVEQNB_CAP_FS_24000 | LVEQNB_CAP_FS_32000 | LVEQNB_CAP_FS_44100 | LVEQNB_CAP_FS_48000; 559 pInstance->Params.SampleRate = LVM_FS_8000; 712 DBE_Capabilities.SampleRate = LVDBE_CAP_FS_8000 | LVDBE_CAP_FS_11025 | LVDBE_CAP_FS_12000 | LVDBE_CAP_FS_16000 | LVDBE_CAP_FS_22050 | LVDBE_CAP_FS_24000 | LVDBE_CAP_FS_32000 | LVDBE_CAP_FS_44100 | LVDBE_CAP_FS_48000; [all...] |
/frameworks/av/media/libmedia/ |
AudioSystem.cpp | 246 *samplingRate = af->sampleRate(output); 338 status_t AudioSystem::getInputBufferSize(uint32_t sampleRate, audio_format_t format, 344 if ((inBuffSize == 0) || (sampleRate != gPrevInSamplingRate) || (format != gPrevInFormat) 351 inBuffSize = af->getInputBufferSize(sampleRate, format, channelMask); 354 gPrevInSamplingRate = sampleRate;
|
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 583 int32_t sampleRate; 585 CHECK(format->findInt32("sample-rate", &sampleRate)); 589 sampleRate,
|
sf2.cpp | 284 int32_t numChannels, sampleRate; 286 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); 289 msg->setInt32("sample-rate", sampleRate);
|
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.h | 92 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, 202 uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, 220 uint32_t sampleRate() const { return mSampleRate; }
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
SoftAACEncoder.cpp | 324 params.sampleRate = mSampleRate; 337 static status_t getSampleRateTableIndex(int32_t sampleRate, int32_t &index) { 346 if (sampleRate == kSampleRateTable[i]) {
|
/frameworks/base/media/java/android/media/ |
MediaFormat.java | 365 * @param sampleRate The sampling rate of the content. 370 int sampleRate, 374 format.setInteger(KEY_SAMPLE_RATE, sampleRate);
|
/frameworks/wilhelm/tests/sandbox/ |
playbq.c | 252 switch (sfinfo.samplerate) { 264 fprintf(stderr, "unsupported sample rate %d\n", sfinfo.samplerate); 329 format_pcm.samplesPerSec = sfinfo.samplerate * 1000;
|