Home
last modified time | relevance | path

Searched refs:sampleNum (Results 1 – 17 of 17) sorted by relevance

/external/opencore/fileformats/mp4/parser/src/
Dsyncsampleatom.cpp116 SyncSampleAtom::getSyncSampleFollowing(uint32 sampleNum) const in getSyncSampleFollowing()
120 while (sync < sampleNum) in getSyncSampleFollowing()
137 if (sync == sampleNum) in getSyncSampleFollowing()
158 SyncSampleAtom::getSyncSampleBefore(uint32 sampleNum) const in getSyncSampleBefore()
166 while ((sync < sampleNum) && in getSyncSampleBefore()
174 if (sync <= sampleNum) in getSyncSampleBefore()
186 SyncSampleAtom::IsSyncSample(uint32 sampleNum) const in IsSyncSample()
190 if ((_psampleNumbers[count] - 1) == sampleNum) in IsSyncSample()
Dsampletochunkatom.cpp411 SampleToChunkAtom::getChunkNumberForSampleGet(uint32 sampleNum) in getChunkNumberForSampleGet() argument
424 if (sampleNum < _currGetSampleCount) in getChunkNumberForSampleGet()
444 if (sampleNum < _currGetSampleCount) in getChunkNumberForSampleGet()
450 …SER_LOGERROR((0, "ERROR=>SampleToChunkAtom::getChunkNumberForSampleGet sampleNum= %d", sampleNum)); in getChunkNumberForSampleGet()
483 if (sampleNum < _currGetSampleCount) in getChunkNumberForSampleGet()
489 …SER_LOGERROR((0, "ERROR=>SampleToChunkAtom::getChunkNumberForSampleGet sampleNum= %d", sampleNum)); in getChunkNumberForSampleGet()
515 if (sampleNum < _currGetSampleCount) in getChunkNumberForSampleGet()
521 …SER_LOGERROR((0, "ERROR=>SampleToChunkAtom::getChunkNumberForSampleGet sampleNum= %d", sampleNum)); in getChunkNumberForSampleGet()
537 SampleToChunkAtom::getChunkNumberForSample(uint32 sampleNum) in getChunkNumberForSample() argument
570 if (count < sampleNum) in getChunkNumberForSample()
[all …]
Dtimetosampleatom.cpp524 TimeToSampleAtom::getTimeDeltaForSampleNumberPeek(uint32 sampleNum) in getTimeDeltaForSampleNumberPeek() argument
536 if (sampleNum < _currPeekSampleCount) in getTimeDeltaForSampleNumberPeek()
557 if (sampleNum < _currPeekSampleCount) in getTimeDeltaForSampleNumberPeek()
563 …GERROR((0, "ERROR =>TimeToSampleAtom::getTimeDeltaForSampleNumberPeek sampleNum = %d", sampleNum)); in getTimeDeltaForSampleNumberPeek()
575 TimeToSampleAtom::getTimeDeltaForSampleNumberGet(uint32 sampleNum) in getTimeDeltaForSampleNumberGet() argument
587 if (sampleNum < _currGetSampleCount) in getTimeDeltaForSampleNumberGet()
608 if (sampleNum < _currGetSampleCount) in getTimeDeltaForSampleNumberGet()
614 …OGERROR((0, "ERROR =>TimeToSampleAtom::getTimeDeltaForSampleNumberGet sampleNum = %d", sampleNum)); in getTimeDeltaForSampleNumberGet()
625 uint32 sampleNum = 0; in resetStateVariables() local
626 return (resetStateVariables(sampleNum)); in resetStateVariables()
[all …]
Dcompositionoffsetatom.cpp399 CompositionOffsetAtom::getTimeOffsetForSampleNumberPeek(uint32 sampleNum) in getTimeOffsetForSampleNumberPeek() argument
411 if (sampleNum < _currPeekSampleCount) in getTimeOffsetForSampleNumberPeek()
432 if (sampleNum < _currPeekSampleCount) in getTimeOffsetForSampleNumberPeek()
438 …((0, "ERROR =>CompositionOffsetAtom::getTimeOffsetForSampleNumberPeek sampleNum = %d", sampleNum)); in getTimeOffsetForSampleNumberPeek()
448 int32 CompositionOffsetAtom::getTimeOffsetForSampleNumberGet(uint32 sampleNum) in getTimeOffsetForSampleNumberGet() argument
458 if (sampleNum < _currGetSampleCount) in getTimeOffsetForSampleNumberGet()
479 if (sampleNum < _currGetSampleCount) in getTimeOffsetForSampleNumberGet()
485 …OGERROR((0, "ERROR =>TimeToSampleAtom::getTimeDeltaForSampleNumberGet sampleNum = %d", sampleNum)); in getTimeOffsetForSampleNumberGet()
608 uint32 sampleNum = 0; in resetStateVariables() local
609 return (resetStateVariables(sampleNum)); in resetStateVariables()
[all …]
Dsampletableatom.cpp498 SampleTableAtom::getSample(uint32 sampleNum, uint8 *buf, int32 &size, uint32 &index, uint32 &Sample… in getSample() argument
510 if (sampleNum >= numSamples) in getSample()
517 int32 sampleSize = _psampleSizeAtom->getSampleSizeAt(sampleNum); in getSample()
525 int32 chunk = _psampleToChunkAtom->getChunkNumberForSampleGet(sampleNum); in getSample()
557 for (uint32 i = first; i < sampleNum; i++) in getSample()
613 if (sampleNum == 0) in getSample()
2350 uint32 sampleNum = startSampleNum; in getNextNSamples() local
2386 if (sampleNum >= totalnumSamples) in getNextNSamples()
2414 getChunkNumberForSampleGet(sampleNum); in getNextNSamples()
2440 (sampleNum - FirstSampleNumInChunk); in getNextNSamples()
[all …]
Dtrackfragmentatom.cpp503 uint32 sampleNum = startSampleNum; in getNextNSamples() local
525 if (sampleNum >= totalnumSamples) in getNextNSamples()
737 sampleNum = sampleNum + numSamples; in getNextNSamples()
949 uint32 sampleNum = startSampleNum; in peekNextNSamples() local
960 if (sampleNum >= totalnumSamples) in peekNextNSamples()
Dmpeg4file.cpp1812 int32 Mpeg4File::getSampleSizeAt(uint32 id, int32 sampleNum) in getSampleSizeAt() argument
1822 return (trackAtom->getSampleSizeAt(sampleNum)); in getSampleSizeAt()
/external/opencore/fileformats/mp4/parser/include/
Dsampletochunkatom.h65 uint32 getChunkNumberForSample(uint32 sampleNum);
66 uint32 getChunkNumberForSampleGet(uint32 sampleNum);
90 uint32 getSamplesPerChunkCorrespondingToSample(uint32 sampleNum) ;
93 int32 resetStateVariables(uint32 sampleNum);
95 uint32 getChunkNumberForSamplePeek(uint32 sampleNum);
Dsampletableatom.h173 int32 getSampleSizeAt(int32 sampleNum) in getSampleSizeAt() argument
175 return getSampleSizeAtom().getSampleSizeAt(sampleNum); in getSampleSizeAt()
387 void advance(int32 sampleNum) in advance() argument
389 … _currentPlaybackSampleNumber = sampleNum; // Advances the currentPlayback number to sampleNum in advance()
436 bool IsSyncSample(uint32 sampleNum) in IsSyncSample() argument
440 return (_psyncSampleAtom->IsSyncSample(sampleNum)); in IsSyncSample()
520 … int32 getSample(uint32 sampleNum, uint8 *buf, int32 &size, uint32 &index, uint32 &SampleOffset);
Dmediainformationatom.h310 int32 getSampleSizeAt(int32 sampleNum) in getSampleSizeAt() argument
314 return _psampleTableAtom->getSampleSizeAt(sampleNum); in getSampleSizeAt()
360 void advance(int32 sampleNum) in advance() argument
364 _psampleTableAtom->advance(sampleNum); in advance()
Dmediaatom.h286 int32 getSampleSizeAt(int32 sampleNum) in getSampleSizeAt() argument
290 return _pmediaInformation->getSampleSizeAt(sampleNum); in getSampleSizeAt()
337 void advance(int32 sampleNum) in advance() argument
341 _pmediaInformation->advance(sampleNum); in advance()
Dcompositionoffsetatom.h72 int32 getTimeOffsetForSampleNumberPeek(uint32 sampleNum);
78 int32 resetStateVariables(uint32 sampleNum);
Dsyncsampleatom.h69 bool IsSyncSample(uint32 sampleNum) const;
Dtimetosampleatom.h71 int32 resetStateVariables(uint32 sampleNum);
Dtrackatom.h283 int32 getSampleSizeAt(int32 sampleNum) in getSampleSizeAt() argument
287 return _pmediaAtom->getSampleSizeAt(sampleNum); in getSampleSizeAt()
Dimpeg4file.h172 virtual int32 getSampleSizeAt(uint32 id, int32 sampleNum) = 0;
Dmpeg4file.h204 int32 getSampleSizeAt(uint32 id, int32 sampleNum) ;