Home
last modified time | relevance | path

Searched refs:mSampleWriter (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaTranscoder.cpp113 if (it.first == static_cast<const void*>(mSampleWriter.get())) { in onThreadFinished()
149 const void* sampleWriterPtr = static_cast<const void*>(mSampleWriter.get()); in onTrackFormatAvailable()
157 auto consumer = mSampleWriter->addTrack(transcoder->getOutputFormat()); in onTrackFormatAvailable()
188 errorStarting = !mSampleWriter->start(); in onTrackFormatAvailable()
372 if (mSampleWriter != nullptr) { in configureDestination()
377 mSampleWriter = MediaSampleWriter::Create(); in configureDestination()
378 const bool initOk = mSampleWriter->init(fd, shared_from_this(), mHeartBeatIntervalUs); in configureDestination()
382 mSampleWriter.reset(); in configureDestination()
387 mThreadStates[static_cast<const void*>(mSampleWriter.get())] = PENDING; in configureDestination()
395 } else if (mSampleWriter == nullptr) { in start()
[all …]
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DMediaTranscoder.h150 std::shared_ptr<MediaSampleWriter> mSampleWriter; variable