HomeSort by relevance Sort by last modified time
    Searched full:buffers (Results 1 - 25 of 2624) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /dalvik/tests/070-nio-buffer/
info.txt 1 Exercise NIO buffers (e.g. java.nio.ByteBuffer).
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/
FilterStack.java 64 // Use two photo buffers as in and out in turns to apply filters in the stack.
65 private final Photo[] buffers = new Photo[2]; field in class:FilterStack
100 for (int i = 0; i < buffers.length; i++) {
101 if (buffers[i] != null) {
102 buffers[i].clear();
103 buffers[i] = null;
110 buffers[target] = Photo.create(Bitmap.createBitmap(
111 buffers[other].width(), buffers[other].height(), Bitmap.Config.ARGB_8888));
115 // In/out buffers need redrawn by reloading source photo and re-applying filters
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
GatheringByteChannel.java 23 * The interface for channels that can write a set of buffers in a single
30 * Writes bytes from all the given buffers to a channel.
32 * This method is equivalent to: {@code write(buffers, 0, buffers.length);}
34 * @param buffers
35 * the buffers containing bytes to be written.
49 * {@code buffers}.
56 public long write(ByteBuffer[] buffers) throws IOException;
60 * byte buffers, in order, starting at {@code buffers[offset]}. The numbe
    [all...]
ScatteringByteChannel.java 23 * The interface for channels that can read data into a set of buffers in a
30 * Reads bytes from this channel into the specified array of buffers.
32 * This method is equivalent to {@code read(buffers, 0, buffers.length);}
34 * @param buffers
35 * the array of byte buffers to store the bytes being read.
52 public long read(ByteBuffer[] buffers) throws IOException;
56 * buffers, in order, starting at {@code buffers[offset]}. The number of
62 * @param buffers
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLId.java 32 public synchronized static void glGenBuffers(int n, int[] buffers, int offset) {
34 buffers[offset + n] = sNextId++;
42 public synchronized static void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) {
43 gl.glDeleteBuffers(n, buffers, offset);
47 GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) {
48 gl11ep.glDeleteFramebuffersOES(n, buffers, offset);
  /libcore/luni/src/test/java/libcore/java/nio/channels/
FileChannelTest.java 70 // Check that both direct and non-direct buffers work.
72 ByteBuffer[] buffers = new ByteBuffer[] { ByteBuffer.allocateDirect(4), ByteBuffer.allocate(4) }; local
73 assertEquals(8, fc.read(buffers));
75 assertEquals(8, buffers[0].limit() + buffers[1].limit());
77 buffers[0].flip();
78 buffers[0].get(bytes);
80 buffers[1].flip();
81 buffers[1].get(bytes);
88 // Check that both direct and non-direct buffers work
89 ByteBuffer[] buffers = new ByteBuffer[] { ByteBuffer.allocateDirect(4), ByteBuffer.allocate(4) }; local
    [all...]
  /external/valgrind/main/memcheck/tests/
null_socket.c 7 // It's legit to have NULL buffers; before the bug was fixed Valgrind
8 // reported spurious errors for the buffers.
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
FilterStack.java 46 // Use two photo buffers as in and out in turns to apply filters in the stack.
47 private final Photo[] buffers = new Photo[2]; field in class:FilterStack
79 buffers[target] = Photo.create(buffers[other].width(), buffers[other].height());
83 // In/out buffers need redrawn by re-applying filters on source photo.
84 for (int i = 0; i < buffers.length; i++) {
85 if (buffers[i] != null) {
86 buffers[i].clear();
87 buffers[i] = null
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
package.html 11 for reading from {@link com.jme3.scene.mesh.IndexBuffer index buffers}.
15 <li>{@link com.jme3.scene.mesh.IndexByteBuffer} - For reading 8-bit index buffers</li>
16 <li>{@link com.jme3.scene.mesh.IndexShortBuffer} - For reading 16-bit index buffers</li>
17 <li>{@link com.jme3.scene.mesh.IndexIntBuffer} - For reading 32-bit index buffers</li>
  /frameworks/support/volley/src/com/android/volley/toolbox/
ByteArrayPool.java 27 * supply those buffers to consumers who need to use them for a short period of time and then
28 * dispose of them. Simply creating and disposing such buffers in the conventional manner can
31 * permanently allocated pool of buffers in order to gain heap performance improvements; that is
35 * <code>byte[]</code> buffers to copy data around. In these use cases, often the consumer wants
39 * free to return buffers larger than the requested size. The caller needs to be able to gracefully
40 * deal with getting buffers any size over the minimum.
45 * This class has no special ownership of buffers it creates; the caller is free to take a buffer
50 * This class ensures that the total size of the buffers in its recycling pool never exceeds a
52 * least-recently-used buffers are disposed.
59 /** The total size of the buffers in the pool *
    [all...]
  /external/skia/src/gpu/
GrBufferAllocPool.h 23 * A pool of geometry buffers tied to a GrGpu.
27 * it calls unlock on the pool ensure buffers are ready for drawing. The pool
31 * a number of buffers to preallocate can be specified. These will
38 * Ensures all buffers are unlocked and have all data written to them.
39 * Call before drawing using buffers from the pool.
44 * Invalidates all the data in the pool, unrefs non-preallocated buffers.
49 * Gets the number of preallocated buffers that are yet to be used.
54 * gets the number of preallocated buffers
70 * Used to determine what type of buffers to create. We could make the
72 * pre-allocated buffers
    [all...]
  /frameworks/av/libvideoeditor/vss/stagefrightshells/src/
MediaBufferPuller.h 30 * An object of this class can pull a list of media buffers
32 * buffers from that list.
39 // Start to build up the list of the buffers.
42 // Release the list of the available buffers, and stop
43 // pulling buffers from the MediaSource.
55 // Add a buffer to the end of the list available media buffers
  /external/qemu/audio/
winaudio.c 96 WAVEHDR buffers[ NUM_OUT_BUFFERS ]; member in struct:WinAudioOut
98 int write_count; /* available writable buffers count */
139 if ( s->buffers[i].dwUser != 0xFFFF ) {
141 s->waveout, &s->buffers[i], sizeof(s->buffers[i]) );
142 s->buffers[i].dwUser = 0xFFFF;
169 s->buffers[i].dwUser = 0xFFFF;
211 fprintf(stderr, "not enough memory for Windows audio buffers\n");
216 memset( &s->buffers[i], 0, sizeof(s->buffers[i]) );
347 WAVEHDR buffers[ NUM_IN_BUFFERS ]; member in struct:WinAudioIn
    [all...]
  /frameworks/native/include/media/hardware/
HardwareAPI.h 35 // buffers. This is the mode that will be used when CPU access to the buffer is
54 // When meta data is stored in the video buffers passed between OMX clients
59 // in these buffers, with mechanisms pre-determined externally. How to
66 // in the buffers. In addition, if no OMX_SetParameter() call is made
68 // in the buffers.
80 // enabling use of Android native buffers.
93 // allocate the Gralloc buffers that get passed to the useAndroidNativeBuffer
105 // colorformat will be relayed by the GRalloc Buffers.
  /libcore/luni/src/main/java/java/nio/
PipeImpl.java 92 public long read(ByteBuffer[] buffers) throws IOException {
93 return channel.read(buffers);
96 public long read(ByteBuffer[] buffers, int offset, int length) throws IOException {
97 return channel.read(buffers, offset, length);
127 public long write(ByteBuffer[] buffers) throws IOException {
128 return channel.write(buffers);
131 public long write(ByteBuffer[] buffers, int offset, int length) throws IOException {
132 return channel.write(buffers, offset, length);
  /external/chromium/webkit/glue/
gl_bindings_skia_cmd_buffer.h 12 // binds skia-gpu to the cmd buffers GL.
  /external/openssl/patches/
README 11 32K. OpenSSL statically allocates read and write buffers (34K and
13 With this patch, OpenSSL statically allocates 4K + 4K buffers, with
14 the option of dynamically growing buffers to 34K + 4K, which is a
  /frameworks/av/media/libmedia/
IStreamSource.cpp 58 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) {
61 data.writeInt32(static_cast<int32_t>(buffers.size()));
62 for (size_t i = 0; i < buffers.size(); ++i) {
63 data.writeStrongBinder(buffers.itemAt(i)->asBinder());
94 Vector<sp<IMemory> > buffers; local
99 buffers.push(mem);
101 setBuffers(buffers);
  /system/core/include/system/
window.h 115 /* The minimum number of buffers that must remain un-dequeued after a buffer
117 * override the number of buffers and if a buffer has since been queued.
120 * buffers simultaneously dequeued as part of the steady-state operation,
121 * and this query returns M then N+M buffers should be requested via
127 * 1. Query M = min undequeued buffers
129 * 3. Dequeue all N + M buffers
130 * 4. Cancel M buffers
137 * to 1 if the ANativeWindow DOES send queued buffers directly to the window
138 * compositor and 0 if the buffers do not go directly to the window
143 * indicate that queued buffers will be protected from applications or user
    [all...]
  /frameworks/av/include/media/stagefright/
MediaSource.h 41 // returns. Any buffers the object may be holding onto at the time of
43 // Also, it is imperative that any buffers output by this object and
58 // but should be prepared for buffers of the new configuration.
103 // The consumer of this media source requests that the given buffers
107 // Callee assumes ownership of the buffers if no error is returned.
108 virtual status_t setBuffers(const Vector<MediaBuffer *> &buffers) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/
GLServerVertex.java 87 public SparseArray<GLBuffer> buffers = new SparseArray<GLBuffer>(); field in class:GLServerVertex
93 buffers.append(0, null);
112 copy.buffers = new SparseArray<GLBuffer>(buffers.size());
113 for (int i = 0; i < buffers.size(); i++)
114 if (buffers.valueAt(i) != null)
115 copy.buffers.append(buffers.keyAt(i), buffers.valueAt(i).clone());
117 copy.buffers.append(buffers.keyAt(i), null)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
StringBufferPool.java 24 * This class pools string buffers, since they are reused so often.
25 * String buffers are good candidates for pooling, because of
32 /** The global pool of string buffers. */
  /external/llvm/include/llvm/Support/
SourceMgr.h 1 //===- SourceMgr.h - Manager for Source Buffers & Diagnostics ---*- C++ -*-===//
54 /// Buffers - This is all of the buffers that we are reading from.
55 std::vector<SrcBuffer> Buffers;
89 assert(i < Buffers.size() && "Invalid Buffer ID!");
90 return Buffers[i];
94 assert(i < Buffers.size() && "Invalid Buffer ID!");
95 return Buffers[i].Buffer;
99 assert(i < Buffers.size() && "Invalid Buffer ID!");
100 return Buffers[i].IncludeLoc
    [all...]
  /external/protobuf/
protobuf-lite.pc.in 6 Name: Protocol Buffers
protobuf.pc.in 6 Name: Protocol Buffers

Completed in 5468 milliseconds

1 2 3 4 5 6 7 8 91011>>