Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DSniffer.java101 long atomSize = buffer.readUnsignedInt(); in sniffInternal() local
103 if (atomSize == Atom.DEFINES_LARGE_SIZE) { in sniffInternal()
108 atomSize = buffer.readLong(); in sniffInternal()
109 } else if (atomSize == Atom.EXTENDS_TO_END_SIZE) { in sniffInternal()
113 atomSize = fileEndPosition - input.getPeekPosition() + headerSize; in sniffInternal()
117 if (atomSize < headerSize) { in sniffInternal()
126 bytesToSearch += (int) atomSize; in sniffInternal()
141 if (bytesSearched + atomSize - headerSize >= bytesToSearch) { in sniffInternal()
146 int atomDataSize = (int) (atomSize - headerSize); in sniffInternal()
DMetadataUtil.java412 int atomSize = ilst.readInt(); in parseMdtaMetadataEntryFromIlst() local
417 int dataSize = atomSize - 16; in parseMdtaMetadataEntryFromIlst()
422 ilst.setPosition(atomPosition + atomSize); in parseMdtaMetadataEntryFromIlst()
430 int atomSize = data.readInt(); in parseTextAttribute() local
434 String value = data.readNullTerminatedString(atomSize - 16); in parseTextAttribute()
443 int atomSize = data.readInt(); in parseCommentAttribute() local
447 String value = data.readNullTerminatedString(atomSize - 16); in parseCommentAttribute()
477 int atomSize = data.readInt(); in parseIndexAndCountAttribute() local
479 if (atomType == Atom.TYPE_data && atomSize >= 22) { in parseIndexAndCountAttribute()
512 int atomSize = data.readInt(); in parseCoverArt() local
[all …]
DMp4Extractor.java108 private long atomSize; field in Mp4Extractor
280 atomSize = atomHeader.readUnsignedInt(); in readAtomHeader()
284 if (atomSize == Atom.DEFINES_LARGE_SIZE) { in readAtomHeader()
289 atomSize = atomHeader.readUnsignedLongToLong(); in readAtomHeader()
290 } else if (atomSize == Atom.EXTENDS_TO_END_SIZE) { in readAtomHeader()
301 atomSize = endPosition - input.getPosition() + atomHeaderBytesRead; in readAtomHeader()
305 if (atomSize < atomHeaderBytesRead) { in readAtomHeader()
310 long endPosition = input.getPosition() + atomSize - atomHeaderBytesRead; in readAtomHeader()
311 if (atomSize != atomHeaderBytesRead && atomType == Atom.TYPE_meta) { in readAtomHeader()
315 if (atomSize == atomHeaderBytesRead) { in readAtomHeader()
[all …]
DPsshAtomUtil.java164 int atomSize = atomData.readInt(); in parsePsshAtom() local
165 if (atomSize != atomData.bytesLeft() + 4) { in parsePsshAtom()
DFragmentedMp4Extractor.java156 private long atomSize; field in FragmentedMp4Extractor
341 atomSize = atomHeader.readUnsignedInt(); in readAtomHeader()
345 if (atomSize == Atom.DEFINES_LARGE_SIZE) { in readAtomHeader()
350 atomSize = atomHeader.readUnsignedLongToLong(); in readAtomHeader()
351 } else if (atomSize == Atom.EXTENDS_TO_END_SIZE) { in readAtomHeader()
359 atomSize = endPosition - input.getPosition() + atomHeaderBytesRead; in readAtomHeader()
363 if (atomSize < atomHeaderBytesRead) { in readAtomHeader()
381 endOfMdatPosition = atomPosition + atomSize; in readAtomHeader()
392 long endPosition = input.getPosition() + atomSize - Atom.HEADER_SIZE; in readAtomHeader()
394 if (atomSize == atomHeaderBytesRead) { in readAtomHeader()
[all …]
DAtomParsers.java534 int atomSize = udtaData.readInt(); in parseUdta() local
538 return parseUdtaMeta(udtaData, atomPosition + atomSize); in parseUdta()
540 udtaData.setPosition(atomPosition + atomSize); in parseUdta()
582 int atomSize = ilst.readInt(); in parseMdtaFromMeta() local
588 MetadataUtil.parseMdtaMetadataEntryFromIlst(ilst, atomPosition + atomSize, key); in parseMdtaFromMeta()
595 ilst.setPosition(atomPosition + atomSize); in parseMdtaFromMeta()
605 int atomSize = meta.readInt(); in parseUdtaMeta() local
609 return parseIlst(meta, atomPosition + atomSize); in parseUdtaMeta()
611 meta.setPosition(atomPosition + atomSize); in parseUdtaMeta()
837 int atomSize, in parseTextSampleEntry() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp191 ReferenceMemory (size_t size, size_t atomSize) in ReferenceMemory() argument
192 : m_atomSize (atomSize) in ReferenceMemory()
195 , m_flushed (size / atomSize, false) in ReferenceMemory()
623 const VkDeviceSize atomSize = nonCoherentAtomSize; in testMemoryMapping() local
627 …fig.allocationSize % atomSize == 0) ? config.allocationSize : config.allocationSize + (atomSize - … in testMemoryMapping()
661 … (config.mapping.size % atomSize == 0) ? config.mapping.size : config.mapping.size + (atomSize - (… in testMemoryMapping()
662 … (config.mapping.offset % atomSize == 0) ? config.mapping.offset : config.mapping.offset - (confi… in testMemoryMapping()
673 log << TestLog::Message << "AtomSize: " << atomSize << TestLog::EndMessage; in testMemoryMapping()
695 …].offset % atomSize == 0) ? config.flushMappings[ndx].offset : config.flushMappings[ndx].offset - … in testMemoryMapping()
696 ….size % atomSize == 0) ? config.flushMappings[ndx].size : config.flushMappings[ndx].size + (atomSi… in testMemoryMapping()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/tx3g/
DTx3gDecoder.java136 int atomSize = parsableByteArray.readInt(); in decode() local
150 parsableByteArray.setPosition(position + atomSize); in decode()