Lines Matching refs:mAACEncoder
154 mAACEncoder(nullptr), in C2SoftAacEnc()
174 if (AACENC_OK != aacEncOpen(&mAACEncoder, 0, 0)) { in initEncoder()
193 aacEncClose(&mAACEncoder); in onReset()
201 if (mAACEncoder != nullptr) { in onFlush_sm()
203 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_CONTROL_STATE, AACENC_INIT_ALL)) { in onFlush_sm()
259 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_AOT, getAOTFromProfile(aacProfile))) { in setAudioParams()
264 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SAMPLERATE, mIntf->getSampleRate())) { in setAudioParams()
268 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_BITRATE, mIntf->getBitrate())) { in setAudioParams()
272 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_CHANNELMODE, in setAudioParams()
277 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_TRANSMUX, TT_MP4_RAW)) { in setAudioParams()
284 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SBR_MODE, aacSbrMode)) { in setAudioParams()
296 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SBR_RATIO, sbrRatio)) { in setAudioParams()
348 if (AACENC_OK != aacEncEncode(mAACEncoder, nullptr, nullptr, nullptr, nullptr)) { in process()
356 uint32_t actualBitRate = aacEncoder_GetParam(mAACEncoder, AACENC_BITRATE); in process()
362 if (AACENC_OK != aacEncInfo(mAACEncoder, &encInfo)) { in process()
534 encoderErr = aacEncEncode(mAACEncoder, in process()
607 (void)aacEncEncode(mAACEncoder, in process()