Lines Matching refs:mAACEncoder
154 mAACEncoder(nullptr), in C2SoftAacEnc()
174 if (AACENC_OK != aacEncOpen(&mAACEncoder, 0, 0)) { in initEncoder()
193 aacEncClose(&mAACEncoder); in onReset()
252 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_AOT, getAOTFromProfile(aacProfile))) { in setAudioParams()
257 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SAMPLERATE, mIntf->getSampleRate())) { in setAudioParams()
261 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_BITRATE, mIntf->getBitrate())) { in setAudioParams()
265 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_CHANNELMODE, in setAudioParams()
270 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_TRANSMUX, TT_MP4_RAW)) { in setAudioParams()
276 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SBR_MODE, sbrMode)) { in setAudioParams()
288 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SBR_RATIO, sbrRatio)) { in setAudioParams()
340 if (AACENC_OK != aacEncEncode(mAACEncoder, nullptr, nullptr, nullptr, nullptr)) { in process()
348 uint32_t actualBitRate = aacEncoder_GetParam(mAACEncoder, AACENC_BITRATE); in process()
354 if (AACENC_OK != aacEncInfo(mAACEncoder, &encInfo)) { in process()
526 encoderErr = aacEncEncode(mAACEncoder, in process()
594 (void)aacEncEncode(mAACEncoder, in process()