HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 76 - 100 of 964) 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);
  /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...]
  /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...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
WrappedByteBufferTest.java 19 import java.nio.ByteBuffer;
25 buf = ByteBuffer.wrap(new byte[BUFFER_LENGTH]);
36 * @tests java.nio.ByteBuffer#allocate(byte[],int,int)
42 ByteBuffer.wrap(array, -1, 0);
48 ByteBuffer.wrap(array, BUFFER_LENGTH + 1, 0);
54 ByteBuffer.wrap(array, 0, -1);
60 ByteBuffer.wrap(array, 0, BUFFER_LENGTH + 1);
66 ByteBuffer.wrap(array, 1, Integer.MAX_VALUE);
72 ByteBuffer.wrap(array, Integer.MAX_VALUE, 1);
78 ByteBuffer.wrap((byte[])null, 1, Integer.MAX_VALUE)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DatagramChannelTest.java 27 import java.nio.ByteBuffer;
128 * Test method for 'java.nio.channels.DatagramChannel.read(ByteBuffer)'
136 ByteBuffer[] readBuf = null;
151 readBuf = new ByteBuffer[bufSize];
165 * Test method for 'java.nio.channels.DatagramChannel.read(ByteBuffer)'
172 ByteBuffer[] readBuf = null;
191 * Test method for 'java.nio.channels.DatagramChannel.write(ByteBuffer)'
198 ByteBuffer[] readBuf = null;
211 readBuf = new ByteBuffer[bufSize];
227 * Test method for 'java.nio.channels.DatagramChannel.write(ByteBuffer)'
    [all...]
MockDatagramChannel.java 23 import java.nio.ByteBuffer;
54 public SocketAddress receive(ByteBuffer arg0) throws IOException {
59 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException {
64 public int read(ByteBuffer arg0) throws IOException {
69 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException {
74 public int write(ByteBuffer arg0) throws IOException {
79 public long write(ByteBuffer[] arg0, int arg1, int arg2) throws IOException {
  /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...]
  /external/chromium_org/components/cronet/android/java/src/org/chromium/net/
ChunkedWritableByteChannel.java 8 import java.nio.ByteBuffer;
15 * {@link #write} results in a ByteBuffer being created and remembered. Then all
21 private final ArrayList<ByteBuffer> mBuffers = new ArrayList<ByteBuffer>();
23 private ByteBuffer mInitialBuffer;
25 private ByteBuffer mBuffer;
36 mInitialBuffer = ByteBuffer.allocateDirect(capacity);
40 public int write(ByteBuffer buffer) throws IOException {
63 ByteBuffer tmpBuf = ByteBuffer.allocateDirect(size)
    [all...]
  /external/chromium_org/mojo/public/java/src/org/chromium/mojo/system/
InvalidHandle.java 11 import java.nio.ByteBuffer;
104 public ByteBuffer map(long offset, long numBytes, MapFlags flags) {
109 * @see SharedBufferHandle#unmap(java.nio.ByteBuffer)
112 public void unmap(ByteBuffer buffer) {
117 * @see DataPipe.ProducerHandle#writeData(java.nio.ByteBuffer, DataPipe.WriteFlags)
120 public int writeData(ByteBuffer elements, DataPipe.WriteFlags flags) {
128 public ByteBuffer beginWriteData(int numBytes,
150 * @see DataPipe.ConsumerHandle#readData(java.nio.ByteBuffer, DataPipe.ReadFlags)
153 public int readData(ByteBuffer elements, DataPipe.ReadFlags flags) {
161 public ByteBuffer beginReadData(int numBytes
    [all...]
  /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 33 public static void freeDirectBuffer(ByteBuffer buffer) {
55 * Exposes the array backing a non-direct ByteBuffer, even if the ByteBuffer is read-only.
58 public static byte[] unsafeArray(ByteBuffer b) {
63 * Exposes the array offset for the array backing a non-direct ByteBuffer,
64 * even if the ByteBuffer is read-only.
66 public static int unsafeArrayOffset(ByteBuffer b) {
  /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 175 milliseconds

1 2 34 5 6 7 8 91011>>