• Home
  • Raw
  • Download

Lines Matching refs:hStaticGain

254     HANDLE_STATIC_GAIN hStaticGain,  in fdk_sacenc_staticGain_Init()  argument
258 if ((hStaticGain == NULL) || (hStaticGainConfig == NULL)) { in fdk_sacenc_staticGain_Init()
261 hStaticGain->encMode = hStaticGainConfig->encMode; in fdk_sacenc_staticGain_Init()
262 hStaticGain->fixedGainDMX = hStaticGainConfig->fixedGainDMX; in fdk_sacenc_staticGain_Init()
263 hStaticGain->preGainFactorDb = hStaticGainConfig->preGainFactorDb; in fdk_sacenc_staticGain_Init()
265 if ((hStaticGain->preGainFactorDb < -20) || in fdk_sacenc_staticGain_Init()
266 (hStaticGain->preGainFactorDb > 20)) { in fdk_sacenc_staticGain_Init()
273 if (hStaticGain->preGainFactorDb == 0) { in fdk_sacenc_staticGain_Init()
279 preGainFactorTable__FDK[hStaticGain->preGainFactorDb + 20]; in fdk_sacenc_staticGain_Init()
285 if (hStaticGain->fixedGainDMX == 0) in fdk_sacenc_staticGain_Init()
286 hStaticGain->PostGain__FDK = MAXVAL_GAIN; in fdk_sacenc_staticGain_Init()
288 hStaticGain->PostGain__FDK = in fdk_sacenc_staticGain_Init()
289 dmxGainTable__FDK[hStaticGain->fixedGainDMX - 1]; in fdk_sacenc_staticGain_Init()
292 hStaticGain->pPreGain__FDK, in fdk_sacenc_staticGain_Init()
293 sizeof(hStaticGain->pPreGain__FDK)); /* zero all input channels */ in fdk_sacenc_staticGain_Init()
296 if (hStaticGain->encMode == SACENC_212) { in fdk_sacenc_staticGain_Init()
297 hStaticGain->pPreGain__FDK[0] = in fdk_sacenc_staticGain_Init()
299 hStaticGain->pPreGain__FDK[1] = in fdk_sacenc_staticGain_Init()
335 const HANDLE_STATIC_GAIN hStaticGain, INT_PCM *const pOutputSamples, in fdk_sacenc_staticPostGain_ApplyFDK() argument
339 if (NULL == hStaticGain) { in fdk_sacenc_staticPostGain_ApplyFDK()
343 FIXP_GAIN postGain = hStaticGain->PostGain__FDK; in fdk_sacenc_staticPostGain_ApplyFDK()
379 FIXP_GAIN *fdk_sacenc_getPreGainPtrFDK(HANDLE_STATIC_GAIN hStaticGain) { in fdk_sacenc_getPreGainPtrFDK() argument
380 return ((hStaticGain == NULL) ? NULL : hStaticGain->pPreGain__FDK); in fdk_sacenc_getPreGainPtrFDK()
383 FIXP_GAIN fdk_sacenc_getPostGainFDK(HANDLE_STATIC_GAIN hStaticGain) { in fdk_sacenc_getPostGainFDK() argument
384 return (hStaticGain->PostGain__FDK); in fdk_sacenc_getPostGainFDK()
389 const HANDLE_STATIC_GAIN hStaticGain) { in fdk_sacenc_staticGain_GetDmxGain() argument
392 switch (hStaticGain->fixedGainDMX) { in fdk_sacenc_staticGain_GetDmxGain()