Searched refs:sampleIndex (Results 1 – 10 of 10) sorted by relevance
/aosp12/frameworks/av/media/extractors/mp4/ |
H A D | SampleIterator.cpp | 54 ALOGV("seekTo(%d)", sampleIndex); in seekTo() 56 if (sampleIndex >= mTable->mNumSampleSizes) { in seekTo() 76 if (sampleIndex >= mStopChunkSampleIndex) { in seekTo() 84 CHECK(sampleIndex < mStopChunkSampleIndex); in seekTo() 139 if (sampleIndex < mTTSSampleIndex) { in seekTo() 154 mCurrentSampleIndex = sampleIndex; in seekTo() 162 CHECK(sampleIndex >= mFirstChunkSampleIndex); in findChunkRange() 164 while (sampleIndex >= mStopChunkSampleIndex) { in findChunkRange() 238 uint32_t sampleIndex, size_t *size) { in getSampleSizeDirect() argument 241 if (sampleIndex >= mTable->mNumSampleSizes) { in getSampleSizeDirect() [all …]
|
H A D | SampleTable.cpp | 58 int32_t getCompositionTimeOffset(uint32_t sampleIndex); 90 uint32_t sampleIndex) { in getCompositionTimeOffset() argument 97 if (sampleIndex < mCurrentEntrySampleIndex) { in getCompositionTimeOffset() 663 uint32_t sampleIndex = 0; in buildSampleEntriesTable() local 671 if (sampleIndex < mNumSampleSizes) { in buildSampleEntriesTable() 676 mSampleTimeEntries[sampleIndex].mSampleIndex = sampleIndex; in buildSampleEntriesTable() 680 sampleIndex); in buildSampleEntriesTable() 702 ++sampleIndex; in buildSampleEntriesTable() 943 uint32_t sampleIndex, size_t *sampleSize) { in getSampleSize_l() argument 945 sampleIndex, sampleSize); in getSampleSize_l() [all …]
|
H A 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);
|
H A D | SampleTable.h | 66 uint32_t sampleIndex, 167 int32_t getCompositionTimeOffset(uint32_t sampleIndex);
|
H A D | MPEG4Extractor.cpp | 644 uint32_t sampleIndex; in getTrackMetaData() local 647 track->sampleTable->findThumbnailSample(&sampleIndex) == OK in getTrackMetaData() 649 sampleIndex, NULL /* offset */, NULL /* size */, in getTrackMetaData() 6179 uint32_t sampleIndex; in read() local 6182 &sampleIndex, findFlags); in read() 6192 uint32_t syncSampleIndex = sampleIndex; in read() 6199 sampleIndex, &syncSampleIndex, findFlags); in read() 6205 sampleIndex, NULL, NULL, &sampleTime); in read()
|
/aosp12/frameworks/av/media/libaaudio/examples/utils/ |
H A D | SineGenerator.h | 51 int sampleIndex = 0; in render() local 54 sampleIndex += channelStride; in render() 59 int sampleIndex = 0; in render() local 61 buffer[sampleIndex] = next(); in render() 62 sampleIndex += channelStride; in render() 67 int sampleIndex = 0; in render() local 70 sampleIndex += channelStride; in render() 75 int sampleIndex = 0; in render24() local 84 buffer[sampleIndex + 1] = usample >> 8; in render24() 88 buffer[sampleIndex + 1] = usample >> 8; in render24() [all …]
|
/aosp12/frameworks/av/services/oboeservice/ |
H A D | AAudioMixer.cpp | 110 for (int sampleIndex = 0; sampleIndex < numSamples; sampleIndex++) { in mixPart() local
|
/aosp12/frameworks/av/media/libmediatranscoding/transcoder/tests/ |
H A D | MediaSampleReaderNDKTests.cpp | 242 for (size_t sampleIndex = 0; sampleIndex < readerSamples[trackIndex].size(); in compareSamples() local 243 sampleIndex++) { in compareSamples() 244 EXPECT_EQ(readerSamples[trackIndex][sampleIndex], in compareSamples() 245 mExtractorSamples[trackIndex][sampleIndex]); in compareSamples()
|
/aosp12/frameworks/av/media/libmediatranscoding/transcoder/include/media/ |
H A D | MediaSampleReaderNDK.h | 71 void set(uint64_t sampleIndex, int64_t sampleTimeUs) { in set() 72 index = sampleIndex; in set()
|
/aosp12/system/chre/platform/slpi/see/ |
H A D | see_helper.cc | 105 size_t sampleIndex; member 752 size_t index = data->sampleIndex; in populateEventSample() 894 if (data->sampleIndex == 0) { in populateEventSample() 1346 info->data->sampleIndex++; in decodeSnsClientEventMsg() 1474 allocateEvent(info.data->sensorType, info.data->sampleIndex))); in prepareSensorEvent() 1485 header->readingCount = info.data->sampleIndex; in prepareSensorEvent() 1489 info.data->totalSamples = info.data->sampleIndex; in prepareSensorEvent() 1493 info.data->sampleIndex = 0; in prepareSensorEvent() 1591 if (data->info.data->sampleIndex > 0) { in handleSnsClientEventMsg()
|