Searched refs:contentSize (Results 1 - 25 of 44) sorted by relevance

12

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DAbstractBoxParser.java62 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 DMpegSampleEntry.java27 long contentSize = 8;
29 contentSize += boxe.getSize();
31 return contentSize;
H A DSubtitleSampleEntry.java31 long contentSize = 8 + namespace.length() + schemaLocation.length() + imageMimeType.length() + 3;
32 return contentSize;
H A DAudioSampleEntry.java223 long contentSize = 28;
224 contentSize += soundVersion > 0 ? 16 : 0;
225 contentSize += soundVersion == 2 ? 20 : 0;
227 contentSize += boxe.getSize();
229 return contentSize;
H A DTextSampleEntry.java78 long contentSize = 18;
79 contentSize += boxRecord.getSize();
80 contentSize += styleRecord.getSize();
82 contentSize += boxe.getSize();
84 return contentSize;
H A DVisualSampleEntry.java174 long contentSize = 78;
176 contentSize += boxe.getSize();
178 return contentSize;
H A DSampleEntry.java109 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 DMediaDataBox.java61 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 DFreeBox.java95 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 DMediaHeaderBox.java64 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 DUserDataBox.java41 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 DKeywordsBox.java56 long contentSize = 7;
58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1;
60 return contentSize;
H A DBox.java50 void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException; argument
H A DEditListBox.java74 long contentSize = 8;
76 contentSize += entries.size() * 20;
78 contentSize += entries.size() * 12;
81 return contentSize;
H A DMovieHeaderBox.java92 long contentSize = 4;
94 contentSize += 28;
96 contentSize += 16;
98 contentSize += 80;
99 return contentSize;
H A DTrackHeaderBox.java97 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 DTrackFragmentRandomAccessBox.java69 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 DTextureMapperQt.h40 IntRect sourceRect() const { return IntRect(0, 0, contentSize().width(), contentSize().height()); }
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
H A DAbstractContainerBox.java46 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 DFullContainerBox.java68 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 DAbstractBox.java98 * @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 DTextureMapper.h77 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 DAbstractSampleEncryptionBox.java173 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 DCacheResult.h44 int64 contentSize() const;
/external/skia/legacy/src/images/
H A DSkImageDecoder_libwebp.cpp65 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;

Completed in 207 milliseconds

12