HomeSort by relevance Sort by last modified time
    Searched refs:contentSize (Results 1 - 25 of 42) sorted by null

1 2

  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
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, this)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
MpegSampleEntry.java 27 long contentSize = 8;
29 contentSize += boxe.getSize();
31 return contentSize;
SubtitleSampleEntry.java 31 long contentSize = 8 + namespace.length() + schemaLocation.length() + imageMimeType.length() + 3;
32 return contentSize;
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;
TextSampleEntry.java 78 long contentSize = 18;
79 contentSize += boxRecord.getSize();
80 contentSize += styleRecord.getSize();
82 contentSize += boxe.getSize();
84 return contentSize;
VisualSampleEntry.java 174 long contentSize = 78;
176 contentSize += boxe.getSize();
178 return contentSize;
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
MediaDataBox.java 61 private long contentSize;
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 {
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 - offset))
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
FreeBox.java 95 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
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);
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;
UserDataBox.java 41 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
42 super.parse(readableByteChannel, header, contentSize, boxParser); //To change body of overridden methods use File | Settings | File Templates.
KeywordsBox.java 56 long contentSize = 7;
58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1;
60 return contentSize;
Box.java 50 void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException;
EditListBox.java 74 long contentSize = 8;
76 contentSize += entries.size() * 20;
78 contentSize += entries.size() * 12;
81 return contentSize;
MovieHeaderBox.java 92 long contentSize = 4;
94 contentSize += 28;
96 contentSize += 16;
98 contentSize += 80;
99 return contentSize;
TrackHeaderBox.java 97 long contentSize = 4;
99 contentSize += 32;
101 contentSize += 20;
103 contentSize += 60;
104 return contentSize;
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDownloadRunnable.java 177 int contentSize = httpConn.getContentLength();
182 if (-1 == contentSize) {
290 byteBuffer = new byte[contentSize];
293 int remainingLength = contentSize;
  /external/chromium_org/third_party/WebKit/Source/web/
ColorChooserPopupUIController.h 53 virtual IntSize contentSize() OVERRIDE;
DateTimeChooserImpl.h 56 virtual IntSize contentSize() OVERRIDE;
  /external/chromium_org/skia/ext/
vector_platform_device_skia.cc 24 const SkISize& contentSize,
26 : SkPDFDevice(pageSize, contentSize, initialTransform) {
vector_platform_device_skia.h 24 const SkISize& contentSize,
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
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/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
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 {
106 super.parse(readableByteChannel, header, contentSize, boxParser);
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 {
96 super.parse(readableByteChannel, header, contentSize, boxParser);
AbstractBox.java 98 * @param contentSize expected contentSize of the box
103 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
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/chromium_org/third_party/WebKit/Source/core/page/
PagePopupClient.h 46 virtual IntSize contentSize() = 0;

Completed in 369 milliseconds

1 2