Home
last modified time | relevance | path

Searched refs:mEncState (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/module/codecs/amrnb/enc/fuzzer/
Damrnb_enc_fuzzer.cpp48 void *mEncState = nullptr; member in Codec
53 return AMREncodeInit(&mEncState, &mSidState, (*data >> 1) & 0x01 /* dtx_enable flag */); in initEncoder()
57 if (mEncState) { in deInitEncoder()
58 AMREncodeExit(&mEncState, &mSidState); in deInitEncoder()
59 mEncState = nullptr; in deInitEncoder()
65 AMREncodeReset(mEncState, mSidState); in encodeFrames()
85 AMREncode(mEncState, mSidState, mode, inputBuf, outputBuf, &frameType, outputFormat); in encodeFrames()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp103 mEncState(nullptr), in C2SoftAmrNbEnc()
114 if (AMREncodeInit(&mEncState, &mSidState, dtx_enable) != 0) in onInit()
147 if (mEncState) { in onRelease()
148 AMREncodeExit(&mEncState, &mSidState); in onRelease()
149 mEncState = mSidState = nullptr; in onRelease()
154 if (AMREncodeReset(mEncState, mSidState) != 0) in onStop()
250 int numEncBytes = AMREncode(mEncState, mSidState, mMode, mInputFrame, in process()
DC2SoftAmrNbEnc.h51 void *mEncState; variable
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp47 mEncState(NULL), in SoftAMRNBEncoder()
60 if (mEncState != NULL) { in ~SoftAMRNBEncoder()
61 AMREncodeExit(&mEncState, &mSidState); in ~SoftAMRNBEncoder()
62 mEncState = mSidState = NULL; in ~SoftAMRNBEncoder()
108 if (AMREncodeInit(&mEncState, &mSidState, false /* dtx_enable */) != 0) { in initEncoder()
384 mEncState, mSidState, (Mode)mMode, in onQueueFilled()
DSoftAMRNBEncoder.h49 void *mEncState; member