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

<<11121314151617181920>>

  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
DateSerializer.java 37 import java.nio.ByteBuffer;
48 public Date readObject(ByteBuffer data, Class c) throws IOException {
52 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
DoubleSerializer.java 37 import java.nio.ByteBuffer;
47 public Double readObject(ByteBuffer data, Class c) throws IOException {
51 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
FloatSerializer.java 37 import java.nio.ByteBuffer;
47 public Float readObject(ByteBuffer data, Class c) throws IOException {
51 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
IntSerializer.java 37 import java.nio.ByteBuffer;
47 public Integer readObject(ByteBuffer data, Class c) throws IOException {
51 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
LongSerializer.java 37 import java.nio.ByteBuffer;
47 public Long readObject(ByteBuffer data, Class c) throws IOException {
51 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
SerializableSerializer.java 38 import java.nio.ByteBuffer;
49 public Serializable readObject(ByteBuffer data, Class c) throws IOException {
53 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
ShortSerializer.java 37 import java.nio.ByteBuffer;
46 public Short readObject(ByteBuffer data, Class c) throws IOException {
50 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
TrackRunBox.java 24 import java.nio.ByteBuffer;
187 protected void getContent(ByteBuffer byteBuffer) {
188 writeVersionAndFlags(byteBuffer);
189 IsoTypeWriter.writeUInt32(byteBuffer, entries.size());
193 IsoTypeWriter.writeUInt32(byteBuffer, dataOffset);
196 firstSampleFlags.getContent(byteBuffer);
201 IsoTypeWriter.writeUInt32(byteBuffer, entry.sampleDuration);
204 IsoTypeWriter.writeUInt32(byteBuffer, entry.sampleSize);
207 entry.sampleFlags.getContent(byteBuffer);
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
AbstractFullBox.java 24 import java.nio.ByteBuffer;
64 protected final long parseVersionAndFlags(ByteBuffer content) {
70 protected final void writeVersionAndFlags(ByteBuffer bb) {
  /frameworks/base/core/java/android/hardware/camera2/impl/
MetadataMarshalRect.java 20 import java.nio.ByteBuffer;
26 public int marshal(Rect value, ByteBuffer buffer, int nativeType, boolean sizeOnly) {
40 public Rect unmarshal(ByteBuffer buffer, int nativeType) {
MetadataMarshalString.java 18 import java.nio.ByteBuffer;
26 public int marshal(String value, ByteBuffer buffer, int nativeType, boolean sizeOnly) {
38 public String unmarshal(ByteBuffer buffer, int nativeType) {
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
OutputStreamTarget.java 28 import java.nio.ByteBuffer;
50 ByteBuffer data;
54 data = ByteBuffer.wrap(stringVal.getBytes());
  /libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
Chunk.java 19 import java.nio.ByteBuffer;
53 * Construct from a ByteBuffer. The chunk is assumed to start at
56 public Chunk(int type, ByteBuffer buf) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
BufferSubDataTransform.java 22 import java.nio.ByteBuffer;
49 ByteBuffer bb = ByteBuffer.wrap(mNewData);
  /cts/tests/tests/opengl/src/android/opengl/cts/
RendererOneColorBufferTest.java 20 import java.nio.ByteBuffer;
66 mVertices = ByteBuffer.allocateDirect(mVerticesData.length * 4)
70 ByteBuffer ibb = ByteBuffer.allocateDirect(mIndices.length * 2);
76 mColor = ByteBuffer.allocateDirect(mVertexColor.length*4).
84 mVertices = ByteBuffer.allocateDirect(mVerticesData.length * 4)
88 ByteBuffer ibb = ByteBuffer.allocateDirect(mIndices.length * 2);
94 mColor = ByteBuffer.allocateDirect(mVertexColor.length*4).
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/
VideoRenderer.java 30 import java.nio.ByteBuffer;
46 public final ByteBuffer[] yuvPlanes;
54 int width, int height, int[] yuvStrides, ByteBuffer[] yuvPlanes) {
59 yuvPlanes = new ByteBuffer[3];
60 yuvPlanes[0] = ByteBuffer.allocateDirect(yuvStrides[0] * height);
61 yuvPlanes[1] = ByteBuffer.allocateDirect(yuvStrides[1] * height);
62 yuvPlanes[2] = ByteBuffer.allocateDirect(yuvStrides[2] * height);
92 private void copyPlane(ByteBuffer src, ByteBuffer dst) {
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
HullCollisionShape.java 11 import java.nio.ByteBuffer;
55 // fbuf = ByteBuffer.allocateDirect(points.length * 4).asFloatBuffer();
69 ByteBuffer bbuf=BufferUtils.createByteBuffer(points.length * 4);
84 private native long createShape(ByteBuffer points);
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
AbstractBoxParser.java 23 import java.nio.ByteBuffer;
50 ByteBuffer header = ChannelHelper.readFully(byteChannel, 8);
65 ByteBuffer bb = ByteBuffer.allocate(8);
81 ByteBuffer bb = ByteBuffer.allocate(16);
98 header = ByteBuffer.allocate(16);
103 header = ByteBuffer.allocate(24);
108 header = ByteBuffer.allocate(32);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
BaseDescriptor.java 22 import java.nio.ByteBuffer;
65 public final void parse(int tag, ByteBuffer bb) throws IOException {
79 ByteBuffer detailSource = bb.slice();
86 public abstract void parseDetail(ByteBuffer bb) throws IOException;
  /frameworks/base/media/java/android/media/
Image.java 19 import java.nio.ByteBuffer;
28 * {@link java.nio.ByteBuffer ByteBuffers}. Each buffer is encapsulated in a
56 * pixel data in each in ByteBuffer.
125 * {@link ByteBuffer ByteBuffers} returned by an earlier
139 * ByteBuffer will fail.</p>
167 * <p>Get a direct {@link java.nio.ByteBuffer ByteBuffer}
171 * {@link java.nio.ByteBuffer#isDirect isDirect} return {@code true}, so
177 public abstract ByteBuffer getBuffer();
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
GLToolbox.java 24 import java.nio.ByteBuffer;
70 public static void readFbo(int fboId, ByteBuffer pixels, int width, int height) {
76 public static void readTarget(RenderTarget target, ByteBuffer pixels, int width, int height) {
104 setTexturePixels(texId, target, (ByteBuffer)null, width, height);
114 public static void setTexturePixels(int texId, int target, ByteBuffer pixels,
120 pixels = ByteBuffer.allocateDirect(width * height * 4);
151 public static void setVboData(int vboId, ByteBuffer data) {
159 ByteBuffer buffer = ByteBuffer.allocateDirect(len).order(ByteOrder.nativeOrder());
  /libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetEncoderTest.java 19 import java.nio.ByteBuffer;
69 ByteBuffer bb = ByteBuffer.allocate(128);
83 ByteBuffer bb = ByteBuffer.allocate(128);
120 ByteBuffer bb = ByteBuffer.allocate(128);
144 ByteBuffer bb = ByteBuffer.allocate(128);
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DDSLoader.java 45 import java.nio.ByteBuffer;
134 ArrayList<ByteBuffer> data = readData(((TextureKey) info.getKey()).isFlipY());
146 ArrayList<ByteBuffer> data = readData(false);
434 * @return A ByteBuffer containing the grayscale image data with mips.
437 public ByteBuffer readGrayscale2D(boolean flip, int totalSize) throws IOException {
438 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize);
469 * @return ByteBuffer containing image data with mipmaps in the format specified by pixelFormat_
472 public ByteBuffer readRGB2D(boolean flip, int totalSize) throws IOException {
489 ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize);
535 * @return ByteBuffer containing compressed DXT image in the format specified by pixelFormat
    [all...]
  /libcore/luni/src/main/java/java/nio/charset/
CharsetEncoder.java 21 import java.nio.ByteBuffer;
29 * output byte sequence is a {@link java.nio.ByteBuffer ByteBuffer}.
32 * new {@code ByteBuffer}, or {@link #encode(CharBuffer, ByteBuffer, boolean)} for more
36 * <li>Invoke {@link #encode(CharBuffer, ByteBuffer, boolean) encode} with the {@code endOfInput}
39 * <p>The {@link #encode(CharBuffer, ByteBuffer, boolean) encode} method will
46 * <li>Invoke {@link #encode(CharBuffer, ByteBuffer, boolean) encode} for the last time with
48 * <li>Invoke {@link #flush(ByteBuffer)} to flush remaining output.</li>
69 * {@link #encodeLoop(CharBuffer, ByteBuffer) encodeLoop} method for basi
    [all...]
  /external/guava/guava/src/com/google/common/hash/
AbstractStreamingHashFunction.java 21 import java.nio.ByteBuffer;
71 private final ByteBuffer buffer;
83 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
95 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
104 this.buffer = ByteBuffer
114 protected abstract void process(ByteBuffer bb);
118 * fill a whole chunk. The passed {@code ByteBuffer} is guaranteed to be
122 * {@link #process(ByteBuffer)}.
124 protected void processRemaining(ByteBuffer bb) {
142 return putBytes(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN))
    [all...]

Completed in 474 milliseconds

<<11121314151617181920>>