Lines Matching refs:elInfo
218 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) {
225 elInfo->elType=elType;
226 elInfo->relativeBits = relBits;
228 switch(elInfo->elType) {
230 elInfo->nChannelsInEl=1;
231 elInfo->ChannelIndex[0]=assign[counter++];
232 elInfo->instanceTag=it_cnt[elType]++;
236 elInfo->nChannelsInEl=2;
237 elInfo->ChannelIndex[0]=assign[counter++];
238 elInfo->ChannelIndex[1]=assign[counter++];
239 elInfo->instanceTag=it_cnt[elType]++;
242 elInfo->nChannelsInEl=0;
243 elInfo->ChannelIndex[0]=0;
244 elInfo->ChannelIndex[1]=0;
245 elInfo->instanceTag=it_cnt[elType]++;
282 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, (FIXP_DBL)MAXVAL_DBL);
286 FDKaacEnc_initElement(&cm->elInfo[0], ID_CPE, &count, mode, co, it_cnt, (FIXP_DBL)MAXVAL_DBL);
291 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.4f));
292 FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.6f));
297 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.3f));
298 FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.4f));
299 FDKaacEnc_initElement(&cm->elInfo[2], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.3f));
304 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.26f));
305 FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.37f));
306 FDKaacEnc_initElement(&cm->elInfo[2], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.37f));
311 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.24f));
312 FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.35f));
313 FDKaacEnc_initElement(&cm->elInfo[2], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.35f));
314 FDKaacEnc_initElement(&cm->elInfo[3], ID_LFE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.06f));
319 FDKaacEnc_initElement(&cm->elInfo[0], ID_SCE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.18f));
320 FDKaacEnc_initElement(&cm->elInfo[1], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.26f));
321 FDKaacEnc_initElement(&cm->elInfo[2], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.26f));
322 FDKaacEnc_initElement(&cm->elInfo[3], ID_CPE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.26f));
323 FDKaacEnc_initElement(&cm->elInfo[4], ID_LFE, &count, mode, co, it_cnt, FL2FXCONST_DBL(0.04f));
352 hQC->elementBits[0]->relativeBitsEl = cm->elInfo[0].relativeBits;
360 hQC->elementBits[0]->relativeBitsEl = cm->elInfo[0].relativeBits;
363 hQC->elementBits[0]->relativeBitsEl = cm->elInfo[0].relativeBits;
364 hQC->elementBits[1]->relativeBitsEl = cm->elInfo[1].relativeBits;
365 FIXP_DBL sceRate = cm->elInfo[0].relativeBits;
366 FIXP_DBL cpeRate = cm->elInfo[1].relativeBits;
377 hQC->elementBits[0]->relativeBitsEl = cm->elInfo[0].relativeBits;
378 hQC->elementBits[1]->relativeBitsEl = cm->elInfo[1].relativeBits;
379 hQC->elementBits[2]->relativeBitsEl = cm->elInfo[2].relativeBits;
380 FIXP_DBL sce1Rate = cm->elInfo[0].relativeBits;
381 FIXP_DBL cpeRate = cm->elInfo[1].relativeBits;
382 FIXP_DBL sce2Rate = cm->elInfo[2].relativeBits;
395 hQC->elementBits[0]->relativeBitsEl = cm->elInfo[0].relativeBits;
396 elInfo[1].relativeBits;
397 hQC->elementBits[2]->relativeBitsEl = cm->elInfo[2].relativeBits;
398 FIXP_DBL sceRate = cm->elInfo[0].relativeBits;
399 FIXP_DBL cpe1Rate = cm->elInfo[1].relativeBits;
400 FIXP_DBL cpe2Rate = cm->elInfo[2].relativeBits;
414 hQC->elementBits[0]->relativeBitsEl = cm->elInfo[0].relativeBits;
415 hQC->elementBits[1]->relativeBitsEl = cm->elInfo[1].relativeBits;
416 hQC->elementBits[2]->relativeBitsEl = cm->elInfo[2].relativeBits;
417 hQC->elementBits[3]->relativeBitsEl = cm->elInfo[3].relativeBits;
418 FIXP_DBL sceRate = cm->elInfo[0].relativeBits;
419 FIXP_DBL cpe1Rate = cm->elInfo[1].relativeBits;
420 FIXP_DBL cpe2Rate = cm->elInfo[2].relativeBits;
421 FIXP_DBL lfeRate = cm->elInfo[3].relativeBits;
448 hQC->elementBits[0]->relativeBitsEl = cm->elInfo[0].relativeBits;
449 hQC->elementBits[1]->relativeBitsEl = cm->elInfo[1].relativeBits;
450 hQC->elementBits[2]->relativeBitsEl = cm->elInfo[2].relativeBits;
451 hQC->elementBits[3]->relativeBitsEl = cm->elInfo[3].relativeBits;
452 hQC->elementBits[4]->relativeBitsEl = cm->elInfo[4].relativeBits;
453 FIXP_DBL sceRate = cm->elInfo[0].relativeBits;
454 FIXP_DBL cpe1Rate = cm->elInfo[1].relativeBits;
455 FIXP_DBL cpe2Rate = cm->elInfo[2].relativeBits;
456 FIXP_DBL cpe3Rate = cm->elInfo[3].relativeBits;
457 FIXP_DBL lfeRate = cm->elInfo[4].relativeBits;