Searched refs:hGainDec (Results 1 – 9 of 9) sorted by relevance
/external/aac/libDRCdec/src/ |
D | drcDec_gainDecoder.cpp | 132 static void _setChannelGains(HANDLE_DRC_GAIN_DECODER hGainDec, in _setChannelGains() argument 140 hGainDec->channelGain[i] = (FIXP_DBL)0; in _setChannelGains() 144 (hGainDec->loudnessNormalisationGainDb >> 2); in _setChannelGains() 148 hGainDec->channelGain[i] = scaleValue(channelGain, channelGain_e - 8); in _setChannelGains() 159 DRC_GAIN_DECODER* hGainDec = NULL; in drcDec_GainDecoder_Open() local 161 hGainDec = (DRC_GAIN_DECODER*)FDKcalloc(1, sizeof(DRC_GAIN_DECODER)); in drcDec_GainDecoder_Open() 162 if (hGainDec == NULL) return DE_MEMORY_ERROR; in drcDec_GainDecoder_Open() 164 hGainDec->multiBandActiveDrcIndex = -1; in drcDec_GainDecoder_Open() 165 hGainDec->channelGainActiveDrcIndex = -1; in drcDec_GainDecoder_Open() 167 *phGainDec = hGainDec; in drcDec_GainDecoder_Open() [all …]
|
D | drcGainDec_init.cpp | 109 HANDLE_DRC_GAIN_DECODER hGainDec, HANDLE_UNI_DRC_CONFIG hUniDrcConfig, in _generateDrcInstructionsDerivedData() argument 187 initGainDec(HANDLE_DRC_GAIN_DECODER hGainDec) { in initGainDec() argument 191 if (hGainDec->deltaTminDefault > hGainDec->frameSize) return DE_NOT_OK; in initGainDec() 196 hGainDec->activeDrc[i].lnbIndexForChannel[j][0] = 0; in initGainDec() 198 hGainDec->activeDrc[i].lnbIndexForChannel[j][k] = -1; in initGainDec() 204 hGainDec->channelGain[j] = FL2FXCONST_DBL(1.0f / (float)(1 << 8)); in initGainDec() 208 hGainDec->dummySubbandGains[i] = FL2FXCONST_DBL(1.0f / (float)(1 << 7)); in initGainDec() 211 hGainDec->status = 0; /* startup */ in initGainDec() 256 initActiveDrc(HANDLE_DRC_GAIN_DECODER hGainDec, in initActiveDrc() argument 276 if (pCoef->drcFrameSize != hGainDec->frameSize) { in initActiveDrc() [all …]
|
D | drcGainDec_process.cpp | 251 processDrcTime(HANDLE_DRC_GAIN_DECODER hGainDec, const int activeDrcIndex, in processDrcTime() argument 257 ACTIVE_DRC* pActiveDrc = &(hGainDec->activeDrc[activeDrcIndex]); in processDrcTime() 258 DRC_GAIN_BUFFERS* pDrcGainBuffers = &(hGainDec->drcGainBuffers); in processDrcTime() 264 if (hGainDec->delayMode == DM_REGULAR_DELAY) { in processDrcTime() 265 offset = hGainDec->frameSize; in processDrcTime() 270 hGainDec->frameSize) /* if delaySamples is too big, NUM_LNB_FRAMES in processDrcTime() 283 if (activeDrcIndex == hGainDec->channelGainActiveDrcIndex) in processDrcTime() 284 pDrcGainBuffers->channelGain[c][lnbPointer] = hGainDec->channelGain[c]; in processDrcTime() 296 if (activeDrcIndex == hGainDec->channelGainActiveDrcIndex) in processDrcTime() 313 nodePrevious.time -= hGainDec->frameSize; in processDrcTime() [all …]
|
D | drcDec_gainDecoder.h | 200 drcDec_GainDecoder_Init(HANDLE_DRC_GAIN_DECODER hGainDec); 203 drcDec_GainDecoder_SetParam(HANDLE_DRC_GAIN_DECODER hGainDec, 209 HANDLE_DRC_GAIN_DECODER hGainDec, const DELAY_MODE delayMode, 214 drcDec_GainDecoder_Config(HANDLE_DRC_GAIN_DECODER hGainDec, 228 drcDec_GainDecoder_Preprocess(HANDLE_DRC_GAIN_DECODER hGainDec, 237 HANDLE_DRC_GAIN_DECODER hGainDec, const int delaySamples, 244 HANDLE_DRC_GAIN_DECODER hGainDec, const int delaySamples, 251 drcDec_GainDecoder_Conceal(HANDLE_DRC_GAIN_DECODER hGainDec, 257 HANDLE_DRC_GAIN_DECODER hGainDec, FIXP_DBL loudnessNormalizationGainDb); 259 int drcDec_GainDecoder_GetFrameSize(HANDLE_DRC_GAIN_DECODER hGainDec); [all …]
|
D | FDK_drcDecLib.cpp | 136 HANDLE_DRC_GAIN_DECODER hGainDec; member 206 drcDec_GainDecoder_Config(hDrcDec->hGainDec, &(hDrcDec->uniDrcConfig), in startSelectionProcess() 239 dErr = drcDec_GainDecoder_Open(&(hDrcDec->hGainDec)); in FDK_drcDec_Open() 309 hDrcDec->hGainDec, delayMode, timeDomainSupported, in FDK_drcDec_SetCodecMode() 343 dErr = drcDec_GainDecoder_SetParam(hDrcDec->hGainDec, GAIN_DEC_FRAME_SIZE, in FDK_drcDec_Init() 346 dErr = drcDec_GainDecoder_SetParam(hDrcDec->hGainDec, GAIN_DEC_SAMPLE_RATE, in FDK_drcDec_Init() 349 dErr = drcDec_GainDecoder_Init(hDrcDec->hGainDec); in FDK_drcDec_Init() 373 drcDec_GainDecoder_Close(&(hDrcDec->hGainDec)); in FDK_drcDec_Close() 400 hDrcDec->hGainDec, GAIN_DEC_SAMPLE_RATE, (int)requestValue); in FDK_drcDec_SetParam() 405 hDrcDec->hGainDec, GAIN_DEC_FRAME_SIZE, (int)requestValue); in FDK_drcDec_SetParam() [all …]
|
D | drcGainDec_init.h | 107 initGainDec(HANDLE_DRC_GAIN_DECODER hGainDec); 112 initActiveDrc(HANDLE_DRC_GAIN_DECODER hGainDec, 117 initActiveDrcOffset(HANDLE_DRC_GAIN_DECODER hGainDec);
|
D | drcGainDec_process.h | 107 processDrcTime(HANDLE_DRC_GAIN_DECODER hGainDec, const int activeDrcIndex, 113 processDrcSubband(HANDLE_DRC_GAIN_DECODER hGainDec, const int activeDrcIndex,
|
D | drcGainDec_preprocess.h | 107 prepareDrcGain(HANDLE_DRC_GAIN_DECODER hGainDec,
|
D | drcGainDec_preprocess.cpp | 641 prepareDrcGain(HANDLE_DRC_GAIN_DECODER hGainDec, in prepareDrcGain() argument 646 DRC_GAIN_BUFFERS* drcGainBuffers = &(hGainDec->drcGainBuffers); in prepareDrcGain() 649 ACTIVE_DRC* pActiveDrc = &(hGainDec->activeDrc[activeDrcIndex]); in prepareDrcGain()
|