Home
last modified time | relevance | path

Searched refs:MediaTranscoder (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaTranscoder.cpp87 void MediaTranscoder::onThreadFinished(const void* thread, media_status_t threadStatus, in onThreadFinished()
145 void MediaTranscoder::onTrackFormatAvailable(const MediaTrackTranscoder* transcoder) { in onTrackFormatAvailable()
201 void MediaTranscoder::onTrackFinished(const MediaTrackTranscoder* transcoder) { in onTrackFinished()
206 void MediaTranscoder::onTrackStopped(const MediaTrackTranscoder* transcoder) { in onTrackStopped()
211 void MediaTranscoder::onTrackError(const MediaTrackTranscoder* transcoder, media_status_t status) { in onTrackError()
216 void MediaTranscoder::onFinished(const MediaSampleWriter* writer, media_status_t status) { in onFinished()
221 void MediaTranscoder::onStopped(const MediaSampleWriter* writer) { in onStopped()
226 void MediaTranscoder::onProgressUpdate(const MediaSampleWriter* writer __unused, int32_t progress) { in onProgressUpdate()
231 void MediaTranscoder::onHeartBeat(const MediaSampleWriter* writer __unused) { in onHeartBeat()
236 MediaTranscoder::MediaTranscoder(const std::shared_ptr<CallbackInterface>& callbacks, in MediaTranscoder() function in android::MediaTranscoder
[all …]
Dsetloglevel.sh14 MediaTranscoder MediaTrackTranscoder VideoTrackTranscoder PassthroughTrackTranscoder
DAndroid.bp34 "MediaTranscoder.cpp",
/frameworks/av/media/module/libmediatranscoding/transcoder/include/media/
DMediaTranscoder.h37 class MediaTranscoder : public std::enable_shared_from_this<MediaTranscoder>,
45 virtual void onFinished(const MediaTranscoder* transcoder) = 0;
48 virtual void onError(const MediaTranscoder* transcoder, media_status_t error) = 0;
51 virtual void onProgressUpdate(const MediaTranscoder* transcoder, int32_t progress) = 0;
54 virtual void onHeartBeat(const MediaTranscoder* transcoder) = 0;
64 const MediaTranscoder* transcoder,
75 static std::shared_ptr<MediaTranscoder> create(
123 virtual ~MediaTranscoder() = default;
126 MediaTranscoder(const std::shared_ptr<CallbackInterface>& callbacks,
/frameworks/av/media/module/libmediatranscoding/transcoder/tools/
DTranscode.cpp27 class TranscoderCallbacks : public MediaTranscoder::CallbackInterface {
38 virtual void onFinished(const MediaTranscoder* /*transcoder*/) override { in onFinished() argument
42 virtual void onError(const MediaTranscoder* /*transcoder*/, media_status_t error) override { in onError() argument
47 virtual void onProgressUpdate(const MediaTranscoder* /*transcoder*/, in onProgressUpdate() argument
51 const MediaTranscoder* /*transcoder*/, in onCodecResourceLost() argument
57 virtual void onHeartBeat(const MediaTranscoder* /*transcoder*/) override {} in onHeartBeat() argument
82 auto transcoder = MediaTranscoder::create(callbacks, -1 /*heartBeatIntervalUs*/); in transcode()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/fuzzer/
Dmedia_transcoder_fuzzer.cpp67 class TestCallbacks : public MediaTranscoder::CallbackInterface {
69 virtual void onFinished(const MediaTranscoder* transcoder UNUSED_PARAM) override { in onFinished()
75 virtual void onError(const MediaTranscoder* transcoder UNUSED_PARAM, in onError()
82 virtual void onProgressUpdate(const MediaTranscoder* transcoder UNUSED_PARAM, in onProgressUpdate()
91 virtual void onHeartBeat(const MediaTranscoder* transcoder UNUSED_PARAM) override {} in onHeartBeat()
93 virtual void onCodecResourceLost(const MediaTranscoder* transcoder UNUSED_PARAM, in onCodecResourceLost()
161 auto transcoder = MediaTranscoder::create(mCallbacks); in invokeTranscoder()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DTranscoderTestUtils.h144 class TestTranscoderCallbacks : public MediaTranscoder::CallbackInterface {
146 virtual void onFinished(const MediaTranscoder* transcoder __unused) override { in onFinished()
153 virtual void onError(const MediaTranscoder* transcoder __unused, in onError()
163 virtual void onProgressUpdate(const MediaTranscoder* transcoder __unused, in onProgressUpdate()
172 virtual void onHeartBeat(const MediaTranscoder* transcoder __unused) override { in onHeartBeat()
177 virtual void onCodecResourceLost(const MediaTranscoder* transcoder __unused, in onCodecResourceLost()
DAndroid.bp99 // MediaTranscoder unit test
DHdrTranscodeTests.cpp61 auto transcoder = MediaTranscoder::create(mCallbacks, -1 /*heartBeatIntervalUs*/); in transcode()
DMediaTranscoderTests.cpp106 auto transcoder = MediaTranscoder::create(mCallbacks, heartBeatIntervalUs); in transcodeHelper()
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/
DMediaTranscoderBenchmark.cpp46 class TranscoderCallbacks : public MediaTranscoder::CallbackInterface {
48 virtual void onFinished(const MediaTranscoder* transcoder __unused) override { in onFinished()
54 virtual void onError(const MediaTranscoder* transcoder __unused, in onError()
62 virtual void onProgressUpdate(const MediaTranscoder* transcoder __unused, in onProgressUpdate()
65 virtual void onHeartBeat(const MediaTranscoder* transcoder __unused) override {} in onHeartBeat()
67 virtual void onCodecResourceLost(const MediaTranscoder* transcoder __unused, in onCodecResourceLost()
145 auto transcoder = MediaTranscoder::create(callbacks); in TranscodeMediaFile()
/frameworks/av/media/module/libmediatranscoding/
DTranscoderWrapper.cpp136 class TranscoderWrapper::CallbackImpl : public MediaTranscoder::CallbackInterface {
142 virtual void onFinished(const MediaTranscoder* transcoder __unused) override { in onFinished()
149 virtual void onError(const MediaTranscoder* transcoder __unused, in onError()
157 virtual void onProgressUpdate(const MediaTranscoder* transcoder __unused, in onProgressUpdate()
165 virtual void onHeartBeat(const MediaTranscoder* transcoder __unused) override { in onHeartBeat()
172 virtual void onCodecResourceLost(const MediaTranscoder* transcoder __unused, in onCodecResourceLost()
411 mTranscoder = MediaTranscoder::create(mTranscoderCb, mHeartBeatIntervalUs, request.clientPid, in setupTranscoder()
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscoderWrapper.h32 class MediaTranscoder; variable
81 std::shared_ptr<MediaTranscoder> mTranscoder;
/frameworks/av/media/module/service.mediatranscoding/tests/
DREADME.txt6 as the MediaTranscoder unit tests. Before running the test, please make sure