HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 26 - 50 of 935) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
IsoTypeReader.java 19 import java.nio.ByteBuffer;
24 public static long readUInt32BE(ByteBuffer bb) {
34 public static long readUInt32(ByteBuffer bb) {
42 public static int readUInt24(ByteBuffer bb) {
50 public static int readUInt16(ByteBuffer bb) {
57 public static int readUInt16BE(ByteBuffer bb) {
64 public static int readUInt8(ByteBuffer bb) {
76 * @param byteBuffer the data source
80 public static String readString(ByteBuffer byteBuffer) {
    [all...]
IsoTypeWriter.java 18 import java.nio.ByteBuffer;
22 public static void writeUInt64(ByteBuffer bb, long u) {
26 public static void writeUInt32(ByteBuffer bb, long u) {
31 public static void writeUInt32BE(ByteBuffer bb, long u) {
39 public static void writeUInt24(ByteBuffer bb, int i) {
47 public static void writeUInt16(ByteBuffer bb, int i) {
53 public static void writeUInt16BE(ByteBuffer bb, int i) {
59 public static void writeUInt8(ByteBuffer bb, int i) {
65 public static void writeFixedPont1616(ByteBuffer bb, double v) {
73 public static void writeFixedPont88(ByteBuffer bb, double v)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/
BaseMediaInfoAtom.java 7 import java.nio.ByteBuffer;
29 protected void getContent(ByteBuffer byteBuffer) {
30 writeVersionAndFlags(byteBuffer);
31 byteBuffer.putShort(graphicsMode);
32 IsoTypeWriter.writeUInt16(byteBuffer, opColorR);
33 IsoTypeWriter.writeUInt16(byteBuffer,opColorG );
34 IsoTypeWriter.writeUInt16(byteBuffer,opColorB );
35 byteBuffer.putShort(balance);
36 byteBuffer.putShort(reserved)
    [all...]
TimeCodeBox.java 21 import java.nio.ByteBuffer;
41 public void _parseDetails(ByteBuffer content) {
49 protected void getContent(ByteBuffer byteBuffer) {
50 _writeReservedAndDataReferenceIndex(byteBuffer);
51 byteBuffer.put(data);
52 _writeChildBoxes(byteBuffer);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/
UnknownEntry.java 21 import java.nio.ByteBuffer;
27 private ByteBuffer content;
32 public ByteBuffer getContent() {
36 public void setContent(ByteBuffer content) {
37 this.content = (ByteBuffer) content.duplicate().rewind();
41 public void parse(ByteBuffer byteBuffer) {
42 this.content = (ByteBuffer) byteBuffer.duplicate().rewind();
46 public ByteBuffer get()
    [all...]
  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_util_NativeMeshUtil.h 13 * Signature: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIII)J
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
UnknownBox.java 22 import java.nio.ByteBuffer;
29 ByteBuffer data;
41 public void _parseDetails(ByteBuffer content) {
47 protected void getContent(ByteBuffer byteBuffer) {
49 byteBuffer.put(data);
52 public ByteBuffer getData() {
56 public void setData(ByteBuffer data) {
CompositionShiftLeastGreatestAtom.java 5 import java.nio.ByteBuffer;
42 public void _parseDetails(ByteBuffer content) {
52 protected void getContent(ByteBuffer byteBuffer) {
53 writeVersionAndFlags(byteBuffer);
54 byteBuffer.putInt(compositionOffsetToDisplayOffsetShift);
55 byteBuffer.putInt(leastDisplayOffset);
56 byteBuffer.putInt(greatestDisplayOffset);
57 byteBuffer.putInt(displayStartTime);
58 byteBuffer.putInt(displayEndTime)
    [all...]
HintMediaHeaderBox.java 22 import java.nio.ByteBuffer;
62 public void _parseDetails(ByteBuffer content) {
73 protected void getContent(ByteBuffer byteBuffer) {
74 writeVersionAndFlags(byteBuffer);
75 IsoTypeWriter.writeUInt16(byteBuffer, maxPduSize);
76 IsoTypeWriter.writeUInt16(byteBuffer, avgPduSize);
77 IsoTypeWriter.writeUInt32(byteBuffer, maxBitrate);
78 IsoTypeWriter.writeUInt32(byteBuffer, avgBitrate);
79 IsoTypeWriter.writeUInt32(byteBuffer, 0)
    [all...]
ItemProtectionBox.java 23 import java.nio.ByteBuffer;
47 public void _parseDetails(ByteBuffer content) {
55 protected void getContent(ByteBuffer byteBuffer) {
56 writeVersionAndFlags(byteBuffer);
57 IsoTypeWriter.writeUInt16(byteBuffer, getBoxes().size());
58 writeChildBoxes(byteBuffer);
ProgressiveDownloadInformationBox.java 7 import java.nio.ByteBuffer;
27 protected void getContent(ByteBuffer byteBuffer) {
28 writeVersionAndFlags(byteBuffer);
30 IsoTypeWriter.writeUInt32(byteBuffer, entry.getRate());
31 IsoTypeWriter.writeUInt32(byteBuffer, entry.getInitialDelay());
44 public void _parseDetails(ByteBuffer content) {
SoundMediaHeaderBox.java 22 import java.nio.ByteBuffer;
42 public void _parseDetails(ByteBuffer content) {
49 protected void getContent(ByteBuffer byteBuffer) {
50 writeVersionAndFlags(byteBuffer);
51 IsoTypeWriter.writeFixedPont88(byteBuffer, balance);
52 IsoTypeWriter.writeUInt16(byteBuffer, 0);
MovieHeaderBox.java 23 import java.nio.ByteBuffer;
103 public void _parseDetails(ByteBuffer content) {
163 protected void getContent(ByteBuffer byteBuffer) {
164 writeVersionAndFlags(byteBuffer);
166 IsoTypeWriter.writeUInt64(byteBuffer, creationTime);
167 IsoTypeWriter.writeUInt64(byteBuffer, modificationTime);
168 IsoTypeWriter.writeUInt32(byteBuffer, timescale);
169 IsoTypeWriter.writeUInt64(byteBuffer, duration);
171 IsoTypeWriter.writeUInt32(byteBuffer, creationTime)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
SubtitleSampleEntry.java 6 import java.nio.ByteBuffer;
36 public void _parseDetails(ByteBuffer content) {
45 protected void getContent(ByteBuffer byteBuffer) {
46 _writeReservedAndDataReferenceIndex(byteBuffer);
47 IsoTypeWriter.writeUtf8String(byteBuffer, namespace);
48 IsoTypeWriter.writeUtf8String(byteBuffer, schemaLocation);
49 IsoTypeWriter.writeUtf8String(byteBuffer, imageMimeType);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
ASCIICharsetEncoderTest.java 19 import java.nio.ByteBuffer;
85 ByteBuffer out = ByteBuffer.allocate(10);
90 out = ByteBuffer.allocate(10);
103 ByteBuffer bb = encoder.encode(cb);
121 ByteBuffer bb = ByteBuffer.allocate(0x10);
134 ByteBuffer out = ByteBuffer.allocate(0x10);
156 ByteBuffer out = ByteBuffer.allocate(0x10)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SinkChannelTest.java 22 import java.nio.ByteBuffer;
46 private ByteBuffer buffer;
48 private ByteBuffer positionedBuffer;
55 buffer = ByteBuffer.wrap("bytes".getBytes(ISO8859_1));
56 positionedBuffer = ByteBuffer.wrap("12345bytes".getBytes(ISO8859_1));
68 * @tests java.nio.channels.Pipe.SinkChannel#write(ByteBuffer)
71 ByteBuffer[] bufArray = { buffer, positionedBuffer };
82 for (ByteBuffer buf : bufArray) {
86 ByteBuffer readBuf = ByteBuffer.allocate(BUFFER_SIZE)
    [all...]
SourceChannelTest.java 20 import java.nio.ByteBuffer;
42 private ByteBuffer buffer;
44 private ByteBuffer positionedBuffer;
51 buffer = ByteBuffer.wrap("bytes".getBytes(ISO8859_1));
52 positionedBuffer = ByteBuffer.wrap("12345bytes".getBytes(ISO8859_1));
64 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer)
68 sink.write(ByteBuffer.allocate(1));
69 int count = source.read(ByteBuffer.allocate(10));
74 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer)
77 ByteBuffer nullBuf = null
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
AbstractTrackEncryptionBox.java 7 import java.nio.ByteBuffer;
41 ByteBuffer b = ByteBuffer.wrap(default_KID);
51 public void _parseDetails(ByteBuffer content) {
60 protected void getContent(ByteBuffer byteBuffer) {
61 writeVersionAndFlags(byteBuffer);
62 IsoTypeWriter.writeUInt24(byteBuffer, defaultAlgorithmId);
63 IsoTypeWriter.writeUInt8(byteBuffer, defaultIvSize);
64 byteBuffer.put(default_KID)
    [all...]
  /frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
BufferPool.java 19 import java.nio.ByteBuffer;
28 private final ByteBuffer[] mBuffers;
35 mBuffers = new ByteBuffer[maxBuffers];
38 public ByteBuffer acquire(int needed) {
48 return ByteBuffer.allocate(chooseCapacity(mInitialBufferSize, needed));
59 public void release(ByteBuffer buffer) {
67 public ByteBuffer grow(ByteBuffer buffer, int needed) {
70 final ByteBuffer oldBuffer = buffer;
72 buffer = ByteBuffer.allocate(capacity)
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
FileChannelTest.java 22 import java.nio.ByteBuffer;
28 ByteBuffer readOnly = ByteBuffer.allocate(1).asReadOnlyBuffer();
39 fc.read(new ByteBuffer[] { readOnly });
44 fc.read(new ByteBuffer[] { readOnly }, 0, 1);
59 fc.write(new ByteBuffer[] { readOnly });
60 fc.write(new ByteBuffer[] { readOnly }, 0, 1);
68 fc.write(ByteBuffer.wrap("abcdABCD".getBytes("US-ASCII")));
72 ByteBuffer[] buffers = new ByteBuffer[] { ByteBuffer.allocateDirect(4), ByteBuffer.allocate(4) }
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
TrackFragmentBaseMediaDecodeTimeBox.java 23 import java.nio.ByteBuffer;
40 protected void getContent(ByteBuffer byteBuffer) {
41 writeVersionAndFlags(byteBuffer);
43 IsoTypeWriter.writeUInt64(byteBuffer, baseMediaDecodeTime);
45 IsoTypeWriter.writeUInt32(byteBuffer, baseMediaDecodeTime);
51 public void _parseDetails(ByteBuffer content) {
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/
CoverUriBox.java 23 import java.nio.ByteBuffer;
50 public void _parseDetails(ByteBuffer content) {
56 protected void getContent(ByteBuffer byteBuffer) {
57 writeVersionAndFlags(byteBuffer);
58 byteBuffer.put(Utf8.convert(coverUri));
59 byteBuffer.put((byte) 0);
LyricsUriBox.java 23 import java.nio.ByteBuffer;
51 public void _parseDetails(ByteBuffer content) {
57 protected void getContent(ByteBuffer byteBuffer) {
58 writeVersionAndFlags(byteBuffer);
59 byteBuffer.put(Utf8.convert(lyricsUri));
60 byteBuffer.put((byte) 0);
  /external/chromium/third_party/libjingle/source/talk/base/
bytebuffer.cc 28 #include "talk/base/bytebuffer.h"
41 ByteBuffer::ByteBuffer() {
48 ByteBuffer::ByteBuffer(const char* bytes, size_t len) {
56 ByteBuffer::ByteBuffer(const char* bytes) {
64 ByteBuffer::~ByteBuffer() {
68 bool ByteBuffer::ReadUInt8(uint8* val)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
AppleLosslessSpecificBox.java 7 import java.nio.ByteBuffer;
124 public void _parseDetails(ByteBuffer content) {
140 protected void getContent(ByteBuffer byteBuffer) {
141 writeVersionAndFlags(byteBuffer);
142 IsoTypeWriter.writeUInt32(byteBuffer, maxSamplePerFrame);
143 IsoTypeWriter.writeUInt8(byteBuffer, unknown1);
144 IsoTypeWriter.writeUInt8(byteBuffer, sampleSize);
145 IsoTypeWriter.writeUInt8(byteBuffer, historyMult);
146 IsoTypeWriter.writeUInt8(byteBuffer, initialHistory);
    [all...]

Completed in 224 milliseconds

12 3 4 5 6 7 8 91011>>