Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DDefaultEbmlReader.java61 private long elementContentSize; field in DefaultEbmlReader
105 elementContentSize = varintReader.readUnsignedVarint(input, false, true, MAX_LENGTH_BYTES); in read()
113 long elementEndPosition = elementContentPosition + elementContentSize; in read()
115 processor.startMasterElement(elementId, elementContentPosition, elementContentSize); in read()
119 if (elementContentSize > MAX_INTEGER_ELEMENT_SIZE_BYTES) { in read()
120 throw new ParserException("Invalid integer size: " + elementContentSize); in read()
122 processor.integerElement(elementId, readInteger(input, (int) elementContentSize)); in read()
126 if (elementContentSize != VALID_FLOAT32_ELEMENT_SIZE_BYTES in read()
127 && elementContentSize != VALID_FLOAT64_ELEMENT_SIZE_BYTES) { in read()
128 throw new ParserException("Invalid float size: " + elementContentSize); in read()
[all …]