Home
last modified time | relevance | path

Searched refs:mDecoder (Results 1 – 6 of 6) sorted by relevance

/external/flac/fuzzer/
Dflac_dec_fuzzer.cpp37 FLAC__StreamDecoder *mDecoder = nullptr; member in Codec
49 mDecoder = FLAC__stream_decoder_new(); in initDecoder()
50 if (!mDecoder) { in initDecoder()
53 FLAC__stream_decoder_set_metadata_ignore_all(mDecoder); in initDecoder()
54 FLAC__stream_decoder_set_md5_checking(mDecoder, true); in initDecoder()
73 FLAC__stream_decoder_set_metadata_respond(mDecoder, FLAC__METADATA_TYPE_STREAMINFO); in initDecoder()
81 mDecoder, read_callback, nullptr, nullptr, nullptr, nullptr, write_callback, in initDecoder()
128 if (!FLAC__stream_decoder_process_until_end_of_metadata(mDecoder)) { in decodeFrames()
132 FLAC__stream_decoder_process_single(mDecoder); in decodeFrames()
133 if (FLAC__STREAM_DECODER_END_OF_STREAM == FLAC__stream_decoder_get_state(mDecoder)) { in decodeFrames()
[all …]
/external/exoplayer/tree/extensions/flac/src/main/jni/
Dflac_parser.cc267 mDecoder(NULL), in FLACParser()
286 if (mDecoder != NULL) { in ~FLACParser()
287 FLAC__stream_decoder_delete(mDecoder); in ~FLACParser()
288 mDecoder = NULL; in ~FLACParser()
294 mDecoder = FLAC__stream_decoder_new(); in init()
295 if (mDecoder == NULL) { in init()
302 FLAC__stream_decoder_set_md5_checking(mDecoder, false); in init()
303 FLAC__stream_decoder_set_metadata_ignore_all(mDecoder); in init()
304 FLAC__stream_decoder_set_metadata_respond(mDecoder, in init()
306 FLAC__stream_decoder_set_metadata_respond(mDecoder, in init()
[all …]
/external/oss-fuzz/projects/flac/
Dfuzzer_exo.cpp254 mDecoder(NULL), in FLACParser()
271 if (mDecoder != NULL) { in ~FLACParser()
272 FLAC__stream_decoder_delete(mDecoder); in ~FLACParser()
273 mDecoder = NULL; in ~FLACParser()
279 mDecoder = FLAC__stream_decoder_new(); in init()
280 if (mDecoder == NULL) { in init()
286 FLAC__stream_decoder_set_md5_checking(mDecoder, false); in init()
287 FLAC__stream_decoder_set_metadata_ignore_all(mDecoder); in init()
288 FLAC__stream_decoder_set_metadata_respond(mDecoder, in init()
290 FLAC__stream_decoder_set_metadata_respond(mDecoder, in init()
[all …]
/external/exoplayer/tree/extensions/flac/src/main/jni/include/
Dflac_parser.h95 if (mDecoder != NULL) { in reset()
104 FLAC__stream_decoder_reset(mDecoder); in reset()
106 FLAC__stream_decoder_flush(mDecoder); in reset()
113 if (mDecoder != NULL in getDecodePosition()
114 && FLAC__stream_decoder_get_decode_position(mDecoder, &position)) { in getDecodePosition()
121 return FLAC__stream_decoder_get_resolved_state_string(mDecoder); in getDecoderStateString()
125 return FLAC__stream_decoder_get_state(mDecoder) == in isDecoderAtEndOfStream()
136 FLAC__StreamDecoder *mDecoder; variable
/external/v4l2_codec2/components/
DV4L2DecodeComponent.cpp212 mDecoder = V4L2Decoder::Create(*codec, inputBufferSize, in startTask()
220 if (!mDecoder) { in startTask()
328 mDecoder = nullptr; in releaseTask()
480 mDecoder->decode(std::move(buffer), ::base::BindOnce(&V4L2DecodeComponent::onDecodeDone, in pumpPendingWorks()
485 mDecoder->drain(::base::BindOnce(&V4L2DecodeComponent::onDrainDone, mWeakThis)); in pumpPendingWorks()
717 mDecoder->flush(); in flushTask()
797 mDecoder->drain(::base::BindOnce(&V4L2DecodeComponent::onDrainDone, mWeakThis)); in drainTask()
/external/v4l2_codec2/components/include/v4l2_codec2/components/
DV4L2DecodeComponent.h104 std::unique_ptr<VideoDecoder> mDecoder; variable