Home
last modified time | relevance | path

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

12

/frameworks/base/media/libstagefright/codecs/aacenc/src/
Dadj_thr.c68 const Word16 nChannels) in calcThreshExp() argument
72 for (ch=0; ch<nChannels; ch++) { in calcThreshExp()
93 const Word16 nChannels) in adaptMinSnr() argument
101 for (ch=0; ch<nChannels; ch++) { in adaptMinSnr()
163 const Word16 nChannels, in initAvoidHoleFlag() argument
170 for (ch=0; ch<nChannels; ch++) { in initAvoidHoleFlag()
195 for(ch=0; ch<nChannels; ch++) { in initAvoidHoleFlag()
255 if (nChannels == 2) { in initAvoidHoleFlag()
295 for(ch=0; ch<nChannels; ch++) { in initAvoidHoleFlag()
329 const Word16 nChannels) in calcPeNoAH() argument
[all …]
Dqc_main.c121 Word16 QCOutNew(QC_OUT *hQC, Word16 nChannels, VO_MEM_OPERATOR *pMemOP) in QCOutNew() argument
128 …quantSpec = (Word16 *)mem_malloc(pMemOP, nChannels * FRAME_LEN_LONG * sizeof(Word16), 32, VO_INDEX… in QCOutNew()
131 …scf = (Word16 *)mem_malloc(pMemOP, nChannels * MAX_GROUPED_SFB * sizeof(Word16), 32, VO_INDEX_ENC_… in QCOutNew()
136 …maxValueInSfb = (UWord16 *)mem_malloc(pMemOP, nChannels * MAX_GROUPED_SFB * sizeof(UWord16), 32, V… in QCOutNew()
142 for (i=0; i<nChannels; i++) { in QCOutNew()
224 hQC->nChannels = init->elInfo->nChannelsInEl; in QCInit()
264 Word16 nChannels, in QCMain() argument
281 nChannels, in QCMain()
295 …Factor(hQC->logSfbFormFactor, hQC->sfbNRelevantLines, hQC->logSfbEnergy, psyOutChannel, nChannels); in QCMain()
307 nChannels, in QCMain()
[all …]
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()
Dblock_switch.c76 const Word32 bitRate, const Word16 nChannels) in InitBlockSwitching() argument
80 if ((sub(nChannels,1)==0 && L_sub(bitRate, 24000) > 0) || in InitBlockSwitching()
81 (sub(nChannels,1)>0 && bitRate > (nChannels * 16000))) { in InitBlockSwitching()
374 const Word16 nChannels) in SyncBlockSwitching() argument
380 if (nChannels == 1) { /* Mono */ in SyncBlockSwitching()
Dchannel_map.c64 Word16 InitElementInfo (Word16 nChannels, ELEMENT_INFO* elInfo) in InitElementInfo() argument
69 switch(nChannels) { in InitElementInfo()
/frameworks/base/include/media/stagefright/openmax/
DOMX_Audio.h180 OMX_U32 nChannels; /**< Number of channels (e.g. 2 for stereo) */ member
225 OMX_U32 nChannels; /**< Number of channels */ member
295 OMX_U32 nChannels; /**< Number of channels */ member
318 OMX_U32 nChannels; /**< Number of channels */ member
371 OMX_U16 nChannels; /**< Number of channels */ member
404 OMX_U32 nChannels; /**< Number of channels */ member
430 OMX_U32 nChannels; /**< Number of channels */ member
449 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
474 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
502 OMX_U32 nChannels; /**< Number of channels in the data stream (not member
[all …]
/frameworks/base/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 LOGV("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.cpp51 AudioShelvingFilter::AudioShelvingFilter(ShelfType type, int nChannels, in AudioShelvingFilter() argument
54 mBiquad(nChannels, sampleRate) { in AudioShelvingFilter()
55 configure(nChannels, sampleRate); in AudioShelvingFilter()
58 void AudioShelvingFilter::configure(int nChannels, int sampleRate) { in configure() argument
61 mBiquad.configure(nChannels, sampleRate); in configure()
DAudioPeakingFilter.cpp46 AudioPeakingFilter::AudioPeakingFilter(int nChannels, int sampleRate) in AudioPeakingFilter() argument
47 : mBiquad(nChannels, sampleRate) { in AudioPeakingFilter()
48 configure(nChannels, sampleRate); in AudioPeakingFilter()
52 void AudioPeakingFilter::configure(int nChannels, int sampleRate) { in configure() argument
55 mBiquad.configure(nChannels, sampleRate); in configure()
DAudioEqualizer.h80 int nChannels,
89 void configure(int nChannels, int sampleRate);
240 AudioEqualizer(void * pMem, int nBands, int nChannels, int sampleRate,
DAudioBiquadFilter.cpp30 AudioBiquadFilter::AudioBiquadFilter(int nChannels, int sampleRate) { in AudioBiquadFilter() argument
31 configure(nChannels, sampleRate); in AudioBiquadFilter()
35 void AudioBiquadFilter::configure(int nChannels, int sampleRate) { in configure() argument
36 assert(nChannels > 0 && nChannels <= MAX_CHANNELS); in configure()
38 mNumChannels = nChannels; in configure()
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/base/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,
Dstat_bits.h31 Word16 nChannels,
Dchannel_map.h29 Word16 InitElementInfo (Word16 nChannels, ELEMENT_INFO* elInfo);
Dbitenc.h33 Word16 nChannels; member
/frameworks/base/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/base/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp124 pcmParams->nChannels = mNumChannels; in internalGetParameter()
147 if (pcmParams->nChannels < 1 || pcmParams->nChannels > 2) { in internalSetParameter()
151 mNumChannels = pcmParams->nChannels; in internalSetParameter()
/frameworks/base/media/libstagefright/codecs/aacdec/
DSoftAAC.cpp147 aacParams->nChannels = 1; in internalGetParameter()
151 aacParams->nChannels = mConfig->encodedChannels; in internalGetParameter()
177 pcmParams->nChannels = 1; in internalGetParameter()
180 pcmParams->nChannels = mConfig->desiredChannels; in internalGetParameter()
/frameworks/base/media/libstagefright/codecs/common/include/
DvoAAC.h47 short nChannels; /*! number of channels on input (1,2) */ member

12