Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DVarintReader.java146 public static long assembleVarint(byte[] varintBytes, int varintLength, in assembleVarint() argument
150 varint &= ~VARINT_LENGTH_MASKS[varintLength - 1]; in assembleVarint()
152 for (int i = 1; i < varintLength; i++) { in assembleVarint()
DDefaultEbmlReader.java169 int varintLength = VarintReader.parseUnsignedVarintLength(scratch[0]); in maybeResyncToNextLevel1Element() local
170 if (varintLength != C.LENGTH_UNSET && varintLength <= MAX_ID_BYTES) { in maybeResyncToNextLevel1Element()
171 int potentialId = (int) VarintReader.assembleVarint(scratch, varintLength, false); in maybeResyncToNextLevel1Element()
173 input.skipFully(varintLength); in maybeResyncToNextLevel1Element()