Home
last modified time | relevance | path

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

/external/opencore/fileformats/mp4/parser/src/
Dsampletochunkatom.cpp627 uint32 firstChunkCurrentRun = 0; // chunk number of first chunk in this run in getFirstSampleNumInChunk() local
643firstChunkCurrentRun = _pfirstChunkVec[i%_stbl_buff_size]; // Get first chunk number for run i in getFirstSampleNumInChunk()
645 if (chunkNum < firstChunkCurrentRun) in getFirstSampleNumInChunk()
656firstChunkCurrentRun = _pfirstChunkVec[(int32)((i-1)%_stbl_buff_size)]; // Backtrack to last run in getFirstSampleNumInChunk()
659 uint32 chunkOffset = chunkNum - firstChunkCurrentRun; // Offset from firstChunk in getFirstSampleNumInChunk()
665 else if (chunkNum == firstChunkCurrentRun) in getFirstSampleNumInChunk()
683 int32 numChunks = firstChunkNextRun - firstChunkCurrentRun; in getFirstSampleNumInChunk()
693firstChunkCurrentRun = _pfirstChunkVec[i%_stbl_buff_size]; // Get first chunk number for this run in getFirstSampleNumInChunk()
696 uint32 chunkOffset = chunkNum - firstChunkCurrentRun; // Offset from firstChunk in getFirstSampleNumInChunk()