/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
H A D | AbstractBoxParser.java | 62 long contentSize; 69 contentSize = size - 16; 76 contentSize = size - 8; 78 contentSize = size - 8; 85 contentSize -= 16; 93 if (l2i(size - contentSize) == 8) { 97 } else if (l2i(size - contentSize) == 16) { 102 } else if (l2i(size - contentSize) == 24) { 107 } else if (l2i(size - contentSize) == 32) { 118 box.parse(byteChannel, header, contentSize, thi [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
H A D | MpegSampleEntry.java | 27 long contentSize = 8;
29 contentSize += boxe.getSize();
31 return contentSize;
|
H A D | SubtitleSampleEntry.java | 31 long contentSize = 8 + namespace.length() + schemaLocation.length() + imageMimeType.length() + 3; 32 return contentSize;
|
H A D | AudioSampleEntry.java | 223 long contentSize = 28; 224 contentSize += soundVersion > 0 ? 16 : 0; 225 contentSize += soundVersion == 2 ? 20 : 0; 227 contentSize += boxe.getSize(); 229 return contentSize;
|
H A D | TextSampleEntry.java | 78 long contentSize = 18; 79 contentSize += boxRecord.getSize(); 80 contentSize += styleRecord.getSize(); 82 contentSize += boxe.getSize(); 84 return contentSize;
|
H A D | VisualSampleEntry.java | 174 long contentSize = 78; 176 contentSize += boxe.getSize(); 178 return contentSize;
|
H A D | SampleEntry.java | 109 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { argument 111 super.parse(readableByteChannel, header, contentSize, boxParser);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
H A D | MediaDataBox.java | 61 private long contentSize; field in class:MediaDataBox 99 transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteChannel); 134 size += contentSize; 138 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { argument 140 this.contentSize = contentSize; 142 if (readableByteChannel instanceof FileChannel && (contentSize > AbstractBox.MEM_MAP_THRESHOLD)) { 145 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 147 content = ChannelHelper.readFully(readableByteChannel, l2i(contentSize)); 170 cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFER_SIZE, contentSize [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
H A D | FreeBox.java | 95 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { argument 96 if (readableByteChannel instanceof FileChannel && contentSize > 1024 * 1024) { 98 data = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); 99 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 101 assert contentSize < Integer.MAX_VALUE; 102 data = ChannelHelper.readFully(readableByteChannel, contentSize);
|
H A D | MediaHeaderBox.java | 64 long contentSize = 4; 66 contentSize += 8 + 8 + 4 + 8; 68 contentSize += 4 + 4 + 4 + 4; 70 contentSize += 2; 71 contentSize += 2; 72 return contentSize;
|
H A D | UserDataBox.java | 41 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { argument 42 super.parse(readableByteChannel, header, contentSize, boxParser); //To change body of overridden methods use File | Settings | File Templates.
|
H A D | KeywordsBox.java | 56 long contentSize = 7; 58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1; 60 return contentSize;
|
H A D | Box.java | 50 void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException; argument
|
H A D | EditListBox.java | 74 long contentSize = 8; 76 contentSize += entries.size() * 20; 78 contentSize += entries.size() * 12; 81 return contentSize;
|
H A D | MovieHeaderBox.java | 92 long contentSize = 4; 94 contentSize += 28; 96 contentSize += 16; 98 contentSize += 80; 99 return contentSize;
|
H A D | TrackHeaderBox.java | 97 long contentSize = 4; 99 contentSize += 32; 101 contentSize += 20; 103 contentSize += 60; 104 return contentSize;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
H A D | TrackFragmentRandomAccessBox.java | 69 long contentSize = 4; 70 contentSize += 4 + 4 /*26 + 2 + 2 + 2 */ + 4; 72 contentSize += (8 + 8) * entries.size(); 74 contentSize += (4 + 4) * entries.size(); 76 contentSize += lengthSizeOfTrafNum * entries.size(); 77 contentSize += lengthSizeOfTrunNum * entries.size(); 78 contentSize += lengthSizeOfSampleNum * entries.size(); 79 return contentSize;
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
H A D | TextureMapperQt.h | 40 IntRect sourceRect() const { return IntRect(0, 0, contentSize().width(), contentSize().height()); }
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
H A D | AbstractContainerBox.java | 46 long contentSize = 0; 48 contentSize += boxe.getSize(); 50 return contentSize; 104 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { argument 106 super.parse(readableByteChannel, header, contentSize, boxParser);
|
H A D | FullContainerBox.java | 68 long contentSize = 4; // flags and version 70 contentSize += boxe.getSize(); 72 return contentSize; 94 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { argument 96 super.parse(readableByteChannel, header, contentSize, boxParser);
|
H A D | AbstractBox.java | 98 * @param contentSize expected contentSize of the box 103 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException { argument 104 if (readableByteChannel instanceof FileChannel && contentSize > MEM_MAP_THRESHOLD) { 109 content = ((FileChannel) readableByteChannel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) readableByteChannel).position(), contentSize); 110 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize); 112 assert contentSize < Integer.MAX_VALUE; 113 content = ChannelHelper.readFully(readableByteChannel, contentSize);
|
/external/webkit/Source/WebCore/platform/graphics/texmap/ |
H A D | TextureMapper.h | 77 inline IntSize contentSize() const { return m_contentSize; } function in class:WebCore::BitmapTexture 106 drawTexture(texture, IntRect(0, 0, texture.contentSize().width(), texture.contentSize().height()), matrix, opacity, 0);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ |
H A D | AbstractSampleEncryptionBox.java | 173 long contentSize = 4; 175 contentSize += 4; 176 contentSize += kid.length; 178 contentSize += 4; 180 contentSize += entry.getSize(); 182 return contentSize;
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
H A D | CacheResult.h | 44 int64 contentSize() const;
|
/external/skia/legacy/src/images/ |
H A D | SkImageDecoder_libwebp.cpp | 65 const uint32_t contentSize = stream->getLength(); local 67 const uint32_t read_bytes = (contentSize < WEBP_VP8_HEADER_SIZE) ? 68 contentSize : WEBP_VP8_HEADER_SIZE; 175 const uint32_t contentSize = stream->getLength(); local 176 const uint32_t read_buffer_size = (contentSize < WEBP_IDECODE_BUFFER_SZ) ? 177 contentSize : WEBP_IDECODE_BUFFER_SZ; 186 uint32_t bytes_remaining = contentSize;
|