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);
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
770 getSampleSize_l( uint32_t sampleIndex, size_t *sampleSize) argument
776 getMetaDataForSample( uint32_t sampleIndex, off64_t *offset, size_t *size, uint32_t *compositionTime, bool *isSyncSample) argument
826 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.cpp350 uint32_t sampleIndex; local
352 if (track->sampleTable->findThumbnailSample(&sampleIndex) == OK
354 sampleIndex, NULL /* offset */, NULL /* size */,
2049 uint32_t sampleIndex; local
2052 &sampleIndex, findFlags);
2064 sampleIndex, &syncSampleIndex, findFlags);
2070 sampleIndex, NULL, NULL, &sampleTime);
/frameworks/av/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);

Completed in 274 milliseconds