Lines Matching refs:psBands

288                              INT psBands,  in envelopeReducible()  argument
303 …Div2 ( FL2FXCONST_DBL(6.5f*6.5f/(IID_SCALE_FT*IID_SCALE_FT)), (FIXP_DBL)(psBands<<((DFRACT_BITS)-T… in envelopeReducible()
304 …Div2 ( FL2FXCONST_DBL(0.75f*0.75f), (FIXP_DBL)(psBands<<((DFRACT_BITS)-T… in envelopeReducible()
313 for(b=0; b<psBands; b++) { in envelopeReducible()
338 const INT psBands, in processIidData() argument
361 errIID += quantizeCoef(iid[env], psBands, iidQuant_fx, 7, 15, iidIdxCoarse[env]); in processIidData()
362 errIIDFine += quantizeCoef(iid[env], psBands, iidQuantFine_fx, 15, 31, iidIdxFine[env]); in processIidData()
373 for(band=0;band<psBands;band++) { in processIidData()
388 FDKmemclear(psData->iidIdx[env], sizeof(INT)*psBands); in processIidData()
394 …bitsIidFreq = FDKsbrEnc_EncodeIid(NULL, iidIdxCoarse[0], NULL, psBands, PS_IID_RES_COARSE, PS_DELT… in processIidData()
400 …bitsIidTime = FDKsbrEnc_EncodeIid(NULL, iidIdxCoarse[0], psData->iidIdxLast, psBands, PS_IID_R… in processIidData()
415 …bitsIidFreq = FDKsbrEnc_EncodeIid(NULL, iidIdxCoarse[env], NULL, psBands, PS_IID_R… in processIidData()
416 …bitsIidTime = FDKsbrEnc_EncodeIid(NULL, iidIdxCoarse[env], iidIdxCoarse[env-1], psBands, PS_IID_R… in processIidData()
431 …bitsIidFreq = FDKsbrEnc_EncodeIid(NULL, iidIdxFine[0], NULL, psBands, PS_IID_RES_FINE, PS_DELT… in processIidData()
437 …bitsIidTime = FDKsbrEnc_EncodeIid(NULL, iidIdxFine[0], psData->iidIdxLast, psBands, PS_IID_RES_FI… in processIidData()
452 …bitsIidFreq = FDKsbrEnc_EncodeIid(NULL, iidIdxFine[env], NULL, psBands, PS_IID_RES_… in processIidData()
453 …bitsIidTime = FDKsbrEnc_EncodeIid(NULL, iidIdxFine[env], iidIdxFine[env-1], psBands, PS_IID_RES_… in processIidData()
475 const FIXP_DBL minThreshold = (FIXP_DBL)((LONG)0x00019999 * (psBands*nEnvelopes)); in processIidData()
493 FDKmemcpy(psData->iidIdx[env], iidIdxFine[env], psBands*sizeof(INT)); in processIidData()
500 FDKmemcpy(psData->iidIdx[env], iidIdxCoarse[env], psBands*sizeof(INT)); in processIidData()
515 const INT psBands, in similarIid() argument
519 const INT sumDiffThr = diffThr * psBands/4; in similarIid()
538 } while ((b<psBands) && (similar>0)); in similarIid()
547 const INT psBands, in similarIcc() argument
551 const INT sumDiffThr = diffThr * psBands/4; in similarIcc()
570 } while ((b<psBands) && (similar>0)); in similarIcc()
579 const INT psBands, in processIccData() argument
593 errICC += quantizeCoef(icc[env], psBands, iccQuant, 0, 8, psData->iccIdx[env]); in processIccData()
599 for(band=0;band<psBands;band++) { in processIccData()
612 FDKmemclear(psData->iccIdx[env], sizeof(INT)*psBands); in processIccData()
618 …bitsIccFreq = FDKsbrEnc_EncodeIcc(NULL, psData->iccIdx[env], NULL, psBands, PS_DELTA_FREQ… in processIccData()
621 …bitsIccTime = FDKsbrEnc_EncodeIcc(NULL, psData->iccIdx[env], iccIdxLast, psBands, PS_DELTA_TIME, … in processIccData()
643 INT psBands) in calculateIID() argument
648 for (i=0; i<psBands; i++) { in calculateIID()
667 INT psBands) in calculateICC() argument
671 INT border = psBands; in calculateICC()
673 switch (psBands) { in calculateICC()
697 for (; i<psBands; i++) { in calculateICC()
859 int psBands = (int) hPsEncode->psEncMode; in FDKsbrEnc_PSEncode() local
872 for (band=0; band<psBands; band++) { in FDKsbrEnc_PSEncode()
920 LdDataVector(pwrData->pwrL[env], pwrData->ldPwrL[env], psBands); in FDKsbrEnc_PSEncode()
921 LdDataVector(pwrData->pwrR[env], pwrData->ldPwrR[env], psBands); in FDKsbrEnc_PSEncode()
926 calculateIID(pwrData->ldPwrL, pwrData->ldPwrR, iid, nEnvelopes, psBands); in FDKsbrEnc_PSEncode()
927 …ateICC(pwrData->ldPwrL, pwrData->ldPwrR, pwrData->pwrCr, pwrData->pwrCi, icc, nEnvelopes, psBands); in FDKsbrEnc_PSEncode()
930 while (envelopeReducible(iid,icc,psBands,nEnvelopes)) { in FDKsbrEnc_PSEncode()
935 FDKsbrEnc_addFIXP_DBL(pwrData->pwrL[2*e], pwrData->pwrL[2*e+1], pwrData->pwrL[e], psBands); in FDKsbrEnc_PSEncode()
936 FDKsbrEnc_addFIXP_DBL(pwrData->pwrR[2*e], pwrData->pwrR[2*e+1], pwrData->pwrR[e], psBands); in FDKsbrEnc_PSEncode()
937 FDKsbrEnc_addFIXP_DBL(pwrData->pwrCr[2*e],pwrData->pwrCr[2*e+1],pwrData->pwrCr[e],psBands); in FDKsbrEnc_PSEncode()
938 FDKsbrEnc_addFIXP_DBL(pwrData->pwrCi[2*e],pwrData->pwrCi[2*e+1],pwrData->pwrCi[e],psBands); in FDKsbrEnc_PSEncode()
941 LdDataVector(pwrData->pwrL[e], pwrData->ldPwrL[e], psBands); in FDKsbrEnc_PSEncode()
942 LdDataVector(pwrData->pwrR[e], pwrData->ldPwrR[e], psBands); in FDKsbrEnc_PSEncode()
950 calculateIID(pwrData->ldPwrL, pwrData->ldPwrR, iid, nEnvelopes, psBands); in FDKsbrEnc_PSEncode()
951 …ateICC(pwrData->ldPwrL, pwrData->ldPwrR, pwrData->pwrCr, pwrData->pwrCi, icc, nEnvelopes, psBands); in FDKsbrEnc_PSEncode()
964 processIidData(hPsData, iid, psBands, nEnvelopes, hPsEncode->iidQuantErrorThreshold); in FDKsbrEnc_PSEncode()
965 processIccData(hPsData, icc, psBands, nEnvelopes); in FDKsbrEnc_PSEncode()
983 && (similarIid(hPsData, psBands, nEnvelopes)) in FDKsbrEnc_PSEncode()
984 && (similarIcc(hPsData, psBands, nEnvelopes)) ) { in FDKsbrEnc_PSEncode()
995 hPsOut->iidMode = getIIDMode(psBands, hPsData->iidQuantMode); in FDKsbrEnc_PSEncode()
998 hPsOut->iccMode = getICCMode(psBands, hPsData->iccQuantMode); in FDKsbrEnc_PSEncode()
1011 for(band=0; band<psBands; band++) { in FDKsbrEnc_PSEncode()
1018 for(band=0; band<psBands; band++) { in FDKsbrEnc_PSEncode()
1044 for (i=0; i<psBands; i++) { in FDKsbrEnc_PSEncode()