Searched refs:sampleBytesRead (Results 1 – 3 of 3) sorted by relevance
49 private int sampleBytesRead; field in Id3Reader79 sampleBytesRead = 0; in packetStarted()89 if (sampleBytesRead < ID3_HEADER_LENGTH) { in consume()91 int headerBytesAvailable = Math.min(bytesAvailable, ID3_HEADER_LENGTH - sampleBytesRead); in consume()92 System.arraycopy(data.data, data.getPosition(), id3Header.data, sampleBytesRead, in consume()94 if (sampleBytesRead + headerBytesAvailable == ID3_HEADER_LENGTH) { in consume()108 int bytesToWrite = Math.min(bytesAvailable, sampleSize - sampleBytesRead); in consume()110 sampleBytesRead += bytesToWrite; in consume()116 if (!writingSample || sampleSize == 0 || sampleBytesRead != sampleSize) { in packetFinished()
113 private int sampleBytesRead; field in Mp4Extractor163 sampleBytesRead = 0; in seek()513 long skipAmount = position - inputPosition + sampleBytesRead; in readSample()541 sampleBytesRead += nalUnitLengthFieldLength; in readSample()556 sampleBytesRead += writtenBytes; in readSample()572 sampleBytesRead += writtenBytes; in readSample()581 sampleBytesRead = 0; in readSample()
396 private int sampleBytesRead; field in MatroskaExtractor1336 sampleBytesRead++; in writeSampleData()1349 sampleBytesRead += ENCRYPTION_IV_SIZE; in writeSampleData()1367 sampleBytesRead++; in writeSampleData()1375 sampleBytesRead += samplePartitionDataSize; in writeSampleData()1401 int finalPartitionSize = size - sampleBytesRead - partitionOffset; in writeSampleData()1453 while (sampleBytesRead < size) { in writeSampleData()1458 sampleBytesRead += nalUnitLengthFieldLength; in writeSampleData()1468 sampleBytesRead += bytesWritten; in writeSampleData()1478 while (sampleBytesRead < size) { in writeSampleData()[all …]