/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
D | AbstractBoxParser.java | 62 long contentSize; in parseBox() local 69 contentSize = size - 16; in parseBox() 76 contentSize = size - 8; in parseBox() 78 contentSize = size - 8; in parseBox() 85 contentSize -= 16; in parseBox() 93 if (l2i(size - contentSize) == 8) { in parseBox() 97 } else if (l2i(size - contentSize) == 16) { in parseBox() 102 } else if (l2i(size - contentSize) == 24) { in parseBox() 107 } else if (l2i(size - contentSize) == 32) { in parseBox() 118 box.parse(byteChannel, header, contentSize, this); in parseBox()
|
D | IsoFile.java | 76 …public void parse(ReadableByteChannel inFC, ByteBuffer header, long contentSize, AbstractBoxParser… in parse() argument
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
D | MediaDataBox.java | 61 private long contentSize; field in MediaDataBox 99 …transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteCh… in getBox() 134 size += contentSize; in getSize() 138 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 140 this.contentSize = contentSize; in parse() 142 … if (readableByteChannel instanceof FileChannel && (contentSize > AbstractBox.MEM_MAP_THRESHOLD)) { in parse() 145 …annel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); in parse() 147 content = ChannelHelper.readFully(readableByteChannel, l2i(contentSize)); in parse() 170 …ileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFER_SIZE, contentSize - offset)); in getContent()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | FreeBox.java | 95 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 96 if (readableByteChannel instanceof FileChannel && contentSize > 1024 * 1024) { in parse() 98 …l).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); in parse() 99 …annel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); in parse() 101 assert contentSize < Integer.MAX_VALUE; in parse() 102 data = ChannelHelper.readFully(readableByteChannel, contentSize); in parse()
|
D | MediaHeaderBox.java | 64 long contentSize = 4; in getContentSize() local 66 contentSize += 8 + 8 + 4 + 8; in getContentSize() 68 contentSize += 4 + 4 + 4 + 4; in getContentSize() 70 contentSize += 2; in getContentSize() 71 contentSize += 2; in getContentSize() 72 return contentSize; in getContentSize()
|
D | MovieHeaderBox.java | 92 long contentSize = 4; in getContentSize() local 94 contentSize += 28; in getContentSize() 96 contentSize += 16; in getContentSize() 98 contentSize += 80; in getContentSize() 99 return contentSize; in getContentSize()
|
D | TrackHeaderBox.java | 97 long contentSize = 4; in getContentSize() local 99 contentSize += 32; in getContentSize() 101 contentSize += 20; in getContentSize() 103 contentSize += 60; in getContentSize() 104 return contentSize; in getContentSize()
|
D | EditListBox.java | 74 long contentSize = 8; in getContentSize() local 76 contentSize += entries.size() * 20; in getContentSize() 78 contentSize += entries.size() * 12; in getContentSize() 81 return contentSize; in getContentSize()
|
D | KeywordsBox.java | 56 long contentSize = 7; in getContentSize() local 58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1; in getContentSize() 60 return contentSize; in getContentSize()
|
D | UserDataBox.java | 41 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 42 …super.parse(readableByteChannel, header, contentSize, boxParser); //To change body of overridde… in parse()
|
D | Box.java | 50 …void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser… in parse() argument
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
D | TrackFragmentRandomAccessBox.java | 69 long contentSize = 4; in getContentSize() local 70 contentSize += 4 + 4 /*26 + 2 + 2 + 2 */ + 4; in getContentSize() 72 contentSize += (8 + 8) * entries.size(); in getContentSize() 74 contentSize += (4 + 4) * entries.size(); in getContentSize() 76 contentSize += lengthSizeOfTrafNum * entries.size(); in getContentSize() 77 contentSize += lengthSizeOfTrunNum * entries.size(); in getContentSize() 78 contentSize += lengthSizeOfSampleNum * entries.size(); in getContentSize() 79 return contentSize; in getContentSize()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
D | FullContainerBox.java | 68 long contentSize = 4; // flags and version in getContentSize() local 70 contentSize += boxe.getSize(); in getContentSize() 72 return contentSize; in getContentSize() 94 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 96 super.parse(readableByteChannel, header, contentSize, boxParser); in parse()
|
D | AbstractContainerBox.java | 46 long contentSize = 0; in getContentSize() local 48 contentSize += boxe.getSize(); in getContentSize() 50 return contentSize; in getContentSize() 104 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 106 super.parse(readableByteChannel, header, contentSize, boxParser); in parse()
|
D | AbstractBox.java | 103 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 104 if (readableByteChannel instanceof FileChannel && contentSize > MEM_MAP_THRESHOLD) { in parse() 109 …l).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); in parse() 110 …annel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); in parse() 112 assert contentSize < Integer.MAX_VALUE; in parse() 113 content = ChannelHelper.readFully(readableByteChannel, contentSize); in parse()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
D | MpegSampleEntry.java | 27 long contentSize = 8; in getContentSize() local 29 contentSize += boxe.getSize(); in getContentSize() 31 return contentSize; in getContentSize()
|
D | AudioSampleEntry.java | 223 long contentSize = 28; in getContentSize() local 224 contentSize += soundVersion > 0 ? 16 : 0; in getContentSize() 225 contentSize += soundVersion == 2 ? 20 : 0; in getContentSize() 227 contentSize += boxe.getSize(); in getContentSize() 229 return contentSize; in getContentSize()
|
D | TextSampleEntry.java | 78 long contentSize = 18; in getContentSize() local 79 contentSize += boxRecord.getSize(); in getContentSize() 80 contentSize += styleRecord.getSize(); in getContentSize() 82 contentSize += boxe.getSize(); in getContentSize() 84 return contentSize; in getContentSize()
|
D | VisualSampleEntry.java | 174 long contentSize = 78; in getContentSize() local 176 contentSize += boxe.getSize(); in getContentSize() 178 return contentSize; in getContentSize()
|
D | SubtitleSampleEntry.java | 31 … long contentSize = 8 + namespace.length() + schemaLocation.length() + imageMimeType.length() + 3; in getContentSize() local 32 return contentSize; in getContentSize()
|
D | SampleEntry.java | 109 …public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, Bo… in parse() argument 111 super.parse(readableByteChannel, header, contentSize, boxParser); in parse()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ |
D | AbstractSampleEncryptionBox.java | 173 long contentSize = 4; in getContentSize() local 175 contentSize += 4; in getContentSize() 176 contentSize += kid.length; in getContentSize() 178 contentSize += 4; in getContentSize() 180 contentSize += entry.getSize(); in getContentSize() 182 return contentSize; in getContentSize()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/ |
D | FramedLZ4CompressorInputStream.java | 230 byte[] contentSize = new byte[8]; in readFrameDescriptor() 231 int skipped = IOUtils.readFully(in, contentSize); in readFrameDescriptor() 236 contentHash.update(contentSize, 0, contentSize.length); in readFrameDescriptor()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
D | DefaultMp4Builder.java | 380 long contentSize = 0; field in DefaultMp4Builder.InterleaveChunkMdat 390 …parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxP… in parse() argument 413 contentSize += s.limit(); in InterleaveChunkMdat() 444 return 16 + contentSize; in getSize() 447 private boolean isSmallBox(long contentSize) { in isSmallBox() argument 448 return (contentSize + 8) < 4294967296L; in isSmallBox()
|
/external/lz4/lib/ |
D | lz4frame.c | 373 if (prefs.frameInfo.contentSize != 0) in LZ4F_compressFrame_usingCDict() 374 … prefs.frameInfo.contentSize = (U64)srcSize; /* auto-correct content size if selected (!=0) */ in LZ4F_compressFrame_usingCDict() 659 + ((cctxPtr->prefs.frameInfo.contentSize > 0) << 3) in LZ4F_compressBegin_usingCDict() 665 if (cctxPtr->prefs.frameInfo.contentSize) { in LZ4F_compressBegin_usingCDict() 666 LZ4F_writeLE64(dstPtr, cctxPtr->prefs.frameInfo.contentSize); in LZ4F_compressBegin_usingCDict() 966 if (cctxPtr->prefs.frameInfo.contentSize) { in LZ4F_compressEnd() 967 if (cctxPtr->prefs.frameInfo.contentSize != cctxPtr->totalInSize) in LZ4F_compressEnd() 1162 dctx->frameInfo.contentSize = LZ4F_readLE64(srcPtr+6); in LZ4F_decodeHeader() 1458 if (dctx->frameInfo.contentSize) in LZ4F_decompress() 1562 if (dctx->frameInfo.contentSize) in LZ4F_decompress() [all …]
|