Searched refs:mSamples (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/ |
D | MediaTrackTranscoderBenchmark.cpp | 147 if (mSamples.size() == mSampleCount || in selectTrack() 148 (mSamples.size() >= targetBufferCount && info.flags & SAMPLE_FLAG_SYNC_SAMPLE)) { in selectTrack() 159 mSamples.emplace_back(std::move(buffer), info); in selectTrack() 164 mFirstPtsUs = mSamples[0].second.presentationTimeUs; in selectTrack() 165 mPtsDiff = mSamples[1].second.presentationTimeUs - mSamples[0].second.presentationTimeUs; in selectTrack() 191 *info = mSamples[mCurrentSampleIndex % mSamples.size()].second; in getSampleInfoForTrack() 202 auto& p = mSamples[mCurrentSampleIndex % mSamples.size()]; in readSampleDataForTrack() 222 std::vector<std::pair<std::unique_ptr<uint8_t[]>, MediaSampleInfo>> mSamples; member in MockSampleReader
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 472 auto it = info->mSamples.begin(); in releaseTrackSamples() 473 while (it != info->mSamples.end()) { in releaseTrackSamples() 477 it = info->mSamples.erase(it); in releaseTrackSamples() 507 if (err != OK && err != ERROR_END_OF_STREAM && info->mSamples.empty()) { in fetchAllTrackSamples() 511 if (info->mSamples.empty()) { in fetchAllTrackSamples() 519 auto it = info->mSamples.begin(); in fetchAllTrackSamples() 520 auto itMin = minInfo->mSamples.begin(); in fetchAllTrackSamples() 542 } else if (info->mFinalResult != OK || !info->mSamples.empty()) { in fetchTrackSamples() 577 info->mSamples.emplace_back(mbuf, timeUs); in fetchTrackSamples() 611 if (info == NULL || info->mSamples.empty()) { in advance() [all …]
|
D | MPEG4Writer.cpp | 2738 while (!chunk->mSamples.empty()) { in writeChunkToFile() 2739 List<MediaBuffer *>::iterator it = chunk->mSamples.begin(); in writeChunkToFile() 2761 chunk->mSamples.erase(it); in writeChunkToFile() 2763 chunk->mSamples.clear(); in writeChunkToFile()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | LongStatsCollector.java | 69 private final int mSamples; field in LongStatsCollector.Stats 75 mSamples = samples; in Stats() 82 return mSamples; in getSampleCount()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 1081 final ArrayMap<String, ArrayList<Sample>> mSamples = new ArrayMap<>(); field in ThermalManagerService.TemperatureWatcher 1096 synchronized (mSamples) { in updateSevereThresholds() 1117 synchronized (mSamples) { in updateTemperature() 1126 mSamples.clear(); in updateTemperature() 1143 ArrayList<Sample> samples = mSamples.computeIfAbsent(temperature.getName(), in updateTemperature() 1191 synchronized (mSamples) { in normalizeTemperature() 1204 synchronized (mSamples) { in getForecast() 1206 if (mSamples.isEmpty()) { in getForecast() 1212 if (mSamples.isEmpty()) { in getForecast() 1225 for (Map.Entry<String, ArrayList<Sample>> entry : mSamples.entrySet()) { in getForecast()
|
/frameworks/av/media/libmediatranscoding/transcoder/tests/ |
D | MediaSampleReaderNDKTests.cpp | 97 mSamples.resize(mTrackCount); in SampleAccessTester() 126 mSamples[trackIndex].emplace_back(info.flags, info.presentationTimeUs, info.size, in readSamplesAsync() 156 std::vector<std::vector<Sample>>& getSamples() { return mSamples; } in getSamples() 162 std::vector<std::vector<Sample>> mSamples; member in android::SampleAccessTester
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MPEG4Writer.h | 167 List<MediaBuffer *> mSamples; // Sample data 173 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
|
D | NuMediaExtractor.h | 132 std::list<Sample> mSamples; member
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ThermalManagerServiceTest.java | 441 watcher.mSamples.put("skin1", samples); in testTemperatureWatcherGetForecast() 486 synchronized (watcher.mSamples) { in isWatcherSamplesEmpty() 487 return watcher.mSamples.isEmpty(); in isWatcherSamplesEmpty()
|