OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sampleIndex
(Results
1 - 9
of
9
) sorted by null
/frameworks/av/media/libstagefright/
SampleIterator.cpp
54
status_t SampleIterator::seekTo(uint32_t
sampleIndex
) {
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);
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
1057
size_t
sampleIndex
= 0;
1061
trackIndex,
sampleIndex
, &offset, &size, &isKey, &timeUs);
1071
++
sampleIndex
;
1105
size_t trackIndex, size_t
sampleIndex
,
1114
if (
sampleIndex
>= track.mSamples.size()) {
1118
const SampleInfo &info = track.mSamples.itemAt(
sampleIndex
);
1148
if (
sampleIndex
== 0) {
1152
track.mFirstChunkSize + track.mAvgChunkSize * (
sampleIndex
- 1);
1155
sampleIndex
= sampleStartInBytes / track.mBytesPerSample;
1158
*sampleTimeUs = (
sampleIndex
* 1000000ll * track.mRate) / track.mScale
[
all
...]
MPEG4Extractor.cpp
444
uint32_t
sampleIndex
;
446
if (track->sampleTable->findThumbnailSample(&
sampleIndex
) == OK
448
sampleIndex
, NULL /* offset */, NULL /* size */,
[
all
...]
/frameworks/av/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
);
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
SampleList.java
52
int
sampleIndex
= 0;
66
long sampleSize = sizes[
sampleIndex
];
67
offsets[
sampleIndex
] = sampleOffset;
69
sampleIndex
++;
/external/chromium-trace/
script.js
27
base.exportTo("tracing",function(){function d(b,a){this.track=b;this.slice=a}function c(b,a,e){this.track=b;this.counter=a;this.
sampleIndex
=e}function a(){this.bounds_dirty_=!0;this.bounds_=new base.Range;this.length_=0}d.prototype={get selected(){return this.slice.selected},set selected(b){this.slice.selected=b}};c.prototype={get selected(){return!0==this.track.selectedSamples[this.
sampleIndex
]},set selected(b){this.track.selectedSamples[this.
sampleIndex
]=b?!0:!1;this.track.invalidate()}};a.prototype=
[
all
...]
Completed in 691 milliseconds