Searched refs:sampleIndex (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/extractors/mp4/ |
D | SampleIterator.cpp | 54 status_t SampleIterator::seekTo(uint32_t sampleIndex) { in seekTo() argument 55 ALOGV("seekTo(%d)", sampleIndex); in seekTo() 57 if (sampleIndex >= mTable->mNumSampleSizes) { in seekTo() 69 if (mInitialized && mCurrentSampleIndex == sampleIndex) { in seekTo() 73 if (!mInitialized || sampleIndex < mFirstChunkSampleIndex) { in seekTo() 77 if (sampleIndex >= mStopChunkSampleIndex) { in seekTo() 79 if ((err = findChunkRange(sampleIndex)) != OK) { in seekTo() 85 CHECK(sampleIndex < mStopChunkSampleIndex); in seekTo() 93 (sampleIndex - mFirstChunkSampleIndex) / mSamplesPerChunk in seekTo() 132 (sampleIndex - mFirstChunkSampleIndex) % mSamplesPerChunk; in seekTo() [all …]
|
D | SampleTable.cpp | 58 int32_t getCompositionTimeOffset(uint32_t sampleIndex); 90 uint32_t sampleIndex) { in getCompositionTimeOffset() argument 97 if (sampleIndex < mCurrentEntrySampleIndex) { in getCompositionTimeOffset() 104 if (sampleIndex < mCurrentEntrySampleIndex + sampleCount) { in getCompositionTimeOffset() 664 uint32_t sampleIndex = 0; in buildSampleEntriesTable() local 672 if (sampleIndex < mNumSampleSizes) { in buildSampleEntriesTable() 677 mSampleTimeEntries[sampleIndex].mSampleIndex = sampleIndex; in buildSampleEntriesTable() 681 sampleIndex); in buildSampleEntriesTable() 698 mSampleTimeEntries[sampleIndex].mCompositionTime = in buildSampleEntriesTable() 703 ++sampleIndex; in buildSampleEntriesTable() [all …]
|
D | SampleIterator.h | 30 status_t seekTo(uint32_t sampleIndex); 45 uint32_t sampleIndex, size_t *size); 77 status_t findChunkRange(uint32_t sampleIndex); 79 status_t findSampleTimeAndDuration(uint32_t sampleIndex, uint64_t *time, uint64_t *duration);
|
D | SampleTable.h | 66 uint32_t sampleIndex, 167 int32_t getCompositionTimeOffset(uint32_t sampleIndex);
|
D | MPEG4Extractor.cpp | 604 uint32_t sampleIndex; in getTrackMetaData() local 607 track->sampleTable->findThumbnailSample(&sampleIndex) == OK in getTrackMetaData() 609 sampleIndex, NULL /* offset */, NULL /* size */, in getTrackMetaData() 5626 uint32_t sampleIndex; in read() local 5629 &sampleIndex, findFlags); in read() 5639 uint32_t syncSampleIndex = sampleIndex; in read() 5645 sampleIndex, &syncSampleIndex, findFlags); in read() 5651 sampleIndex, NULL, NULL, &sampleTime); in read()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | SineGenerator.h | 45 int sampleIndex = 0; in render() local 47 buffer[sampleIndex] = (int16_t) (INT16_MAX * sin(mPhase) * mAmplitude); in render() 48 sampleIndex += channelStride; in render() 53 int sampleIndex = 0; in render() local 55 buffer[sampleIndex] = sin(mPhase) * mAmplitude; in render() 56 sampleIndex += channelStride; in render()
|
/frameworks/av/services/oboeservice/ |
D | AAudioMixer.cpp | 114 for (int sampleIndex = 0; sampleIndex < numSamples; sampleIndex++) { in mixPart() local
|