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

<<11121314151617181920>>

  /cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
VideoEncoderDecoderTest.java 30 import java.nio.ByteBuffer;
61 private ByteBuffer mYBuffer;
62 private ByteBuffer mUVBuffer;
72 private Vector<ByteBuffer> mEncodedOutputBuffer;
82 mEncodedOutputBuffer = new Vector<ByteBuffer>(TOTAL_FRAMES * 2);
220 ByteBuffer[] codecInputBuffers = codec.getInputBuffers();
221 ByteBuffer[] codecOutputBuffers = codec.getOutputBuffers();
282 MediaCodec codec, ByteBuffer[] inputBuffers, int index, int frameCount, int flags) {
283 ByteBuffer buffer = inputBuffers[index];
329 MediaCodec codec, ByteBuffer[] outputBuffers
    [all...]
  /cts/tests/src/android/opengl/cts/
EglConfigGLSurfaceView.java 24 import java.nio.ByteBuffer;
89 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4);
90 byteBuffer.order(ByteOrder.nativeOrder());
92 mFloatBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4)
155 mFloatBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4)
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
StaticTriangleRenderer.java 23 import java.nio.ByteBuffer;
218 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4);
222 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4);
226 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 2);
TriangleRenderer.java 21 import java.nio.ByteBuffer;
186 ByteBuffer vbb = ByteBuffer.allocateDirect(VERTS * 3 * 4);
190 ByteBuffer tbb = ByteBuffer.allocateDirect(VERTS * 2 * 4);
194 ByteBuffer ibb = ByteBuffer.allocateDirect(VERTS * 2);
  /external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/
AWTLoader.java 47 import java.nio.ByteBuffer;
114 ByteBuffer data1 = BufferUtils.createByteBuffer(img.getWidth()*img.getHeight()*4);
122 ByteBuffer data2 = BufferUtils.createByteBuffer(img.getWidth()*img.getHeight()*3);
129 ByteBuffer data3 = BufferUtils.createByteBuffer(img.getWidth()*img.getHeight());
137 ByteBuffer data4 = BufferUtils.createByteBuffer(img.getWidth()*img.getHeight()*2);
145 ByteBuffer data = BufferUtils.createByteBuffer(img.getWidth()*img.getHeight()*3);
164 ByteBuffer data = BufferUtils.createByteBuffer(img.getWidth()*img.getHeight()*4);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
SobelFilter.java 28 import java.nio.ByteBuffer;
145 ByteBuffer inputBuffer = inputImage.lockBytes(Frame.MODE_READ);
146 ByteBuffer magBuffer = (magImage != null) ?
148 ByteBuffer dirBuffer = (dirImage != null) ?
169 ByteBuffer imageBuffer, ByteBuffer magBuffer, ByteBuffer dirBudder);
  /libcore/luni/src/main/java/libcore/io/
