Searched refs:sampleIndex (Results 1 – 8 of 8) 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() 125 (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); 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);
|
D | SampleTable.h | 65 uint32_t sampleIndex, 159 int32_t getCompositionTimeOffset(uint32_t sampleIndex);
|
D | MPEG4Extractor.cpp | 550 uint32_t sampleIndex; in getTrackMetaData() local 553 track->sampleTable->findThumbnailSample(&sampleIndex) == OK in getTrackMetaData() 555 sampleIndex, NULL /* offset */, NULL /* size */, in getTrackMetaData() 4727 uint32_t sampleIndex; in read() local 4730 &sampleIndex, findFlags); in read() 4743 sampleIndex, &syncSampleIndex, findFlags); in read() 4749 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/media/libaaudio/src/utility/ |
D | AAudioUtilities.cpp | 98 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) { in AAudioConvert_floatToPcm16() local 128 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) { in AAudioConvert_pcm16ToFloat() local 146 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) { in AAudio_linearRamp() local 168 for (int sampleIndex = 0; sampleIndex < samplesPerFrame; sampleIndex++) { in AAudio_linearRamp() local
|
/frameworks/av/services/oboeservice/ |
D | AAudioMixer.cpp | 114 for (int sampleIndex = 0; sampleIndex < numSamples; sampleIndex++) { in mixPart() local
|