HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 76 - 100 of 744) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
SampleAuxiliaryInformationOffsetsBox.java 23 import java.nio.ByteBuffer;
65 protected void getContent(ByteBuffer byteBuffer) {
66 writeVersionAndFlags(byteBuffer);
68 IsoTypeWriter.writeUInt32(byteBuffer, auxInfoType);
69 IsoTypeWriter.writeUInt32(byteBuffer, auxInfoTypeParameter);
72 IsoTypeWriter.writeUInt32(byteBuffer, offsets.size());
75 IsoTypeWriter.writeUInt32(byteBuffer, offset);
77 IsoTypeWriter.writeUInt64(byteBuffer, offset);
83 public void _parseDetails(ByteBuffer content)
    [all...]
BitRateBox.java 23 import java.nio.ByteBuffer;
55 public void _parseDetails(ByteBuffer content) {
62 protected void getContent(ByteBuffer byteBuffer) {
63 IsoTypeWriter.writeUInt32(byteBuffer, bufferSizeDb);
64 IsoTypeWriter.writeUInt32(byteBuffer, maxBitrate);
65 IsoTypeWriter.writeUInt32(byteBuffer, avgBitrate);
DataReferenceBox.java 23 import java.nio.ByteBuffer;
51 public void _parseDetails(ByteBuffer content) {
59 protected void getContent(ByteBuffer byteBuffer) {
60 writeVersionAndFlags(byteBuffer);
61 IsoTypeWriter.writeUInt32(byteBuffer, getBoxes().size());
62 writeChildBoxes(byteBuffer);
StaticChunkOffsetBox.java 22 import java.nio.ByteBuffer;
51 public void _parseDetails(ByteBuffer content) {
62 protected void getContent(ByteBuffer byteBuffer) {
63 writeVersionAndFlags(byteBuffer);
64 IsoTypeWriter.writeUInt32(byteBuffer, chunkOffsets.length);
66 IsoTypeWriter.writeUInt32(byteBuffer, chunkOffset);
SyncSampleBox.java 23 import java.nio.ByteBuffer;
54 public void _parseDetails(ByteBuffer content) {
65 protected void getContent(ByteBuffer byteBuffer) {
66 writeVersionAndFlags(byteBuffer);
68 IsoTypeWriter.writeUInt32(byteBuffer, sampleNumber.length);
71 IsoTypeWriter.writeUInt32(byteBuffer, aSampleNumber);
VideoMediaHeaderBox.java 22 import java.nio.ByteBuffer;
52 public void _parseDetails(ByteBuffer content) {
62 protected void getContent(ByteBuffer byteBuffer) {
63 writeVersionAndFlags(byteBuffer);
64 IsoTypeWriter.writeUInt16(byteBuffer, graphicsmode);
66 IsoTypeWriter.writeUInt16(byteBuffer, anOpcolor);
SubSampleInformationBox.java 7 import java.nio.ByteBuffer;
69 public void _parseDetails(ByteBuffer content) {
92 protected void getContent(ByteBuffer byteBuffer) {
93 writeVersionAndFlags(byteBuffer);
94 IsoTypeWriter.writeUInt32(byteBuffer, entries.size());
96 IsoTypeWriter.writeUInt32(byteBuffer, sampleEntry.getSampleDelta());
97 IsoTypeWriter.writeUInt16(byteBuffer, sampleEntry.getSubsampleCount());
101 IsoTypeWriter.writeUInt32(byteBuffer, subsampleEntry.getSubsampleSize());
103 IsoTypeWriter.writeUInt16(byteBuffer, l2i(subsampleEntry.getSubsampleSize()));
    [all...]
AlbumBox.java 24 import java.nio.ByteBuffer;
79 public void _parseDetails(ByteBuffer content) {
92 protected void getContent(ByteBuffer byteBuffer) {
93 writeVersionAndFlags(byteBuffer);
94 IsoTypeWriter.writeIso639(byteBuffer, language);
95 byteBuffer.put(Utf8.convert(albumTitle));
96 byteBuffer.put((byte) 0);
98 IsoTypeWriter.writeUInt8(byteBuffer, trackNumber);
ClassificationBox.java 25 import java.nio.ByteBuffer;
80 public void _parseDetails(ByteBuffer content) {
91 protected void getContent(ByteBuffer byteBuffer) {
92 byteBuffer.put(IsoFile.fourCCtoBytes(classificationEntity));
93 IsoTypeWriter.writeUInt16(byteBuffer, classificationTableIndex);
94 IsoTypeWriter.writeIso639(byteBuffer, language);
95 byteBuffer.put(Utf8.convert(classificationInfo));
96 byteBuffer.put((byte) 0);
KeywordsBox.java 24 import java.nio.ByteBuffer;
64 public void _parseDetails(ByteBuffer content) {
76 protected void getContent(ByteBuffer byteBuffer) {
77 writeVersionAndFlags(byteBuffer);
78 IsoTypeWriter.writeIso639(byteBuffer, language);
79 IsoTypeWriter.writeUInt8(byteBuffer, keywords.length);
81 IsoTypeWriter.writeUInt8(byteBuffer, Utf8.utf8StringLengthInBytes(keyword) + 1);
82 byteBuffer.put(Utf8.convert(keyword));
SampleSizeBox.java 24 import java.nio.ByteBuffer;
88 public void _parseDetails(ByteBuffer content) {
103 protected void getContent(ByteBuffer byteBuffer) {
104 writeVersionAndFlags(byteBuffer);
105 IsoTypeWriter.writeUInt32(byteBuffer, sampleSize);
108 IsoTypeWriter.writeUInt32(byteBuffer, sampleSizes.length);
110 IsoTypeWriter.writeUInt32(byteBuffer, sampleSize1);
113 IsoTypeWriter.writeUInt32(byteBuffer, sampleCount);
DataEntryUrlBox.java 21 import java.nio.ByteBuffer;
36 public void _parseDetails(ByteBuffer content) {
42 protected void getContent(ByteBuffer byteBuffer) {
43 writeVersionAndFlags(byteBuffer);
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
TrackExtendsBox.java 23 import java.nio.ByteBuffer;
52 protected void getContent(ByteBuffer byteBuffer) {
53 writeVersionAndFlags(byteBuffer);
54 IsoTypeWriter.writeUInt32(byteBuffer, trackId);
55 IsoTypeWriter.writeUInt32(byteBuffer, defaultSampleDescriptionIndex);
56 IsoTypeWriter.writeUInt32(byteBuffer, defaultSampleDuration);
57 IsoTypeWriter.writeUInt32(byteBuffer, defaultSampleSize);
58 defaultSampleFlags.getContent(byteBuffer);
62 public void _parseDetails(ByteBuffer content)
    [all...]
MovieExtendsHeaderBox.java 23 import java.nio.ByteBuffer;
48 public void _parseDetails(ByteBuffer content) {
55 protected void getContent(ByteBuffer byteBuffer) {
56 writeVersionAndFlags(byteBuffer);
58 IsoTypeWriter.writeUInt64(byteBuffer, fragmentDuration);
60 IsoTypeWriter.writeUInt32(byteBuffer, fragmentDuration);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
ByteBufferHelper.java 18 import java.nio.ByteBuffer;
27 public static List<ByteBuffer> mergeAdjacentBuffers(List<ByteBuffer> samples) {
28 ArrayList<ByteBuffer> nuSamples = new ArrayList<ByteBuffer>(samples.size());
29 for (ByteBuffer buffer : samples) {
33 ByteBuffer oldBuffer = nuSamples.remove(lastIndex);
34 ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice();
41 ByteBuffer oldBuffer = nuSamples.get(lastIndex)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/
UuidBasedProtectionSystemSpecificHeaderBox.java 12 import java.lang.Override;import java.lang.String;import java.lang.StringBuilder;import java.nio.ByteBuffer;
50 protected void getContent(ByteBuffer byteBuffer) {
51 writeVersionAndFlags(byteBuffer);
52 IsoTypeWriter.writeUInt64(byteBuffer, systemId.getMostSignificantBits());
53 IsoTypeWriter.writeUInt64(byteBuffer, systemId.getLeastSignificantBits());
54 ByteBuffer data = protectionSpecificHeader.getData();
56 IsoTypeWriter.writeUInt32(byteBuffer, data.limit());
57 byteBuffer.put(data);
61 protected void _parseDetails(ByteBuffer content)
    [all...]
TfxdBox.java 7 import java.nio.ByteBuffer;
54 public void _parseDetails(ByteBuffer content) {
67 protected void getContent(ByteBuffer byteBuffer) {
68 writeVersionAndFlags(byteBuffer);
70 IsoTypeWriter.writeUInt64(byteBuffer, fragmentAbsoluteTime);
71 IsoTypeWriter.writeUInt64(byteBuffer, fragmentAbsoluteDuration);
73 IsoTypeWriter.writeUInt32(byteBuffer, fragmentAbsoluteTime);
74 IsoTypeWriter.writeUInt32(byteBuffer, fragmentAbsoluteDuration);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ultraviolet/
BaseLocationBox.java 23 import java.nio.ByteBuffer;
64 public void _parseDetails(ByteBuffer content) {
74 protected void getContent(ByteBuffer byteBuffer) {
75 writeVersionAndFlags(byteBuffer);
76 byteBuffer.put(Utf8.convert(baseLocation));
77 byteBuffer.put(new byte[256 - Utf8.utf8StringLengthInBytes(baseLocation)]); // string plus term zero
78 byteBuffer.put(Utf8.convert(purchaseLocation));
79 byteBuffer.put(new byte[256 - Utf8.utf8StringLengthInBytes(purchaseLocation)]); // string plus term zero
80 byteBuffer.put(new byte[512])
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
VisualSampleEntry.java 25 import java.nio.ByteBuffer;
135 public void _parseDetails(ByteBuffer content) {
182 protected void getContent(ByteBuffer byteBuffer) {
183 _writeReservedAndDataReferenceIndex(byteBuffer);
184 IsoTypeWriter.writeUInt16(byteBuffer, 0);
185 IsoTypeWriter.writeUInt16(byteBuffer, 0);
186 IsoTypeWriter.writeUInt32(byteBuffer, predefined[0]);
187 IsoTypeWriter.writeUInt32(byteBuffer, predefined[1]);
188 IsoTypeWriter.writeUInt32(byteBuffer, predefined[2])
    [all...]
AmrSpecificBox.java 25 import java.nio.ByteBuffer;
70 public void _parseDetails(ByteBuffer content) {
83 public void getContent(ByteBuffer byteBuffer) {
84 byteBuffer.put(IsoFile.fourCCtoBytes(vendor));
85 IsoTypeWriter.writeUInt8(byteBuffer, decoderVersion);
86 IsoTypeWriter.writeUInt16(byteBuffer, modeSet);
87 IsoTypeWriter.writeUInt8(byteBuffer, modeChangePeriod);
88 IsoTypeWriter.writeUInt8(byteBuffer, framesPerSample);
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
MockDatagramChannel.java 23 import java.nio.ByteBuffer;
49 public SocketAddress receive(ByteBuffer arg0) throws IOException {
53 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException {
57 public int read(ByteBuffer arg0) throws IOException {
61 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException {
65 public int write(ByteBuffer arg0) throws IOException {
69 public long write(ByteBuffer[] arg0, int arg1, int arg2) throws IOException {
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
AppleDataBox.java 5 import java.nio.ByteBuffer;
69 public void _parseDetails(ByteBuffer content) {
79 protected void getContent(ByteBuffer byteBuffer) {
80 writeVersionAndFlags(byteBuffer);
81 byteBuffer.put(fourBytes, 0, 4);
82 byteBuffer.put(data);
  /libcore/luni/src/main/java/java/nio/
NioUtils.java 29 public static void freeDirectBuffer(ByteBuffer buffer) {
51 * Exposes the array backing a non-direct ByteBuffer, even if the ByteBuffer is read-only.
54 public static byte[] unsafeArray(ByteBuffer b) {
59 * Exposes the array offset for the array backing a non-direct ByteBuffer,
60 * even if the ByteBuffer is read-only.
62 public static int unsafeArrayOffset(ByteBuffer b) {
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
SSLBufferedInput.java 21 import java.nio.ByteBuffer;
24 * This is a wrapper input stream for ByteBuffer data source.
26 * about number of cunsumed bytes from the source ByteBuffer.
27 * The source ByteBuffer object can be reseted.
29 * ByteBuffer data sources.
33 private ByteBuffer in;
45 protected void setSourceBuffer(ByteBuffer in) {
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/
QuicktimeTextSampleEntry.java 22 import java.nio.ByteBuffer;
57 public void _parseDetails(ByteBuffer content) {
212 protected void getContent(ByteBuffer byteBuffer) {
213 _writeReservedAndDataReferenceIndex(byteBuffer);
214 byteBuffer.putInt(displayFlags);
215 byteBuffer.putInt(textJustification);
216 IsoTypeWriter.writeUInt16(byteBuffer, backgroundR);
217 IsoTypeWriter.writeUInt16(byteBuffer, backgroundG);
218 IsoTypeWriter.writeUInt16(byteBuffer, backgroundB)
    [all...]

Completed in 707 milliseconds

1 2 34 5 6 7 8 91011>>