HomeSort by relevance Sort by last modified time
    Searched refs:readableByteChannel (Results 1 - 10 of 10) sorted by null

  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
FreeBox.java 28 import java.nio.channels.ReadableByteChannel;
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);
102 data = ChannelHelper.readFully(readableByteChannel, contentSize);
UserDataBox.java 24 import java.nio.channels.ReadableByteChannel;
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.
Box.java 24 import java.nio.channels.ReadableByteChannel;
50 void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException;
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
MediaDataBox.java 30 import java.nio.channels.ReadableByteChannel;
138 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
142 if (readableByteChannel instanceof FileChannel && (contentSize > AbstractBox.MEM_MAP_THRESHOLD)) {
143 this.fileChannel = ((FileChannel) readableByteChannel);
144 this.startPosition = ((FileChannel) readableByteChannel).position();
145 ((FileChannel) readableByteChannel).position(((FileChannel) readableByteChannel).position() + contentSize);
147 content = ChannelHelper.readFully(readableByteChannel, l2i(contentSize));
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
AbstractBox.java 32 import java.nio.channels.ReadableByteChannel;
97 * @param readableByteChannel the (part of the) iso file to parse
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);
113 content = ChannelHelper.readFully(readableByteChannel, contentSize)
    [all...]
AbstractContainerBox.java 26 import java.nio.channels.ReadableByteChannel;
104 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
106 super.parse(readableByteChannel, header, contentSize, boxParser);
FullContainerBox.java 26 import java.nio.channels.ReadableByteChannel;
94 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
96 super.parse(readableByteChannel, header, contentSize, boxParser);
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
SampleEntry.java 31 import java.nio.channels.ReadableByteChannel;
109 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
111 super.parse(readableByteChannel, header, contentSize, boxParser);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DefaultMp4Builder.java 51 import java.nio.channels.ReadableByteChannel;
390 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
FragmentedMp4Builder.java 30 import java.nio.channels.ReadableByteChannel;
230 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {

Completed in 100 milliseconds