Home
last modified time | relevance | path

Searched refs:hPsEncode (Results 1 – 4 of 4) sorted by relevance

/external/aac/libSBRenc/src/
Dps_encode.cpp719 void FDKsbrEnc_initPsBandNrgScale(HANDLE_PS_ENCODE hPsEncode) { in FDKsbrEnc_initPsBandNrgScale() argument
721 INT nIidGroups = hPsEncode->nQmfIidGroups + hPsEncode->nSubQmfIidGroups; in FDKsbrEnc_initPsBandNrgScale()
723 FDKmemclear(hPsEncode->psBandNrgScale, PS_MAX_BANDS * sizeof(SCHAR)); in FDKsbrEnc_initPsBandNrgScale()
727 bin = hPsEncode->subband2parameterIndex[group]; in FDKsbrEnc_initPsBandNrgScale()
730 if (hPsEncode->psEncMode == PS_BANDS_COARSE) { in FDKsbrEnc_initPsBandNrgScale()
734 hPsEncode->psBandNrgScale[bin] = in FDKsbrEnc_initPsBandNrgScale()
735 (hPsEncode->psBandNrgScale[bin] == 0) in FDKsbrEnc_initPsBandNrgScale()
736 ? (hPsEncode->iidGroupWidthLd[group] + 5) in FDKsbrEnc_initPsBandNrgScale()
737 : (fixMax(hPsEncode->iidGroupWidthLd[group], in FDKsbrEnc_initPsBandNrgScale()
738 hPsEncode->psBandNrgScale[bin]) + in FDKsbrEnc_initPsBandNrgScale()
[all …]
Dps_main.cpp132 (error = FDKsbrEnc_CreatePSEncode(&hParametricStereo->hPsEncode))) { in PSEnc_Create()
202 hParametricStereo->hPsEncode, (PS_BANDS)hPsEncConfig->nStereoBands, in PSEnc_Init()
253 FDKsbrEnc_DestroyPSEncode(&hParametricStereo->hPsEncode); in PSEnc_Destroy()
277 hParametricStereo->hPsEncode, &hParametricStereo->psOut[1], in ExtractPSParameters()
548 HANDLE_PS_ENCODE hPsEncode = hParametricStereo->hPsEncode; in psFindBestScaling() local
552 const INT psBands = (INT)hPsEncode->psEncMode; in psFindBestScaling()
553 const INT nIidGroups = hPsEncode->nQmfIidGroups + hPsEncode->nSubQmfIidGroups; in psFindBestScaling()
564 bin = hPsEncode->subband2parameterIndex[group]; in psFindBestScaling()
567 if (hPsEncode->psEncMode == PS_BANDS_COARSE) { in psFindBestScaling()
575 for (i = hPsEncode->iidGroupBorders[group]; in psFindBestScaling()
[all …]
Dps_encode.h173 FDK_PSENC_ERROR FDKsbrEnc_InitPSEncode(HANDLE_PS_ENCODE hPsEncode,
180 HANDLE_PS_ENCODE hPsEncode, HANDLE_PS_OUT hPsOut, UCHAR *dynBandScale,
Dps_main.h144 HANDLE_PS_ENCODE hPsEncode; member