Home
last modified time | relevance | path

Searched refs:mAACEncoder (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp55 mAACEncoder(NULL), in SoftAACEncoder2()
75 aacEncClose(&mAACEncoder); in ~SoftAACEncoder2()
122 if (AACENC_OK != aacEncOpen(&mAACEncoder, 0, 0)) { in initEncoder()
427 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_AOT, in setAudioParams()
433 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SAMPLERATE, mSampleRate)) { in setAudioParams()
437 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_BITRATE, mBitRate)) { in setAudioParams()
441 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_CHANNELMODE, in setAudioParams()
446 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_TRANSMUX, TT_MP4_RAW)) { in setAudioParams()
452 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SBR_MODE, mSBRMode)) { in setAudioParams()
464 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SBR_RATIO, mSBRRatio)) { in setAudioParams()
[all …]
DSoftAACEncoder2.h53 HANDLE_AACENCODER mAACEncoder; member
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp154 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()
[all …]
DC2SoftAacEnc.h55 HANDLE_AACENCODER mAACEncoder; variable