Home
last modified time | relevance | path

Searched refs:nChannels (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dadj_thr.c72 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 …]
Dqc_main.c122 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 …]
Dblock_switch.c73 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()
Dline_pe.c44 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()
Dchannel_map.c64 Word16 InitElementInfo (Word16 nChannels, ELEMENT_INFO* elInfo) in InitElementInfo() argument
69 switch(nChannels) { in InitElementInfo()
/frameworks/native/include/media/openmax/
DOMX_Audio.h180 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 …]
DOMX_AudioExt.h57 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/
DAudioEqualizer.cpp39 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 …]
DAudioShelvingFilter.cpp49 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()
DAudioPeakingFilter.cpp44 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()
DAudioBiquadFilter.cpp28 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()
DAudioEqualizer.h80 int nChannels,
89 void configure(int nChannels, int sampleRate);
240 AudioEqualizer(void * pMem, int nBands, int nChannels, int sampleRate,
DAudioFormatAdapter.h59 void configure(T & processor, int nChannels, uint8_t pcmFormat, in configure() argument
62 mNumChannels = nChannels; in configure()
65 mMaxSamplesPerCall = bufSize / nChannels; in configure()
DAudioShelvingFilter.h51 AudioShelvingFilter(ShelfType type, int nChannels, int sampleRate);
57 void configure(int nChannels, int sampleRate);
DAudioPeakingFilter.h44 AudioPeakingFilter(int nChannels, int sampleRate);
50 void configure(int nChannels, int sampleRate);
DAudioBiquadFilter.h45 AudioBiquadFilter(int nChannels, int sampleRate);
50 void configure(int nChannels, int sampleRate);
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dsf_estim.h37 const Word16 nChannels);
45 const Word16 nChannels);
Dline_pe.h61 const Word16 nChannels,
70 const Word16 nChannels);
Dqc_main.h32 Word16 QCOutNew(QC_OUT *hQC, Word16 nChannels, VO_MEM_OPERATOR *pMemOP);
51 Word16 nChannels,
/frameworks/av/media/libstagefright/
DFLACExtractor.cpp125 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/
DAAC_E_SAMPLES.c56 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/
DSoftG711.cpp136 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/
DSoftFlacEncoder.cpp178 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/
DSoftAMRNBEncoder.cpp155 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/
DSoftAACEncoder2.cpp176 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()

123