Lines Matching refs:int16_t
117 int16_t *inBuf; // input buffer used when resampling
121 int16_t *outBuf; // output buffer used when resampling
131 int16_t *revBuf; // reverse channel input buffer
306 if (*pValueSize < sizeof(int16_t)) { in AgcGetParameter()
332 *(int16_t *) pValue = (int16_t)(agc->target_level_dbfs() * -100); in AgcGetParameter()
333 ALOGV("AgcGetParameter() target level %d milliBels", *(int16_t *) pValue); in AgcGetParameter()
336 *(int16_t *) pValue = (int16_t)(agc->compression_gain_db() * 100); in AgcGetParameter()
337 ALOGV("AgcGetParameter() comp gain %d milliBels", *(int16_t *) pValue); in AgcGetParameter()
342 (*(int16_t *) pValue != 0) ? "true" : "false"); in AgcGetParameter()
345 pProperties->targetLevel = (int16_t)(agc->target_level_dbfs() * -100); in AgcGetParameter()
346 pProperties->compGain = (int16_t)(agc->compression_gain_db() * 100); in AgcGetParameter()
366 ALOGV("AgcSetParameter() target level %d milliBels", *(int16_t *)pValue); in AgcSetParameter()
367 status = agc->set_target_level_dbfs(-(*(int16_t *)pValue / 100)); in AgcSetParameter()
370 ALOGV("AgcSetParameter() comp gain %d milliBels", *(int16_t *)pValue); in AgcSetParameter()
371 status = agc->set_compression_gain_db(*(int16_t *)pValue / 100); in AgcSetParameter()
1243 fr * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1246 (session->framesOut - fr) * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1262 int16_t *buf; in PreProcessingFx_Process()
1264 buf = (int16_t *)realloc(session->inBuf, in PreProcessingFx_Process()
1265 session->inBufSize * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1276 fr * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1281 fr * session->inChannelCount * sizeof(int16_t), 1, gPcmDumpFh); in PreProcessingFx_Process()
1309 (session->framesIn - frIn) * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1318 fr * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1324 fr * session->inChannelCount * sizeof(int16_t), 1, gPcmDumpFh); in PreProcessingFx_Process()
1341 int16_t *buf; in PreProcessingFx_Process()
1343 buf = (int16_t *)realloc(session->outBuf, in PreProcessingFx_Process()
1344 session->outBufSize * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1375 session->frameCount * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1384 fr * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1387 (session->framesOut - fr) * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1807 int16_t *buf; in PreProcessingFx_ProcessReverse()
1809 buf = (int16_t *)realloc(session->revBuf, in PreProcessingFx_ProcessReverse()
1810 session->revBufSize * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_ProcessReverse()
1821 fr * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_ProcessReverse()
1846 (session->framesRev - frIn) * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_ProcessReverse()
1855 fr * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_ProcessReverse()