Home
last modified time | relevance | path

Searched refs:mDecoderBuf (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/av/media/codecs/mp3dec/fuzzer/
H A Dmp3_dec_fuzzer.cpp162 void *mDecoderBuf = nullptr; member in Codec
171 mDecoderBuf = malloc(decoderBufSize); in initDecoder()
172 if (!mDecoderBuf) { in initDecoder()
175 memset(mDecoderBuf, 0x0, decoderBufSize); in initDecoder()
176 pvmp3_InitDecoder(mConfig, mDecoderBuf); in initDecoder()
203 decoderErr = pvmp3_framedecoder(mConfig, mDecoderBuf); in decodeFrames()
216 if (mDecoderBuf) { in deInitDecoder()
217 free(mDecoderBuf); in deInitDecoder()
218 mDecoderBuf = nullptr; in deInitDecoder()
/aosp12/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp46 mDecoderBuf(NULL), in SoftMP3()
60 if (mDecoderBuf != NULL) { in ~SoftMP3()
61 free(mDecoderBuf); in ~SoftMP3()
62 mDecoderBuf = NULL; in ~SoftMP3()
117 mDecoderBuf = calloc(1, memRequirements); in initDecoder()
119 pvmp3_InitDecoder(mConfig, mDecoderBuf); in initDecoder()
351 if ((decoderErr = pvmp3_framedecoder(mConfig, mDecoderBuf)) in onQueueFilled()
456 pvmp3_InitDecoder(mConfig, mDecoderBuf); in onPortFlushCompleted()
491 pvmp3_InitDecoder(mConfig, mDecoderBuf); in onReset()
H A DSoftMP3.h55 void *mDecoderBuf; member
/aosp12/frameworks/av/media/codec2/components/amr_nb_wb/
H A DC2SoftAmrDec.cpp124 mDecoderBuf(nullptr), in C2SoftAmrDec()
165 if (mDecoderBuf) { in onRelease()
166 free(mDecoderBuf); in onRelease()
168 mDecoderBuf = nullptr; in onRelease()
184 mDecoderBuf = malloc(memReq); in initDecoder()
185 if (mDecoderBuf) { in initDecoder()
186 pvDecoder_AmrWb_Init(&mAmrHandle, mDecoderBuf, &mDecoderCookie); in initDecoder()
344 mDecoderBuf, FT, mDecoderCookie); in process()
H A DC2SoftAmrDec.h54 void *mDecoderBuf; member
/aosp12/frameworks/av/media/codec2/components/mp3/
H A DC2SoftMp3Dec.cpp102 mDecoderBuf(nullptr) { in C2SoftMP3()
117 pvmp3_InitDecoder(mConfig, mDecoderBuf); in onStop()
133 if (mDecoderBuf) { in onRelease()
134 free(mDecoderBuf); in onRelease()
135 mDecoderBuf = nullptr; in onRelease()
151 mDecoderBuf = malloc(memRequirements); in initDecoder()
152 if (!mDecoderBuf) return NO_MEMORY; in initDecoder()
154 pvmp3_InitDecoder(mConfig, mDecoderBuf); in initDecoder()
413 if ((decoderErr = pvmp3_framedecoder(mConfig, mDecoderBuf)) in process()
H A DC2SoftMp3Dec.h60 void *mDecoderBuf; member
/aosp12/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp44 mDecoderBuf(NULL), in SoftAMR()
66 free(mDecoderBuf); in ~SoftAMR()
67 mDecoderBuf = NULL; in ~SoftAMR()
132 mDecoderBuf = malloc(memReq); in initDecoder()
134 pvDecoder_AmrWb_Init(&mState, mDecoderBuf, &mDecoderCookie); in initDecoder()
480 mDecoderBuf, frameType, mDecoderCookie); in onQueueFilled()
H A DSoftAMR.h63 void *mDecoderBuf; member