Home
last modified time | relevance | path

Searched refs:mSamples (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/include/media/
DLinearMap.h140 mSamples(0), in LinearMap()
165 if (mSamples > 0) { in push()
177 if (mSamples > 1 && mStepValid && lastStepValid) { in push()
198 if (mSamples < mSize) { in push()
200 ++mSamples; in push()
215 mSamples = 0; in reset()
220 return mSamples != 0; in hasData()
277 LOG_ALWAYS_FATAL_IF(back < 0 || (size_t)back > mSamples, "Invalid back(%zd)", back);
303 if (mSamples == 0) { in findU()
311 for (ssize_t i = 0; i < (ssize_t)mSamples; ++i) { in findU()
[all …]
/frameworks/av/media/libmedia/include/media/
DLinearMap.h140 mSamples(0), in LinearMap()
165 if (mSamples > 0) { in push()
177 if (mSamples > 1 && mStepValid && lastStepValid) { in push()
198 if (mSamples < mSize) { in push()
200 ++mSamples; in push()
215 mSamples = 0; in reset()
220 return mSamples != 0; in hasData()
277 LOG_ALWAYS_FATAL_IF(back < 0 || (size_t)back > mSamples, "Invalid back(%zd)", back);
303 if (mSamples == 0) { in findU()
311 for (ssize_t i = 0; i < (ssize_t)mSamples; ++i) { in findU()
[all …]
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp438 auto it = info->mSamples.begin(); in releaseTrackSamples()
439 while (it != info->mSamples.end()) { in releaseTrackSamples()
443 it = info->mSamples.erase(it); in releaseTrackSamples()
463 if (err != OK && err != ERROR_END_OF_STREAM && info->mSamples.empty()) { in fetchAllTrackSamples()
467 if (info->mSamples.empty()) { in fetchAllTrackSamples()
475 auto it = info->mSamples.begin(); in fetchAllTrackSamples()
476 auto itMin = minInfo->mSamples.begin(); in fetchAllTrackSamples()
498 } else if (info->mFinalResult != OK || !info->mSamples.empty()) { in fetchTrackSamples()
533 info->mSamples.emplace_back(mbuf, timeUs); in fetchTrackSamples()
567 if (info == NULL || info->mSamples.empty()) { in advance()
[all …]
DMPEG4Writer.cpp2301 while (!chunk->mSamples.empty()) { in writeChunkToFile()
2302 List<MediaBuffer *>::iterator it = chunk->mSamples.begin(); in writeChunkToFile()
2324 chunk->mSamples.erase(it); in writeChunkToFile()
2326 chunk->mSamples.clear(); in writeChunkToFile()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DLongStatsCollector.java69 private final int mSamples; field in LongStatsCollector.Stats
75 mSamples = samples; in Stats()
82 return mSamples; in getSampleCount()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h139 List<MediaBuffer *> mSamples; // Sample data
145 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
DNuMediaExtractor.h126 std::list<Sample> mSamples; member
/frameworks/opt/gamesdk/src/swappyVk/
DSwappyVk.cpp205 long mSamples = 0; member in SwappyVkBase
317 mSamples++; in calcRefreshRate()
319 if (mSamples == MAX_SAMPLES) { in calcRefreshRate()
320 mRefreshDur = mSumRefreshTime / mSamples; in calcRefreshRate()
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp93 mSamples.clear(); in ~SoundPool()
196 return mSamples.valueFor(sampleID); in findSample_l()
228 mSamples.add(sampleID, sample); in load()
244 return mSamples.removeItem(sampleID) >= 0; // removeItem() returns index or BAD_VALUE in unload()
DSoundPool.h223 DefaultKeyedVector< int, sp<Sample> > mSamples; variable
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3560 List<Integer> mSamples = new ArrayList<Integer>(); field in AudioService.SoundPoolCallback
3570 mSamples.add(samples[i]); in setSamples()
3577 int i = mSamples.indexOf(sampleId); in onLoadComplete()
3579 mSamples.remove(i); in onLoadComplete()
3581 if ((status != 0) || mSamples. isEmpty()) { in onLoadComplete()