/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | adj_thr.c | 72 const Word16 nChannels) in calcThreshExp() argument 76 for (ch=0; ch<nChannels; ch++) { in calcThreshExp() 97 const Word16 nChannels) in adaptMinSnr() argument 105 for (ch=0; ch<nChannels; ch++) { in adaptMinSnr() 167 const Word16 nChannels, in initAvoidHoleFlag() argument 174 for (ch=0; ch<nChannels; ch++) { in initAvoidHoleFlag() 199 for(ch=0; ch<nChannels; ch++) { in initAvoidHoleFlag() 259 if (nChannels == 2) { in initAvoidHoleFlag() 299 for(ch=0; ch<nChannels; ch++) { in initAvoidHoleFlag() 333 const Word16 nChannels) in calcPeNoAH() argument [all …]
|
D | qc_main.c | 122 Word16 QCOutNew(QC_OUT *hQC, Word16 nChannels, VO_MEM_OPERATOR *pMemOP) in QCOutNew() argument 129 …quantSpec = (Word16 *)mem_malloc(pMemOP, nChannels * FRAME_LEN_LONG * sizeof(Word16), 32, VO_INDEX… in QCOutNew() 132 …scf = (Word16 *)mem_malloc(pMemOP, nChannels * MAX_GROUPED_SFB * sizeof(Word16), 32, VO_INDEX_ENC_… in QCOutNew() 137 …maxValueInSfb = (UWord16 *)mem_malloc(pMemOP, nChannels * MAX_GROUPED_SFB * sizeof(UWord16), 32, V… in QCOutNew() 143 for (i=0; i<nChannels; i++) { in QCOutNew() 222 hQC->nChannels = init->elInfo->nChannelsInEl; in QCInit() 262 Word16 nChannels, in QCMain() argument 279 nChannels, in QCMain() 293 …Factor(hQC->logSfbFormFactor, hQC->sfbNRelevantLines, hQC->logSfbEnergy, psyOutChannel, nChannels); in QCMain() 305 nChannels, in QCMain() [all …]
|
D | block_switch.c | 73 const Word32 bitRate, const Word16 nChannels) in InitBlockSwitching() argument 77 if ((sub(nChannels,1)==0 && L_sub(bitRate, 24000) > 0) || in InitBlockSwitching() 78 (sub(nChannels,1)>0 && bitRate > (nChannels * 16000))) { in InitBlockSwitching() 347 const Word16 nChannels) in SyncBlockSwitching() argument 353 if (nChannels == 1) { /* Mono */ in SyncBlockSwitching()
|
D | line_pe.c | 44 const Word16 nChannels, in prepareSfbPe() argument 50 for(ch=0; ch<nChannels; ch++) { in prepareSfbPe() 73 const Word16 nChannels) in calcSfbPe() argument 84 for(ch=0; ch<nChannels; ch++) { in calcSfbPe()
|
D | channel_map.c | 64 Word16 InitElementInfo (Word16 nChannels, ELEMENT_INFO* elInfo) in InitElementInfo() argument 69 switch(nChannels) { in InitElementInfo()
|
/frameworks/native/include/media/openmax/ |
D | OMX_Audio.h | 180 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member 225 OMX_U32 nChannels; /**< Number of channels */ member 297 OMX_U32 nChannels; /**< Number of channels */ member 320 OMX_U32 nChannels; /**< Number of channels */ member 349 OMX_U32 nChannels; /**< Number of channels */ member 386 OMX_U16 nChannels; /**< Number of channels */ member 419 OMX_U32 nChannels; /**< Number of channels */ member 445 OMX_U32 nChannels; /**< Number of channels */ member 464 OMX_U32 nChannels; /**< Number of channels in the data stream (not member 489 OMX_U32 nChannels; /**< Number of channels in the data stream (not member [all …]
|
D | OMX_AudioExt.h | 57 OMX_U32 nChannels; /**< Number of channels */ member 66 OMX_U32 nChannels; /**< Number of channels */ member 75 OMX_U32 nChannels; /**< Number of channels */ member
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioEqualizer.cpp | 39 int nChannels, int sampleRate, in CreateInstance() argument 44 pMem, nBands, nChannels, sampleRate, nPresets); in CreateInstance() 54 return new (pMem) AudioEqualizer(pMem, nBands, nChannels, sampleRate, in CreateInstance() 58 void AudioEqualizer::configure(int nChannels, int sampleRate) { in configure() argument 59 ALOGV("AudioEqualizer::configure(nChannels=%d, sampleRate=%d)", nChannels, in configure() 61 mpLowShelf->configure(nChannels, sampleRate); in configure() 63 mpPeakingFilters[i].configure(nChannels, sampleRate); in configure() 65 mpHighShelf->configure(nChannels, sampleRate); in configure() 287 AudioEqualizer::AudioEqualizer(void * pMem, int nBands, int nChannels, in AudioEqualizer() argument 299 nChannels, sampleRate); in AudioEqualizer() [all …]
|
D | AudioShelvingFilter.cpp | 49 AudioShelvingFilter::AudioShelvingFilter(ShelfType type, int nChannels, in AudioShelvingFilter() argument 52 mBiquad(nChannels, sampleRate) { in AudioShelvingFilter() 53 configure(nChannels, sampleRate); in AudioShelvingFilter() 56 void AudioShelvingFilter::configure(int nChannels, int sampleRate) { in configure() argument 59 mBiquad.configure(nChannels, sampleRate); in configure()
|
D | AudioPeakingFilter.cpp | 44 AudioPeakingFilter::AudioPeakingFilter(int nChannels, int sampleRate) in AudioPeakingFilter() argument 45 : mBiquad(nChannels, sampleRate) { in AudioPeakingFilter() 46 configure(nChannels, sampleRate); in AudioPeakingFilter() 50 void AudioPeakingFilter::configure(int nChannels, int sampleRate) { in configure() argument 53 mBiquad.configure(nChannels, sampleRate); in configure()
|
D | AudioBiquadFilter.cpp | 28 AudioBiquadFilter::AudioBiquadFilter(int nChannels, int sampleRate) { in AudioBiquadFilter() argument 29 configure(nChannels, sampleRate); in AudioBiquadFilter() 33 void AudioBiquadFilter::configure(int nChannels, int sampleRate) { in configure() argument 34 assert(nChannels > 0 && nChannels <= MAX_CHANNELS); in configure() 36 mNumChannels = nChannels; in configure()
|
D | AudioEqualizer.h | 80 int nChannels, 89 void configure(int nChannels, int sampleRate); 240 AudioEqualizer(void * pMem, int nBands, int nChannels, int sampleRate,
|
D | AudioFormatAdapter.h | 59 void configure(T & processor, int nChannels, uint8_t pcmFormat, in configure() argument 62 mNumChannels = nChannels; in configure() 65 mMaxSamplesPerCall = bufSize / nChannels; in configure()
|
D | AudioShelvingFilter.h | 51 AudioShelvingFilter(ShelfType type, int nChannels, int sampleRate); 57 void configure(int nChannels, int sampleRate);
|
D | AudioPeakingFilter.h | 44 AudioPeakingFilter(int nChannels, int sampleRate); 50 void configure(int nChannels, int sampleRate);
|
D | AudioBiquadFilter.h | 45 AudioBiquadFilter(int nChannels, int sampleRate); 50 void configure(int nChannels, int sampleRate);
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
D | sf_estim.h | 37 const Word16 nChannels); 45 const Word16 nChannels);
|
D | line_pe.h | 61 const Word16 nChannels, 70 const Word16 nChannels);
|
D | qc_main.h | 32 Word16 QCOutNew(QC_OUT *hQC, Word16 nChannels, VO_MEM_OPERATOR *pMemOP); 51 Word16 nChannels,
|
/frameworks/av/media/libstagefright/ |
D | FLACExtractor.cpp | 125 void (*mCopy)(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels); 404 static void copyMultiCh8(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) in copyMultiCh8() argument 407 for (unsigned c = 0; c < nChannels; ++c) { in copyMultiCh8() 434 static void copyMultiCh16(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) in copyMultiCh16() argument 437 for (unsigned c = 0; c < nChannels; ++c) { in copyMultiCh16() 466 static void copyMultiCh24(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) in copyMultiCh24() argument 469 for (unsigned c = 0; c < nChannels; ++c) { in copyMultiCh24() 594 void (*mCopy)(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels); in init()
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
D | AAC_E_SAMPLES.c | 56 param->nChannels = 2; in parsecmdline() 90 param->nChannels = atoi(*argv); in parsecmdline() 118 param->bitRate = 640*param->nChannels*param->sampleRate/scale; in parsecmdline()
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 136 pcmParams->nChannels = mNumChannels; in internalGetParameter() 163 if (pcmParams->nChannels < 1 || pcmParams->nChannels > 2) { in internalSetParameter() 168 mNumChannels = pcmParams->nChannels; in internalSetParameter()
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
D | SoftFlacEncoder.cpp | 178 pcmParams->nChannels = mNumChannels; in internalGetParameter() 193 flacParams->nChannels = mNumChannels; in internalGetParameter() 220 if (pcmParams->nChannels < 1 || pcmParams->nChannels > 2) { in internalSetParameter() 224 mNumChannels = pcmParams->nChannels; in internalSetParameter()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
D | SoftAMRNBEncoder.cpp | 155 amrParams->nChannels = 1; in internalGetParameter() 184 pcmParams->nChannels = 1; in internalGetParameter() 256 if (amrParams->nChannels != 1 in internalSetParameter() 287 if (pcmParams->nChannels != 1 in internalSetParameter()
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | SoftAACEncoder2.cpp | 176 aacParams->nChannels = mNumChannels; in internalGetParameter() 239 pcmParams->nChannels = mNumChannels; in internalGetParameter() 335 mNumChannels = aacParams->nChannels; in internalSetParameter() 378 mNumChannels = pcmParams->nChannels; in internalSetParameter() 392 static CHANNEL_MODE getChannelMode(OMX_U32 nChannels) { in getChannelMode() argument 394 switch (nChannels) { in getChannelMode()
|