BlockGuardOs.java 25 import java.nio.ByteBuffer;
122 @Override public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
132 @Override public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
142 @Override public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException {
157 @Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
167 @Override public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException {
190 @Override public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException {
Os.java 24 import java.nio.ByteBuffer;
94 public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException;
96 public int pwrite(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException;
98 public int read(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException;
101 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException;
105 public int sendto(FileDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws ErrnoException, SocketException;
136 public int write(FileDescriptor fd, ByteBuffer buffer) throws ErrnoException;
  /prebuilts/gradle-plugin/com/android/tools/ddms/ddmlib/22.2.0/
ddmlib-22.2.0.jar 
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
MediaDrmBridge.java 24 import java.nio.ByteBuffer;
86 private ByteBuffer mMediaCryptoSession;
90 private HashMap<ByteBuffer, Integer> mSessionIds;
92 private HashMap<ByteBuffer, String> mSessionMimeTypes;
146 private ByteBuffer getSession(int sessionId) {
147 for (ByteBuffer session : mSessionIds.keySet()) {
162 mSessionIds = new HashMap<ByteBuffer, Integer>();
163 mSessionMimeTypes = new HashMap<ByteBuffer, String>();
234 private ByteBuffer openSession() throws android.media.NotProvisionedException {
238 // ByteBuffer.wrap() is backed by the byte[]. Make a clone here i
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
stun.cc 40 using talk_base::ByteBuffer;
238 talk_base::ByteBuffer buf;
299 talk_base::ByteBuffer buf;
312 bool StunMessage::Read(ByteBuffer* buf) {
375 bool StunMessage::Write(ByteBuffer* buf) const {
435 void StunAttribute::ConsumePadding(talk_base::ByteBuffer* buf) const {
442 void StunAttribute::WritePadding(talk_base::ByteBuffer* buf) const {
512 bool StunAddressAttribute::Read(ByteBuffer* buf) {
550 bool StunAddressAttribute::Write(ByteBuffer* buf) const {
620 bool StunXorAddressAttribute::Read(ByteBuffer* buf)
    [all...]
stun.h 38 #include "talk/base/bytebuffer.h"
198 bool Read(talk_base::ByteBuffer* buf);
202 bool Write(talk_base::ByteBuffer* buf) const;
239 virtual bool Read(talk_base::ByteBuffer* buf) = 0;
243 virtual bool Write(talk_base::ByteBuffer* buf) const = 0;
261 void WritePadding(talk_base::ByteBuffer* buf) const;
262 void ConsumePadding(talk_base::ByteBuffer* buf) const;
306 virtual bool Read(talk_base::ByteBuffer* buf);
307 virtual bool Write(talk_base::ByteBuffer* buf) const;
344 virtual bool Read(talk_base::ByteBuffer* buf)
    [all...]
  /prebuilts/misc/common/ddmlib/
ddmlib-prebuilt.jar 
  /cts/suite/audio_quality/client/src/com/android/cts/audiotest/
AudioProtocol.java 36 import java.nio.ByteBuffer;
62 private ByteBuffer mHeaderBuffer = ByteBuffer.allocate(PROTOCOL_HEADER_SIZE);
63 private ByteBuffer mDataBuffer = ByteBuffer.allocate(MAX_NON_DATA_PAYLOAD_SIZE);
64 private ByteBuffer mReplyBuffer = ByteBuffer.allocate(PROTOCOL_SIMPLE_REPLY_SIZE);
82 private HashMap<Integer, ByteBuffer> mDataMap = new HashMap<Integer, ByteBuffer>();
143 private void read(InputStream in, ByteBuffer buffer, int len) throws IOException, ExitRequest
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
ByteBufferTest.java 22 import java.nio.ByteBuffer;
35 * Tests java.nio.ByteBuffer
42 protected ByteBuffer buf;
45 buf = ByteBuffer.allocate(10);
136 ByteBuffer readonly = buf.asReadOnlyBuffer();
169 ByteBuffer ret = buf.compact();
223 ByteBuffer other = ByteBuffer.allocate(buf.capacity());
240 assertTrue(ByteBuffer.wrap(new byte[21]).compareTo(ByteBuffer.allocateDirect(21)) == 0)
    [all...]
  /libcore/luni/src/main/java/java/nio/
FileChannelImpl.java 279 public int read(ByteBuffer buffer, long position) throws IOException {
286 public int read(ByteBuffer buffer) throws IOException {
290 private int readImpl(ByteBuffer buffer, long position) throws IOException {
345 public long read(ByteBuffer[] buffers, int offset, int length) throws IOException {
385 ByteBuffer buffer = fileSrc.map(MapMode.READ_ONLY, filePosition, count);
395 ByteBuffer buffer = ByteBuffer.allocate((int) count);
442 ByteBuffer buffer = null;
467 public int write(ByteBuffer buffer, long position) throws IOException {
474 public int write(ByteBuffer buffer) throws IOException
    [all...]
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDownloadRunnable.java 123 byte[] byteBuffer = mPhotoTask.getByteBuffer();
139 if (null == byteBuffer) {
280 byteBuffer = new byte[bufferOffset];
283 System.arraycopy(tempBuffer, 0, byteBuffer, 0, bufferOffset);
290 byteBuffer = new byte[contentSize];
305 byteBuffer,
359 mPhotoTask.setByteBuffer(byteBuffer);
376 // If the byteBuffer is null, reports that the download failed.
377 if (null == byteBuffer) {
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
ShaderUtils.java 38 import java.nio.ByteBuffer;
255 public static final ByteBuffer getImageDataFromImage(BufferedImage bufferedImage) {
269 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(data.length * 4);
270 byteBuffer.order(ByteOrder.LITTLE_ENDIAN);
271 byteBuffer.asIntBuffer().put(data);
272 byteBuffer.flip();
274 return byteBuffer;
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
AbstractDirectory.java 23 import java.nio.ByteBuffer;
74 * @param data the {@code ByteBuffer} to fill
77 protected abstract void read(ByteBuffer data) throws IOException;
84 * @param data the {@code ByteBuffer} to write
87 protected abstract void write(ByteBuffer data) throws IOException;
214 final ByteBuffer data = ByteBuffer.allocate(
245 final ByteBuffer data = ByteBuffer.allocate(
  /external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/
MySSLContextSpi.java 20 import java.nio.ByteBuffer;
169 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts,
174 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset,
175 int length, ByteBuffer dst) throws SSLException {
  /external/chromium/third_party/libjingle/source/talk/base/
socketadapters.h 41 class ByteBuffer;
212 void DirectSend(const ByteBuffer& buf);
214 void HandleHello(ByteBuffer* request);
216 void HandleAuth(ByteBuffer* request);
218 void HandleConnect(ByteBuffer* request);
  /external/chromium_org/third_party/libjingle/source/talk/base/
socketadapters.h 41 class ByteBuffer;
212 void DirectSend(const ByteBuffer& buf);
214 void HandleHello(ByteBuffer* request);
216 void HandleAuth(ByteBuffer* request);
218 void HandleConnect(ByteBuffer* request);
  /external/guava/guava/src/com/google/common/hash/
Murmur3_128HashFunction.java 20 import java.nio.ByteBuffer;
59 @Override protected void process(ByteBuffer bb) {
86 @Override protected void processRemaining(ByteBuffer bb) {
148 ByteBuffer bb = ByteBuffer.wrap(new byte[16]).order(ByteOrder.LITTLE_ENDIAN);
  /external/jmonkeyengine/engine/src/core/com/jme3/export/
InputCapsule.java 37 import java.nio.ByteBuffer;
126 public ArrayList<ByteBuffer> readByteBufferArrayList(String name, ArrayList<ByteBuffer> defVal) throws IOException;
148 public ByteBuffer readByteBuffer(String name, ByteBuffer defVal) throws IOException;
OutputCapsule.java 37 import java.nio.ByteBuffer;
125 public void writeByteBufferArrayList(ArrayList<ByteBuffer> array, String name, ArrayList<ByteBuffer> defVal) throws IOException;
147 public void write(ByteBuffer value, String name, ByteBuffer defVal) throws IOException;

Completed in 3117 milliseconds

<<11121314151617181920>>