Searched refs:atomData (Results 1 – 3 of 3) sorted by relevance
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/ |
D | PsshAtomUtil.java | 158 ParsableByteArray atomData = new ParsableByteArray(atom); in parsePsshAtom() local 159 if (atomData.limit() < Atom.FULL_HEADER_SIZE + 16 /* UUID */ + 4 /* DataSize */) { in parsePsshAtom() 163 atomData.setPosition(0); in parsePsshAtom() 164 int atomSize = atomData.readInt(); in parsePsshAtom() 165 if (atomSize != atomData.bytesLeft() + 4) { in parsePsshAtom() 169 int atomType = atomData.readInt(); in parsePsshAtom() 174 int atomVersion = Atom.parseFullAtomVersion(atomData.readInt()); in parsePsshAtom() 179 UUID uuid = new UUID(atomData.readLong(), atomData.readLong()); in parsePsshAtom() 181 int keyIdCount = atomData.readUnsignedIntToInt(); in parsePsshAtom() 182 atomData.skipBytes(16 * keyIdCount); in parsePsshAtom() [all …]
|
D | Mp4Extractor.java | 110 @Nullable private ParsableByteArray atomData; field in Mp4Extractor 326 atomData = new ParsableByteArray((int) atomSize); in readAtomHeader() 327 System.arraycopy(atomHeader.data, 0, atomData.data, 0, Atom.HEADER_SIZE); in readAtomHeader() 330 atomData = null; in readAtomHeader() 347 if (atomData != null) { in readAtomPayload() 348 input.readFully(atomData.data, atomHeaderBytesRead, (int) atomPayloadSize); in readAtomPayload() 350 isQuickTime = processFtypAtom(atomData); in readAtomPayload() 352 containerAtoms.peek().add(new Atom.LeafAtom(atomType, atomData)); in readAtomPayload() 762 private static boolean processFtypAtom(ParsableByteArray atomData) { in processFtypAtom() argument 763 atomData.setPosition(Atom.HEADER_SIZE); in processFtypAtom() [all …]
|
D | FragmentedMp4Extractor.java | 158 @Nullable private ParsableByteArray atomData; field in FragmentedMp4Extractor 407 atomData = new ParsableByteArray((int) atomSize); in readAtomHeader() 408 System.arraycopy(atomHeader.data, 0, atomData.data, 0, Atom.HEADER_SIZE); in readAtomHeader() 414 atomData = null; in readAtomHeader() 423 if (atomData != null) { in readAtomPayload() 424 input.readFully(atomData.data, Atom.HEADER_SIZE, atomPayloadSize); in readAtomPayload() 425 onLeafAtomRead(new LeafAtom(atomType, atomData), input.getPosition()); in readAtomPayload()
|