OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sampleIndex
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/media/libstagefright/
SampleIterator.cpp
54
status_t SampleIterator::seekTo(uint32_t
sampleIndex
) {
55
LOGV("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
- mFirstChunkSampleIndex) % mSamplesPerChunk
[
all
...]
SampleTable.cpp
49
uint32_t getCompositionTimeOffset(uint32_t
sampleIndex
);
81
uint32_t
sampleIndex
) {
88
if (
sampleIndex
< mCurrentEntrySampleIndex) {
95
if (
sampleIndex
< mCurrentEntrySampleIndex + sampleCount) {
490
uint32_t
sampleIndex
= 0;
498
if (
sampleIndex
< mNumSampleSizes) {
503
mSampleTimeEntries[
sampleIndex
].mSampleIndex =
sampleIndex
;
507
sampleIndex
);
509
mSampleTimeEntries[
sampleIndex
].mCompositionTime
[
all
...]
AVIExtractor.cpp
1056
size_t
sampleIndex
= 0;
1060
trackIndex,
sampleIndex
, &offset, &size, &isKey, &timeUs);
1070
++
sampleIndex
;
1104
size_t trackIndex, size_t
sampleIndex
,
1113
if (
sampleIndex
>= track.mSamples.size()) {
1117
const SampleInfo &info = track.mSamples.itemAt(
sampleIndex
);
1147
if (
sampleIndex
== 0) {
1151
track.mFirstChunkSize + track.mAvgChunkSize * (
sampleIndex
- 1);
1154
sampleIndex
= sampleStartInBytes / track.mBytesPerSample;
1157
*sampleTimeUs = (
sampleIndex
* 1000000ll * track.mRate) / track.mScale
[
all
...]
MPEG4Extractor.cpp
348
uint32_t
sampleIndex
;
350
if (track->sampleTable->findThumbnailSample(&
sampleIndex
) == OK
352
sampleIndex
, NULL /* offset */, NULL /* size */,
[
all
...]
/frameworks/base/media/libstagefright/include/
SampleIterator.h
26
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);
AVIExtractor.h
96
size_t trackIndex, size_t
sampleIndex
,
101
size_t trackIndex, size_t
sampleIndex
, int64_t *sampleTimeUs);
106
size_t *
sampleIndex
) const;
SampleTable.h
65
uint32_t
sampleIndex
,
141
uint32_t getCompositionTimeOffset(uint32_t
sampleIndex
);
/frameworks/base/libs/ui/tests/
InputPublisherAndConsumer_test.cpp
202
size_t
sampleIndex
= i + 1;
203
status = mPublisher->appendMotionSample(sampleEventTimes[
sampleIndex
],
204
samplePointerCoords.array() +
sampleIndex
* pointerCount);
214
size_t
sampleIndex
= i + 1 + samplesToAppendBeforeDispatch;
215
status = mPublisher->appendMotionSample(sampleEventTimes[
sampleIndex
],
216
samplePointerCoords.array() +
sampleIndex
* pointerCount);
258
for (size_t
sampleIndex
= 0;
sampleIndex
< lastSampleIndex;
sampleIndex
++) {
259
SCOPED_TRACE(
sampleIndex
);
[
all
...]
Completed in 51 milliseconds