Searched refs:sampleIndex (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/libstagefright/
H A DSampleIterator.cpp54 status_t SampleIterator::seekTo(uint32_t sampleIndex) { argument
55 LOGV("seekTo(%d)", sampleIndex);
57 if (sampleIndex >= mTable->mNumSampleSizes) {
69 if (mInitialized && mCurrentSampleIndex == sampleIndex) {
73 if (!mInitialized || sampleIndex < mFirstChunkSampleIndex) {
77 if (sampleIndex >= mStopChunkSampleIndex) {
79 if ((err = findChunkRange(sampleIndex)) != OK) {
85 CHECK(sampleIndex < mStopChunkSampleIndex);
88 (sampleIndex - mFirstChunkSampleIndex) / mSamplesPerChunk
119 (sampleIndex
[all...]
H A DSampleTable.cpp49 uint32_t getCompositionTimeOffset(uint32_t sampleIndex);
81 uint32_t sampleIndex) {
88 if (sampleIndex < mCurrentEntrySampleIndex) {
95 if (sampleIndex < mCurrentEntrySampleIndex + sampleCount) {
490 uint32_t sampleIndex = 0; local
498 if (sampleIndex < mNumSampleSizes) {
503 mSampleTimeEntries[sampleIndex].mSampleIndex = sampleIndex;
507 sampleIndex);
509 mSampleTimeEntries[sampleIndex]
80 getCompositionTimeOffset( uint32_t sampleIndex) argument
757 getSampleSize_l( uint32_t sampleIndex, size_t *sampleSize) argument
763 getMetaDataForSample( uint32_t sampleIndex, off64_t *offset, size_t *size, uint32_t *compositionTime, bool *isSyncSample) argument
813 getCompositionTimeOffset(uint32_t sampleIndex) argument
[all...]
H A DAVIExtractor.cpp1056 size_t sampleIndex = 0; local
1060 trackIndex, sampleIndex, &offset, &size, &isKey, &timeUs);
1070 ++sampleIndex;
1104 size_t trackIndex, size_t sampleIndex,
1113 if (sampleIndex >= track.mSamples.size()) {
1117 const SampleInfo &info = track.mSamples.itemAt(sampleIndex);
1147 if (sampleIndex == 0) {
1151 track.mFirstChunkSize + track.mAvgChunkSize * (sampleIndex - 1);
1154 sampleIndex = sampleStartInBytes / track.mBytesPerSample;
1157 *sampleTimeUs = (sampleIndex * 100000
1103 getSampleInfo( size_t trackIndex, size_t sampleIndex, off64_t *offset, size_t *size, bool *isKey, int64_t *sampleTimeUs) argument
1162 getSampleTime( size_t trackIndex, size_t sampleIndex, int64_t *sampleTimeUs) argument
[all...]
H A DMPEG4Extractor.cpp349 uint32_t sampleIndex; local
351 if (track->sampleTable->findThumbnailSample(&sampleIndex) == OK
353 sampleIndex, NULL /* offset */, NULL /* size */,
1993 uint32_t sampleIndex; local
1996 &sampleIndex, findFlags);
2008 sampleIndex, &syncSampleIndex, findFlags);
2014 sampleIndex, NULL, NULL, &sampleTime);
/frameworks/base/media/libstagefright/include/
H A DSampleIterator.h26 status_t seekTo(uint32_t sampleIndex);
35 uint32_t sampleIndex, size_t *size);
66 status_t findChunkRange(uint32_t sampleIndex);
68 status_t findSampleTime(uint32_t sampleIndex, uint32_t *time);
H A DAVIExtractor.h96 size_t trackIndex, size_t sampleIndex,
101 size_t trackIndex, size_t sampleIndex, int64_t *sampleTimeUs);
106 size_t *sampleIndex) const;
H A DSampleTable.h65 uint32_t sampleIndex,
141 uint32_t getCompositionTimeOffset(uint32_t sampleIndex);
/frameworks/base/libs/ui/tests/
H A DInputPublisherAndConsumer_test.cpp202 size_t sampleIndex = i + 1; local
203 status = mPublisher->appendMotionSample(sampleEventTimes[sampleIndex],
204 samplePointerCoords.array() + sampleIndex * pointerCount);
214 size_t sampleIndex = i + 1 + samplesToAppendBeforeDispatch; local
215 status = mPublisher->appendMotionSample(sampleEventTimes[sampleIndex],
216 samplePointerCoords.array() + sampleIndex * pointerCount);
258 for (size_t sampleIndex = 0; sampleIndex < lastSampleIndex; sampleIndex++) {
259 SCOPED_TRACE(sampleIndex);
[all...]

Completed in 116 milliseconds