Searched refs:buffers (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/media/libmedia/
H A DIStreamSource.cpp58 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) { argument
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);
/frameworks/base/libs/ui/
H A DFramebufferNativeWindow.cpp74 * Currently it is pretty simple, it manages only two buffers (the front and
106 buffers[i] = new NativeBuffer(
114 GRALLOC_USAGE_HW_FB, &buffers[i]->handle, &buffers[i]->stride);
150 if (buffers[0] != NULL)
151 grDev->free(grDev, buffers[0]->handle);
152 if (buffers[1] != NULL)
153 grDev->free(grDev, buffers[1]->handle);
225 *buffer = self->buffers[index].get();
/frameworks/base/opengl/libagl/
H A DBufferObjectManager.cpp85 void EGLBufferObjectManager::deleteBuffers(GLsizei n, const GLuint* buffers) argument
89 const GLuint t = *buffers++;
H A DBufferObjectManager.h64 void deleteBuffers(GLsizei n, const GLuint* buffers);
H A Dstate.cpp369 int index = c->rasterizer.state.buffers.color.format;
375 int index = c->rasterizer.state.buffers.color.format;
381 int index = c->rasterizer.state.buffers.color.format;
387 int index = c->rasterizer.state.buffers.color.format;
409 params[0] = c->rasterizer.state.buffers.depth.format ? 0 : 16;
/frameworks/base/cmds/stagefright/
H A Dstream.cpp47 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
84 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) { argument
85 mBuffers = buffers;
127 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
193 const Vector<sp<IMemory> > &buffers) {
194 mBuffers = buffers;
192 setBuffers( const Vector<sp<IMemory> > &buffers) argument
/frameworks/base/include/media/
H A DIStreamSource.h33 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) = 0;
/frameworks/base/include/media/stagefright/
H A DMediaSource.h41 // 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) { argument
/frameworks/base/include/private/media/
H A DAudioTrackShared.h68 void* buffers; member in struct:android::audio_track_cblk_t
/frameworks/base/include/ui/
H A DFramebufferNativeWindow.h79 sp<NativeBuffer> buffers[NUM_FRAME_BUFFERS]; member in class:android::FramebufferNativeWindow
/frameworks/base/media/libstagefright/
H A DOMXCodec.cpp52 // buffers after 3 seconds.
312 // The AVC encoder advertises the size of output buffers
363 // These output buffers contain no video data, just some
1667 LOGE("protected output buffers must be stent to an ANativeWindow");
1676 LOGE("Storing meta data in video buffers is not supported");
1692 CODEC_LOGV("allocating %lu buffers of size %lu on %s port",
1772 Vector<MediaBuffer *> buffers; local
1777 buffers.push(mbuf);
1780 status_t err = mSource->setBuffers(buffers);
1784 buffers
2018 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2237 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
2295 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2839 countBuffersWeOwn(const Vector<BufferInfo> &buffers) argument
2852 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2882 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
3005 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
3018 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
3026 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
3386 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
3399 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
4015 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
[all...]
/frameworks/base/media/libstagefright/omx/tests/
H A DOMXHarness.h62 Vector<Buffer> *buffers);
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java227 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
231 int[] buffers,
235 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
239 java.nio.IntBuffer buffers
251 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
255 int[] buffers,
259 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
263 java.nio.IntBuffer buffers
229 glDeleteBuffers( int n, int[] buffers, int offset ) argument
253 glGenBuffers( int n, int[] buffers, int offset ) argument
H A DGLErrorWrapper.java991 public void glDeleteBuffers(int n, int[] buffers, int offset) { argument
993 mgl11.glDeleteBuffers(n, buffers, offset);
997 public void glDeleteBuffers(int n, IntBuffer buffers) { argument
999 mgl11.glDeleteBuffers(n, buffers);
1009 public void glGenBuffers(int n, int[] buffers, int offset) { argument
1011 mgl11.glGenBuffers(n, buffers, offset);
1015 public void glGenBuffers(int n, IntBuffer buffers) { argument
1017 mgl11.glGenBuffers(n, buffers);
H A DGLES20.java555 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
559 int[] buffers,
563 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
567 java.nio.IntBuffer buffers
738 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
742 int[] buffers,
746 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
750 java.nio.IntBuffer buffers
557 glDeleteBuffers( int n, int[] buffers, int offset ) argument
740 glGenBuffers( int n, int[] buffers, int offset ) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java204 int[] buffers,
210 java.nio.IntBuffer buffers
222 int[] buffers,
228 java.nio.IntBuffer buffers
202 glDeleteBuffers( int n, int[] buffers, int offset ) argument
220 glGenBuffers( int n, int[] buffers, int offset ) argument
/frameworks/base/opengl/tools/glgen/specs/gles11/
H A DGLES11.spec8 void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
10 void glGenBuffers ( GLsizei n, GLuint *buffers )
H A Dchecks.spec5 glDeleteBuffers check buffers n
9 glGenBuffers check buffers n
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp74 void clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers);
76 jbyteArray getCallbackBuffer(JNIEnv *env, Vector<jbyteArray> *buffers, size_t bufferSize);
100 bool mManualBufferMode; // Whether to use application managed buffers.
195 JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize)
200 if (!buffers->isEmpty()) {
201 LOGV("Using callback buffer from queue of length %d", buffers->size());
202 jbyteArray globalBuffer = buffers->itemAt(0);
203 buffers->removeAt(0);
243 LOGV("Out of buffers, clearing callback!");
370 // of buffers fo
194 getCallbackBuffer( JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) argument
432 clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers) argument
[all...]
H A Dandroid_opengl_GLES11.cpp315 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
321 GLuint *buffers = (GLuint *) 0; local
324 jniThrowException(_env, "java/lang/IllegalArgumentException", "buffers == null");
338 buffers = buffers_base + offset;
342 (GLuint *)buffers
352 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
358 GLuint *buffers = (GLuint *) 0; local
360 buffers = (GLuint *)getPointer(_env, buffers_buf, &_array, &_remaining);
367 (GLuint *)buffers
372 releasePointer(_env, _array, buffers, JNI_FALS
395 GLuint *buffers = (GLuint *) 0; local
436 GLuint *buffers = (GLuint *) 0; local
[all...]
/frameworks/base/libs/gui/tests/
H A DSurfaceTexture_test.cpp706 // and GPU-read buffers.
1191 sp<GraphicBuffer> buffers[3]; local
1213 buffers[i] = mST->getCurrentBuffer();
1216 // Destroy the GL texture object to release its ref on buffers[2].
1224 // Release the ref that the SurfaceTexture has on buffers[2].
1227 EXPECT_EQ(1, buffers[0]->getStrongCount());
1228 EXPECT_EQ(1, buffers[1]->getStrongCount());
1230 // Depending on how lazily the GL driver dequeues buffers, we may end up
1231 // with either two or three total buffers. If there are three, make sure
1233 if (buffers[
1239 sp<GraphicBuffer> buffers[3]; local
[all...]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s29 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
32 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
35 ; * [in] pSrcMVUpperRightMB pointers to the motion vector buffers of the
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s29 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
32 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
35 ; * [in] pSrcMVUpperRightMB pointers to the motion vector buffers of the
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Ddbgcontext.cpp398 void DbgContext::glDeleteBuffers(GLsizei n, const GLuint *buffers)
402 if (buffers[i] == vertexAttribs[j].buffer) {
408 if (b->name == buffers[i]) {
H A Dheader.h119 } * indexBuffers; // linked list of all index buffers
149 void glDeleteBuffers(GLsizei n, const GLuint *buffers);

Completed in 349 milliseconds

12