/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
channel_map.c | 30 static Word16 initElement(ELEMENT_INFO* elInfo, ELEMENT_TYPE elType) 34 elInfo->elType=elType; 36 switch(elInfo->elType) { 39 elInfo->nChannelsInEl=1; 41 elInfo->ChannelIndex[0]=0; 43 elInfo->instanceTag=0; 48 elInfo->nChannelsInEl=2; 50 elInfo->ChannelIndex[0]=0; 51 elInfo->ChannelIndex[1]=1; 53 elInfo->instanceTag=0 [all...] |
aacenc_core.c | 65 ELEMENT_INFO *elInfo = NULL; 77 &hAacEnc->elInfo); 81 elInfo = &hAacEnc->elInfo; 92 elInfo->nChannelsInEl, 107 qcInit.elInfo = &hAacEnc->elInfo; 109 qcInit.maxBits = (Word16) (MAXBITS_COEF*elInfo->nChannelsInEl); 118 qcInit.maxBitFac = (Word16) ((100 * (MAXBITS_COEF-MINBITS_COEF)* elInfo->nChannelsInEl)/ 128 hAacEnc->bseInit.nChannels = elInfo->nChannelsInEl [all...] |
bitenc.c | 576 ELEMENT_INFO elInfo, 599 WriteBits(hBitStream, elInfo.nChannelsInEl, 3); /* ch. config (must be > 0) */ 622 switch (elInfo.elType) { 625 sfbOffset[0] = psyOut->psyOutChannel[elInfo.ChannelIndex[0]].sfbOffsets; 626 tnsInfo[0] = psyOut->psyOutChannel[elInfo.ChannelIndex[0]].tnsInfo; 628 writeSingleChannelElement(elInfo.instanceTag, 630 &qcOut->qcChannel[elInfo.ChannelIndex[0]], 641 psyOut->psyOutChannel[elInfo.ChannelIndex[0]].sfbOffsets; 643 psyOut->psyOutChannel[elInfo.ChannelIndex[1]].sfbOffsets; 646 psyOut->psyOutChannel[elInfo.ChannelIndex[0]].tnsInfo [all...] |
qc_main.c | 224 hQC->nChannels = init->elInfo->nChannelsInEl; 236 *init->elInfo,
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
channel_map.h | 29 Word16 InitElementInfo (Word16 nChannels, ELEMENT_INFO* elInfo); 32 ELEMENT_INFO elInfo,
|
bitenc.h | 42 ELEMENT_INFO elInfo,
|
aacenc_core.h | 53 ELEMENT_INFO elInfo; /* Word16 size: 4 */
|
qc_data.h | 66 ELEMENT_INFO *elInfo;
|
/external/aac/libAACenc/src/ |
channel_map.cpp | 224 static INT FDKaacEnc_initElement (ELEMENT_INFO* elInfo, MP4_ELEMENT_ID elType, INT* cnt, CHANNEL_MODE mode, CHANNEL_ORDER co, INT* it_cnt, const FIXP_DBL relBits) { 231 elInfo->elType=elType; 232 elInfo->relativeBits = relBits; 234 switch(elInfo->elType) { 236 elInfo->nChannelsInEl=1; 237 elInfo->ChannelIndex[0]=assign[counter++]; 238 elInfo->instanceTag=it_cnt[elType]++; 242 elInfo->nChannelsInEl=2; 243 elInfo->ChannelIndex[0]=assign[counter++]; 244 elInfo->ChannelIndex[1]=assign[counter++] [all...] |
qc_main.cpp | 305 for (ch=0; ch<cm->elInfo[i].nChannelsInEl; ch++) { 447 AAC_ENCODER_ERROR FDKaacEnc_QCMainPrepare(ELEMENT_INFO *elInfo, 457 INT nChannels = elInfo->nChannelsInEl; 466 ErrorStatus = FDKaacEnc_ChannelElementWrite( NULL, elInfo, NULL, 523 if ((cm->elInfo[i].elType == ID_SCE) || (cm->elInfo[i].elType == ID_CPE) || 524 (cm->elInfo[i].elType == ID_LFE)) 584 ELEMENT_INFO elInfo = cm->elInfo[i]; 586 if ( (elInfo.elType == ID_SCE [all...] |
metadata_compressor.cpp | 509 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; 512 drcComp->channelIdx[L] = channelMapping.elInfo[0].ChannelIndex[0]; 513 drcComp->channelIdx[R] = channelMapping.elInfo[0].ChannelIndex[1]; 516 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; 517 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; 518 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; 521 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; 522 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; 523 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; 524 drcComp->channelIdx[S] = channelMapping.elInfo[2].ChannelIndex[0] [all...] |
qc_main.h | 121 ELEMENT_INFO *elInfo,
|
adj_thr.cpp | [all...] |
aacenc.cpp | 713 ELEMENT_INFO elInfo = cm->elInfo[el]; 715 if ( (elInfo.elType == ID_SCE) 716 || (elInfo.elType == ID_CPE) 717 || (elInfo.elType == ID_LFE) ) 722 for(ch=0;ch<elInfo.nChannelsInEl;ch++) { 735 FDKaacEnc_psyMain(elInfo.nChannelsInEl, 741 cm->elInfo[el].ChannelIndex, 747 ErrorStatus = FDKaacEnc_QCMainPrepare(&elInfo, [all...] |
qc_data.h | 130 ELEMENT_INFO elInfo[(8)];
|
aacenc_lib.cpp | 628 sbrElInfo[el].ChannelIndex[0] = channelMapping->elInfo[el].ChannelIndex[0]; 629 sbrElInfo[el].ChannelIndex[1] = channelMapping->elInfo[el].ChannelIndex[1]; 630 sbrElInfo[el].elType = channelMapping->elInfo[el].elType; 631 sbrElInfo[el].bitRate = (INT)(fMultNorm(channelMapping->elInfo[el].relativeBits, (FIXP_DBL)bitRate)); 632 sbrElInfo[el].instanceTag = channelMapping->elInfo[el].instanceTag; 633 sbrElInfo[el].nChannelsInEl = channelMapping->elInfo[el].nChannelsInEl; 714 if (cm.elInfo[e].elType != ID_SCE && cm.elInfo[e].elType != ID_CPE) { 718 sbrBitRateOut = sbrEncoder_LimitBitRate(sbrElementBitRateIn , cm.elInfo[e].nChannelsInEl, coreSamplingRate, aot); 728 adjustedBitrate = fMax(initialBitrate, (INT)fDivNorm((FIXP_DBL)(sbrBitRateOut+8), cm.elInfo[e].relativeBits)) [all...] |
bitenc.cpp | [all...] |
psy_main.cpp | 262 for (ch=0; ch<cm->elInfo[i].nChannelsInEl; ch++) { 263 if (cm->elInfo[i].elType!=ID_LFE) { 281 for (ch=0; ch<cm->elInfo[i].nChannelsInEl; ch++) { 378 for (ch=0; ch<cm->elInfo[i].nChannelsInEl; ch++) { 398 cm->elInfo[0].nChannelsInEl, 409 cm->elInfo[1].nChannelsInEl, [all...] |
/external/aac/libSBRenc/src/ |
sbr.h | 125 SBR_ELEMENT_INFO elInfo;
|
sbr_encoder.cpp | [all...] |
/external/aac/libSBRenc/include/ |
sbr_encoder.h | 308 * \param elInfo Structure that describes the element/channel arrangement. 309 * \param noElements Amount of elements described in elInfo. 327 SBR_ELEMENT_INFO elInfo[(8)],
|