Home
last modified time | relevance | path

Searched refs:trackFormats (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/module/libmediatranscoding/transcoder/tools/
DTranscode.cpp97 std::vector<std::shared_ptr<AMediaFormat>> trackFormats = transcoder->getTrackFormats(); in transcode() local
98 if (trackFormats.size() <= 0) { in transcode()
103 for (int i = 0; i < trackFormats.size(); ++i) { in transcode()
107 AMediaFormat_getString(trackFormats[i].get(), AMEDIAFORMAT_KEY_MIME, &mime); in transcode()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DHdrTranscodeTests.cpp68 std::vector<std::shared_ptr<AMediaFormat>> trackFormats = transcoder->getTrackFormats(); in transcode() local
69 EXPECT_GT(trackFormats.size(), 0); in transcode()
71 for (int i = 0; i < trackFormats.size(); ++i) { in transcode()
75 AMediaFormat_getString(trackFormats[i].get(), AMEDIAFORMAT_KEY_MIME, &mime); in transcode()
DMediaTranscoderTests.cpp112 std::vector<std::shared_ptr<AMediaFormat>> trackFormats = transcoder->getTrackFormats(); in transcodeHelper() local
113 EXPECT_GT(trackFormats.size(), 0); in transcodeHelper()
115 for (int i = 0; i < trackFormats.size(); ++i) { in transcodeHelper()
116 AMediaFormat* format = formatCallback(trackFormats[i].get()); in transcodeHelper()
121 AMediaFormat_getString(trackFormats[i].get(), AMEDIAFORMAT_KEY_MIME, &mime); in transcodeHelper()
123 mSourceVideoFormat = trackFormats[i]; in transcodeHelper()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/fuzzer/
Dmedia_transcoder_fuzzer.cpp183 vector<shared_ptr<AMediaFormat>> trackFormats = transcoder->getTrackFormats(); in invokeTranscoder() local
184 for (int i = 0; i < trackFormats.size(); ++i) { in invokeTranscoder()
185 AMediaFormat* format = getFormat(trackFormats[i].get()); in invokeTranscoder()
/frameworks/av/media/module/libmediatranscoding/
DTranscoderWrapper.cpp430 std::vector<std::shared_ptr<AMediaFormat>> trackFormats = mTranscoder->getTrackFormats(); in setupTranscoder() local
431 if (trackFormats.size() == 0) { in setupTranscoder()
439 for (int i = 0; i < trackFormats.size(); ++i) { in setupTranscoder()
442 AMediaFormat_getString(trackFormats[i].get(), AMEDIAFORMAT_KEY_MIME, &mime); in setupTranscoder()
447 mSrcFormat = trackFormats[i]; in setupTranscoder()
/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaTranscoder.cpp286 std::vector<std::shared_ptr<AMediaFormat>> trackFormats; in getTrackFormats() local
290 trackFormats.emplace_back(copy, &AMediaFormat_delete); in getTrackFormats()
292 return trackFormats; in getTrackFormats()
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/
DMediaTranscoderBenchmark.cpp159 std::vector<std::shared_ptr<AMediaFormat>> trackFormats = transcoder->getTrackFormats(); in TranscodeMediaFile() local
160 for (int i = 0; i < trackFormats.size(); ++i) { in TranscodeMediaFile()
161 AMediaFormat* srcFormat = trackFormats[i].get(); in TranscodeMediaFile()