Searched defs:sampleIndex (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/extractors/mp4/
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
125 (sampleIndex
[all...]
H A DSampleTable.cpp58 int32_t getCompositionTimeOffset(uint32_t sampleIndex);
90 uint32_t sampleIndex) {
97 if (sampleIndex < mCurrentEntrySampleIndex) {
104 if (sampleIndex < mCurrentEntrySampleIndex + sampleCount) {
664 uint32_t sampleIndex = 0; local
672 if (sampleIndex < mNumSampleSizes) {
677 mSampleTimeEntries[sampleIndex].mSampleIndex = sampleIndex;
681 sampleIndex);
698 mSampleTimeEntries[sampleIndex]
89 getCompositionTimeOffset( uint32_t sampleIndex) argument
943 getSampleSize_l( uint32_t sampleIndex, size_t *sampleSize) argument
949 getMetaDataForSample( uint32_t sampleIndex, off64_t *offset, size_t *size, uint32_t *compositionTime, bool *isSyncSample, uint32_t *sampleDuration) argument
1004 getCompositionTimeOffset(uint32_t sampleIndex) argument
[all...]
H A DMPEG4Extractor.cpp531 0 /* sampleIndex */, &offset, &size, NULL /* sampleTime */) == OK) {
550 uint32_t sampleIndex; local
553 track->sampleTable->findThumbnailSample(&sampleIndex) == OK
555 sampleIndex, NULL /* offset */, NULL /* size */,
4727 uint32_t sampleIndex; local
4730 &sampleIndex, findFlags);
4743 sampleIndex, &syncSampleIndex, findFlags);
4749 sampleIndex, NULL, NULL, &sampleTime);
/frameworks/av/media/libaaudio/examples/utils/
H A DSineGenerator.h45 int sampleIndex = 0; local
47 buffer[sampleIndex] = (int16_t) (INT16_MAX * sin(mPhase) * mAmplitude);
48 sampleIndex += channelStride;
53 int sampleIndex = 0; local
55 buffer[sampleIndex] = sin(mPhase) * mAmplitude;
56 sampleIndex += channelStride;

Completed in 76 milliseconds