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

/frameworks/av/media/libstagefright/
H A DSampleIterator.cpp54 status_t SampleIterator::seekTo(uint32_t sampleIndex) { argument
55 ALOGV("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);
93 (sampleIndex - mFirstChunkSampleIndex) / mSamplesPerChunk
124 (sampleIndex
[all...]
H A DSampleTable.cpp54 int32_t getCompositionTimeOffset(uint32_t sampleIndex);
86 uint32_t sampleIndex) {
93 if (sampleIndex < mCurrentEntrySampleIndex) {
100 if (sampleIndex < mCurrentEntrySampleIndex + sampleCount) {
551 uint32_t sampleIndex = 0;
559 if (sampleIndex < mNumSampleSizes) {
564 mSampleTimeEntries[sampleIndex].mSampleIndex = sampleIndex;
568 sampleIndex);
585 mSampleTimeEntries[sampleIndex]
85 getCompositionTimeOffset( uint32_t sampleIndex) argument
816 getSampleSize_l( uint32_t sampleIndex, size_t *sampleSize) argument
822 getMetaDataForSample( uint32_t sampleIndex, off64_t *offset, size_t *size, uint32_t *compositionTime, bool *isSyncSample, uint32_t *sampleDuration) argument
877 getCompositionTimeOffset(uint32_t sampleIndex) argument
[all...]
H A DAVIExtractor.cpp1057 size_t sampleIndex = 0; local
1061 trackIndex, sampleIndex, &offset, &size, &isKey, &timeUs);
1071 ++sampleIndex;
1105 size_t trackIndex, size_t sampleIndex,
1114 if (sampleIndex >= track.mSamples.size()) {
1118 const SampleInfo &info = track.mSamples.itemAt(sampleIndex);
1148 if (sampleIndex == 0) {
1152 track.mFirstChunkSize + track.mAvgChunkSize * (sampleIndex - 1);
1155 sampleIndex = sampleStartInBytes / track.mBytesPerSample;
1158 *sampleTimeUs = (sampleIndex * 100000
1104 getSampleInfo( size_t trackIndex, size_t sampleIndex, off64_t *offset, size_t *size, bool *isKey, int64_t *sampleTimeUs) argument
1163 getSampleTime( size_t trackIndex, size_t sampleIndex, int64_t *sampleTimeUs) argument
[all...]
H A DMPEG4Extractor.cpp473 uint32_t sampleIndex; local
475 if (track->sampleTable->findThumbnailSample(&sampleIndex) == OK
477 sampleIndex, NULL /* offset */, NULL /* size */,
490 0 /* sampleIndex */, &offset, &size, NULL /* sampleTime */) == OK) {
4217 uint32_t sampleIndex; local
4220 &sampleIndex, findFlags);
4232 sampleIndex, &syncSampleIndex, findFlags);
4238 sampleIndex, NULL, NULL, &sampleTime);
/frameworks/av/media/libstagefright/include/
H A DSampleIterator.h30 status_t seekTo(uint32_t sampleIndex);
40 uint32_t sampleIndex, size_t *size);
72 status_t findChunkRange(uint32_t sampleIndex);
74 status_t findSampleTimeAndDuration(uint32_t sampleIndex, uint32_t *time, uint32_t *duration);
H A DAVIExtractor.h97 size_t trackIndex, size_t sampleIndex,
102 size_t trackIndex, size_t sampleIndex, int64_t *sampleTimeUs);
107 size_t *sampleIndex) const;
H A DSampleTable.h66 uint32_t sampleIndex,
153 int32_t getCompositionTimeOffset(uint32_t sampleIndex);

Completed in 62 milliseconds