Searched refs:mSamples (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/include/media/ |
D | LinearMap.h | 140 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/ |
D | LinearMap.h | 140 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/ |
D | NuMediaExtractor.cpp | 438 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 …]
|
D | MPEG4Writer.cpp | 2301 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/ |
D | LongStatsCollector.java | 69 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/ |
D | MPEG4Writer.h | 139 List<MediaBuffer *> mSamples; // Sample data 145 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
|
D | NuMediaExtractor.h | 126 std::list<Sample> mSamples; member
|
/frameworks/opt/gamesdk/src/swappyVk/ |
D | SwappyVk.cpp | 205 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/ |
D | SoundPool.cpp | 93 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()
|
D | SoundPool.h | 223 DefaultKeyedVector< int, sp<Sample> > mSamples; variable
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 3560 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()
|