Searched refs:atomSize (Results 1 – 9 of 9) sorted by relevance
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/ |
D | Sniffer.java | 101 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()
|
D | MetadataUtil.java | 412 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 …]
|
D | Mp4Extractor.java | 108 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 …]
|
D | FragmentedMp4Extractor.java | 156 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 …]
|
D | PsshAtomUtil.java | 164 int atomSize = atomData.readInt(); in parsePsshAtom() local 165 if (atomSize != atomData.bytesLeft() + 4) { in parsePsshAtom()
|
D | AtomParsers.java | 534 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/ |
D | vktMemoryMappingTests.cpp | 189 ReferenceMemory (size_t size, size_t atomSize) in ReferenceMemory() argument 190 : m_atomSize (atomSize) in ReferenceMemory() 193 , m_flushed (size / atomSize, false) in ReferenceMemory() 568 const VkDeviceSize atomSize = nonCoherentAtomSize; in testMemoryMapping() local 570 …fig.allocationSize % atomSize == 0) ? config.allocationSize : config.allocationSize + (atomSize - … in testMemoryMapping() 591 … (config.mapping.size % atomSize == 0) ? config.mapping.size : config.mapping.size + (atomSize - (… in testMemoryMapping() 592 … (config.mapping.offset % atomSize == 0) ? config.mapping.offset : config.mapping.offset - (confi… in testMemoryMapping() 600 log << TestLog::Message << "AtomSize: " << atomSize << TestLog::EndMessage; in testMemoryMapping() 622 …].offset % atomSize == 0) ? config.flushMappings[ndx].offset : config.flushMappings[ndx].offset - … in testMemoryMapping() 623 ….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/ |
D | Tx3gDecoder.java | 136 int atomSize = parsableByteArray.readInt(); in decode() local 150 parsableByteArray.setPosition(position + atomSize); in decode()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.cpp | 719 size_t atomSize = in updateAlignment() local 728 ASSERT(alignment % atomSize == 0 || atomSize % alignment == 0); in updateAlignment() 729 ASSERT(gl::isPow2(atomSize)); in updateAlignment() 731 alignment = std::max(alignment, atomSize); in updateAlignment() 735 ASSERT(gl::isPow2(atomSize)); in updateAlignment() 739 alignment = std::max(alignment / 3, atomSize) * 3; in updateAlignment()
|