Lines Matching refs:hGainDec
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()
282 hGainDec, hUniDrcConfig, pInst, pCoef, in initActiveDrc()
283 &(hGainDec->activeDrc[hGainDec->nActiveDrcs])); in initActiveDrc()
287 hGainDec->activeDrc[hGainDec->nActiveDrcs].pInst = pInst; in initActiveDrc()
288 hGainDec->activeDrc[hGainDec->nActiveDrcs].pCoef = pCoef; in initActiveDrc()
291 if (hGainDec->activeDrc[hGainDec->nActiveDrcs].bandCountForChannelGroup[g] > in initActiveDrc()
293 if (hGainDec->multiBandActiveDrcIndex != -1) { in initActiveDrc()
302 hGainDec->multiBandActiveDrcIndex = hGainDec->nActiveDrcs; in initActiveDrc()
305 if ((hGainDec->channelGainActiveDrcIndex == -1) && in initActiveDrc()
309 hGainDec->channelGainActiveDrcIndex = hGainDec->nActiveDrcs; in initActiveDrc()
312 hGainDec->nActiveDrcs++; in initActiveDrc()
313 if (hGainDec->nActiveDrcs > MAX_ACTIVE_DRCS) return DE_NOT_OK; in initActiveDrc()
319 initActiveDrcOffset(HANDLE_DRC_GAIN_DECODER hGainDec) { in initActiveDrcOffset() argument
323 for (a = 0; a < hGainDec->nActiveDrcs; a++) { in initActiveDrcOffset()
324 hGainDec->activeDrc[a].activeDrcOffset = accGainElementCount; in initActiveDrcOffset()
325 accGainElementCount += hGainDec->activeDrc[a].gainElementCount; in initActiveDrcOffset()
327 hGainDec->nActiveDrcs = a; in initActiveDrcOffset()