Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp154 mAACEncoder(nullptr), in C2SoftAacEnc()
175 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()
[all …]
DC2SoftAacEnc.h51 HANDLE_AACENCODER mAACEncoder; variable
/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