Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DMp4Extractor.java115 private int sampleCurrentNalBytesRemaining; field in Mp4Extractor
165 sampleCurrentNalBytesRemaining = 0; in seek()
538 if (sampleCurrentNalBytesRemaining == 0) { in readSample()
547 sampleCurrentNalBytesRemaining = nalLengthInt; in readSample()
555 int writtenBytes = trackOutput.sampleData(input, sampleCurrentNalBytesRemaining, false); in readSample()
558 sampleCurrentNalBytesRemaining -= writtenBytes; in readSample()
574 sampleCurrentNalBytesRemaining -= writtenBytes; in readSample()
583 sampleCurrentNalBytesRemaining = 0; in readSample()
DFragmentedMp4Extractor.java168 private int sampleCurrentNalBytesRemaining; field in FragmentedMp4Extractor
1293 sampleCurrentNalBytesRemaining = 0; in readSample()
1317 if (sampleCurrentNalBytesRemaining == 0) { in readSample()
1325 sampleCurrentNalBytesRemaining = nalLengthInt - 1; in readSample()
1339 nalBuffer.reset(sampleCurrentNalBytesRemaining); in readSample()
1340 input.readFully(nalBuffer.data, 0, sampleCurrentNalBytesRemaining); in readSample()
1341 output.sampleData(nalBuffer, sampleCurrentNalBytesRemaining); in readSample()
1342 writtenBytes = sampleCurrentNalBytesRemaining; in readSample()
1351 writtenBytes = output.sampleData(input, sampleCurrentNalBytesRemaining, false); in readSample()
1354 sampleCurrentNalBytesRemaining -= writtenBytes; in readSample()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DMatroskaExtractor.java398 private int sampleCurrentNalBytesRemaining; field in MatroskaExtractor
1454 if (sampleCurrentNalBytesRemaining == 0) { in writeSampleData()
1460 sampleCurrentNalBytesRemaining = nalLength.readUnsignedIntToInt(); in writeSampleData()
1467 int bytesWritten = writeToOutput(input, output, sampleCurrentNalBytesRemaining); in writeSampleData()
1470 sampleCurrentNalBytesRemaining -= bytesWritten; in writeSampleData()
1514 sampleCurrentNalBytesRemaining = 0; in resetWriteSampleData()