Searched refs:psyOutChannel (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dstat_bits.h29 Word16 countStaticBitdemand(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
H A Dsf_estim.h36 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
40 EstimateScaleFactors(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
H A Dline_pe.h58 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
69 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
H A Dadj_thr.h43 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
H A Dqc_main.h47 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], /* may be modified in-place */
H A Dinterface.h86 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS]; member in struct:__anon316
H A Dpsy_main.h64 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dstat_bits.c179 Word16 countStaticBitdemand(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], argument
196 statBits += countTnsBits(&(psyOutChannel[0].tnsInfo),
197 psyOutChannel[0].windowSequence);
199 switch(psyOutChannel[0].windowSequence){
214 statBits += countMsMaskBits(psyOutChannel[0].sfbCnt,
215 psyOutChannel[0].sfbPerGroup,
216 psyOutChannel[0].maxSfbPerGroup,
219 switch (psyOutChannel[0].windowSequence) {
230 statBits += countTnsBits(&(psyOutChannel[ch].tnsInfo),
231 psyOutChannel[c
[all...]
H A Dqc_main.c258 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], /* may be modified in-place */
277 qcOutElement->staticBitsUsed = countStaticBitdemand(psyOutChannel,
293 CalcFormFactor(hQC->logSfbFormFactor, hQC->sfbNRelevantLines, hQC->logSfbEnergy, psyOutChannel, nChannels);
298 psyOutChannel,
309 EstimateScaleFactors(psyOutChannel,
333 QuantizeSpectrum(psyOutChannel[ch].sfbCnt,
334 psyOutChannel[ch].maxSfbPerGroup,
335 psyOutChannel[ch].sfbPerGroup,
336 psyOutChannel[ch].sfbOffsets,
337 psyOutChannel[c
255 QCMain(QC_STATE* hQC, ELEMENT_BITS* elBits, ATS_ELEMENT* adjThrStateElement, PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], PSY_OUT_ELEMENT* psyOutElement, QC_OUT_CHANNEL qcOutChannel[MAX_CHANNELS], QC_OUT_ELEMENT* qcOutElement, Word16 nChannels, Word16 ancillaryDataBytes) argument
[all...]
H A Dadj_thr.c71 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
77 PSY_OUT_CHANNEL *psyOutChan = &psyOutChannel[ch];
94 static void adaptMinSnr(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], argument
106 PSY_OUT_CHANNEL* psyOutChan = &psyOutChannel[ch];
165 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
175 PSY_OUT_CHANNEL *psyOutChan = &psyOutChannel[ch];
200 PSY_OUT_CHANNEL *psyOutChan = &psyOutChannel[ch];
260 PSY_OUT_CHANNEL *psyOutChanM = &psyOutChannel[0];
261 PSY_OUT_CHANNEL *psyOutChanS = &psyOutChannel[1];
300 PSY_OUT_CHANNEL *psyOutChan = &psyOutChannel[c
70 calcThreshExp(Word32 thrExp[MAX_CHANNELS][MAX_GROUPED_SFB], PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], const Word16 nChannels) argument
164 initAvoidHoleFlag(Word16 ahFlag[MAX_CHANNELS][MAX_GROUPED_SFB], PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], PSY_OUT_ELEMENT* psyOutElement, const Word16 nChannels, AH_PARAM *ahParam) argument
327 calcPeNoAH(Word16 *pe, Word16 *constPart, Word16 *nActiveLines, PE_DATA *peData, Word16 ahFlag[MAX_CHANNELS][MAX_GROUPED_SFB], PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], const Word16 nChannels) argument
367 reduceThresholds(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], Word16 ahFlag[MAX_CHANNELS][MAX_GROUPED_SFB], Word32 thrExp[MAX_CHANNELS][MAX_GROUPED_SFB], const Word16 nChannels, const Word32 redVal) argument
414 correctThresh(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], Word16 ahFlag[MAX_CHANNELS][MAX_GROUPED_SFB], PE_DATA *peData, Word32 thrExp[MAX_CHANNELS][MAX_GROUPED_SFB], const Word32 redVal, const Word16 nChannels, const Word32 deltaPe) argument
528 reduceMinSnr(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], PE_DATA *peData, Word16 ahFlag[MAX_CHANNELS][MAX_GROUPED_SFB], const Word16 nChannels, const Word16 desiredPe) argument
578 allowMoreHoles(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], PSY_OUT_ELEMENT *psyOutElement, PE_DATA *peData, Word16 ahFlag[MAX_CHANNELS][MAX_GROUPED_SFB], const AH_PARAM *ahParam, const Word16 nChannels, const Word16 desiredPe) argument
733 adaptThresholdsToPe(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], PSY_OUT_ELEMENT *psyOutElement, Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], PE_DATA *peData, const Word16 nChannels, const Word16 desiredPe, AH_PARAM *ahParam, MINSNR_ADAPT_PARAM *msaParam) argument
1124 AdjustThresholds(ADJ_THR_STATE *adjThrState, ATS_ELEMENT *AdjThrStateElement, PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], PSY_OUT_ELEMENT *psyOutElement, Word16 *chBitDistribution, Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], Word16 sfbNRelevantLines[MAX_CHANNELS][MAX_GROUPED_SFB], QC_OUT_ELEMENT *qcOE, ELEMENT_BITS *elBits, const Word16 nChannels, const Word16 maxBitFac) argument
[all...]
H A Dline_pe.c41 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
51 PSY_OUT_CHANNEL *psyOutChan = &psyOutChannel[ch];
72 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
85 PSY_OUT_CHANNEL *psyOutChan = &psyOutChannel[ch];
40 prepareSfbPe(PE_DATA *peData, PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], Word16 sfbNRelevantLines[MAX_CHANNELS][MAX_GROUPED_SFB], const Word16 nChannels, const Word16 peOffset) argument
71 calcSfbPe(PE_DATA *peData, PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], const Word16 nChannels) argument
H A Dbitenc.c628 sfbOffset[0] = psyOut->psyOutChannel[elInfo.ChannelIndex[0]].sfbOffsets;
629 tnsInfo[0] = psyOut->psyOutChannel[elInfo.ChannelIndex[0]].tnsInfo;
644 psyOut->psyOutChannel[elInfo.ChannelIndex[0]].sfbOffsets;
646 psyOut->psyOutChannel[elInfo.ChannelIndex[1]].sfbOffsets;
649 psyOut->psyOutChannel[elInfo.ChannelIndex[0]].tnsInfo;
651 psyOut->psyOutChannel[elInfo.ChannelIndex[1]].tnsInfo;
H A Daacenc_core.c169 &aacEnc->psyOut.psyOutChannel[elInfo->ChannelIndex[0]],
183 &aacEnc->psyOut.psyOutChannel[elInfo->ChannelIndex[0]],
H A Dpsy_main.c52 PSY_OUT_CHANNEL* psyOutChannel,
63 PSY_OUT_CHANNEL* psyOutChannel,
253 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
316 &psyOutChannel[ch],
341 &psyOutChannel[ch],
444 &psyOutChannel[ch]);
461 &psyOutChannel[ch]);
477 PSY_OUT_CHANNEL* psyOutChannel,
522 TnsEncode(&psyOutChannel->tnsInfo,
656 PSY_OUT_CHANNEL* psyOutChannel,
246 psyMain(Word16 nChannels, ELEMENT_INFO *elemInfo, Word16 *timeSignal, PSY_DATA psyData[MAX_CHANNELS], TNS_DATA tnsData[MAX_CHANNELS], PSY_CONFIGURATION_LONG *hPsyConfLong, PSY_CONFIGURATION_SHORT *hPsyConfShort, PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], PSY_OUT_ELEMENT *psyOutElement, Word32 *pScratchTns, Word32 sampleRate) argument
474 advancePsychLong(PSY_DATA* psyData, TNS_DATA* tnsData, PSY_CONFIGURATION_LONG *hPsyConfLong, PSY_OUT_CHANNEL* psyOutChannel, Word32 *pScratchTns, const TNS_DATA* tnsData2, const Word16 ch) argument
653 advancePsychShort(PSY_DATA* psyData, TNS_DATA* tnsData, const PSY_CONFIGURATION_SHORT *hPsyConfShort, PSY_OUT_CHANNEL* psyOutChannel, Word32 *pScratchTns, const TNS_DATA *tnsData2, const Word16 ch) argument
[all...]
H A Dsf_estim.c847 PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
853 CalcFormFactorChannel(logSfbFormFactor[j], sfbNRelevantLines[j], logSfbEnergy[j], &psyOutChannel[j]);
864 EstimateScaleFactors(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], argument
874 EstimateScaleFactorsChannel(&psyOutChannel[j],
844 CalcFormFactor(Word16 logSfbFormFactor[MAX_CHANNELS][MAX_GROUPED_SFB], Word16 sfbNRelevantLines[MAX_CHANNELS][MAX_GROUPED_SFB], Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS], const Word16 nChannels) argument

Completed in 55 milliseconds