Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/flac/dec/test/
DFlacDecoderTest.cpp45 FLACDecoderTest() : mFLACDecoder(nullptr), mHasStreamInfo(false), mInputBufferCount(0) {} in FLACDecoderTest()
49 if (mFLACDecoder) delete mFLACDecoder; in ~FLACDecoderTest()
50 mFLACDecoder = nullptr; in ~FLACDecoderTest()
54 mFLACDecoder = FLACDecoder::Create(); in SetUp()
55 ASSERT_NE(mFLACDecoder, nullptr) << "initDecoder: failed to create FLACDecoder"; in SetUp()
61 FLACDecoder *mFLACDecoder; member in FLACDecoderTest
121 status_t decoderErr = mFLACDecoder->parseMetadata((uint8_t *)data, size); in processFlacDecoder()
125 mStreamInfo = mFLACDecoder->getStreamInfo(); in processFlacDecoder()
156 status_t decoderErr = mFLACDecoder->decodeOneFrame((uint8_t *)data, size, out_buf, in processFlacDecoder()
184 if (mFLACDecoder) delete mFLACDecoder; in TEST_F()
[all …]
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp112 mFLACDecoder(nullptr) { in C2SoftFlacDec()
125 if (mFLACDecoder) mFLACDecoder->flush(); in onStop()
140 if (mFLACDecoder) delete mFLACDecoder; in onRelease()
141 mFLACDecoder = nullptr; in onRelease()
149 if (mFLACDecoder) { in initDecoder()
150 delete mFLACDecoder; in initDecoder()
152 mFLACDecoder = FLACDecoder::Create(); in initDecoder()
153 if (!mFLACDecoder) { in initDecoder()
229 status_t decoderErr = mFLACDecoder->parseMetadata(input, inSize); in process()
247 mStreamInfo = mFLACDecoder->getStreamInfo(); in process()
[all …]
DC2SoftFlacDec.h52 FLACDecoder *mFLACDecoder; member
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp47 mFLACDecoder(NULL), in SoftFlacDecoder()
62 delete mFLACDecoder; in ~SoftFlacDecoder()
109 mFLACDecoder = FLACDecoder::Create(); in initDecoder()
110 if (mFLACDecoder == NULL) { in initDecoder()
118 if (mFLACDecoder == NULL) { in initCheck()
359 status_t decoderErr = mFLACDecoder->parseMetadata(inBuffer, inBufferLength); in onQueueFilled()
376 mStreamInfo = mFLACDecoder->getStreamInfo(); in onQueueFilled()
391 status_t decoderErr = mFLACDecoder->decodeOneFrame( in onQueueFilled()
411 status_t decoderErr = mFLACDecoder->decodeOneFrame( in onQueueFilled()
444 mFLACDecoder->flush(); in drainDecoder()
DSoftFlacDecoder.h57 FLACDecoder *mFLACDecoder; member