Searched refs:buffers (Results 51 - 75 of 94) sorted by relevance

1234

/frameworks/av/media/libaudioclient/
H A DIAudioFlinger.cpp192 sp<IMemory>& buffers,
219 buffers.clear();
246 buffers = interface_cast<IMemory>(reply.readStrongBinder());
247 if (buffers != 0 && buffers->pointer() == NULL) {
248 buffers.clear();
258 // buffers is permitted to be 0
260 if (record != 0 || cblk != 0 || buffers != 0) {
262 "or buffers but with status %d", lStatus);
268 buffers
178 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *pFrameCount, audio_input_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status, audio_port_handle_t portId) argument
1026 sp<IMemory> buffers; local
[all...]
H A DAudioRecord.cpp679 // Starting address of buffers in shared memory.
680 // The buffers are either immediately after the control block,
682 void *buffers; local
684 buffers = cblk + 1;
686 buffers = bufferMem->pointer();
687 if (buffers == NULL) {
730 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize);
1123 // The callback is done consuming buffers
H A DAudioTrack.cpp1363 // FIXME: Ensure client side memory buffers need
1499 // The client can divide the AudioTrack buffer into sub-buffers,
1528 // Starting address of buffers in shared memory. If there is a shared buffer, buffers
1529 // is the value of pointer() for the shared buffer, otherwise buffers points
1532 void* buffers; local
1534 buffers = cblk + 1;
1536 buffers = mSharedBuffer->pointer();
1537 if (buffers == NULL) {
1561 mProxy = new AudioTrackClientProxy(cblk, buffers, frameCoun
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.cpp68 void StreamSourceAppProxy::setBuffers(const Vector<sp<IMemory> > &buffers) { argument
71 mBuffers = buffers;
81 // no buffers available to push data to from the buffer queue, bail
90 //SL_LOGD("onBufferAvailable() now %d buffers available in queue",
261 //SL_LOGD("%d buffers available after reading from queue", mAvailableBuffers.size());
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp417 Vector<sp<MediaCodecBuffer> > buffers; local
421 ? mCodec->getInputBuffers(&buffers)
422 : mCodec->getOutputBuffers(&buffers);
429 buffers.size(), mByteBufferClass, NULL);
434 for (size_t i = 0; i < buffers.size(); ++i) {
435 const sp<MediaCodecBuffer> &buffer = buffers.itemAt(i);
1578 jobjectArray buffers; local
1579 status_t err = codec->getBuffers(env, input, &buffers);
1582 return buffers;
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h171 status_t getInputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
172 status_t getOutputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
/frameworks/av/media/libstagefright/foundation/include/
H A DMediaCodec.h171 status_t getInputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
172 status_t getOutputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
/frameworks/av/media/libstagefright/include/
H A DMediaCodec.h171 status_t getInputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
172 status_t getOutputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const;
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp738 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
747 GLuint *buffers = (GLuint *) 0; local
752 _exceptionMessage = "buffers == null";
770 buffers = buffers_base + offset;
774 (GLuint *)buffers
787 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
797 GLuint *buffers = (GLuint *) 0; local
802 _exceptionMessage = "buffers == null";
805 buffers = (GLuint *)getPointer(_env, buffers_buf, (jarray*)&_array, &_remaining, &_bufferOffset);
812 if (buffers
857 GLuint *buffers = (GLuint *) 0; local
907 GLuint *buffers = (GLuint *) 0; local
[all...]
H A Dandroid_opengl_GLES20.cpp908 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
917 GLuint *buffers = (GLuint *) 0; local
922 _exceptionMessage = "buffers == null";
940 buffers = buffers_base + offset;
944 (GLuint *)buffers
957 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
967 GLuint *buffers = (GLuint *) 0; local
972 _exceptionMessage = "buffers == null";
975 buffers = (GLuint *)getPointer(_env, buffers_buf, (jarray*)&_array, &_remaining, &_bufferOffset);
982 if (buffers
1499 GLuint *buffers = (GLuint *) 0; local
1549 GLuint *buffers = (GLuint *) 0; local
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp4620 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
4629 GLuint *buffers = (GLuint *) 0; local
4634 _exceptionMessage = "buffers == null";
4652 buffers = buffers_base + offset;
4656 (GLuint *)buffers
4669 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
4679 GLuint *buffers = (GLuint *) 0; local
4684 _exceptionMessage = "buffers == null";
4687 buffers = (GLuint *)getPointer(_env, buffers_buf, (jarray*)&_array, &_remaining, &_bufferOffset);
4694 if (buffers
4739 GLuint *buffers = (GLuint *) 0; local
4789 GLuint *buffers = (GLuint *) 0; local
[all...]
/frameworks/base/opengl/java/android/opengl/
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.java559 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
563 int[] buffers,
567 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
571 java.nio.IntBuffer buffers
742 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
746 int[] buffers,
750 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
754 java.nio.IntBuffer buffers
561 glDeleteBuffers( int n, int[] buffers, int offset ) argument
744 glGenBuffers( int n, int[] buffers, int offset ) argument
H A DGLLogWrapper.java2812 public void glDeleteBuffers(int n, int[] buffers, int offset) { argument
2815 arg("buffers", buffers.toString());
2818 mgl11.glDeleteBuffers(n, buffers, offset);
2822 public void glDeleteBuffers(int n, IntBuffer buffers) { argument
2825 arg("buffers", buffers.toString());
2827 mgl11.glDeleteBuffers(n, buffers);
2831 public void glGenBuffers(int n, int[] buffers, int offset) { argument
2834 arg("buffers", buffer
2841 glGenBuffers(int n, IntBuffer buffers) argument
[all...]
/frameworks/av/include/media/
H A DIAudioFlinger.h89 sp<IMemory>& buffers, // return value 0 means it follows cblk
263 // Requests media.log to start merging log buffers
/frameworks/av/media/libaudioclient/include/media/
H A DIAudioFlinger.h89 sp<IMemory>& buffers, // return value 0 means it follows cblk
263 // Requests media.log to start merging log buffers
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java1239 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
1243 int[] buffers,
1247 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
1251 java.nio.IntBuffer buffers
1263 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
1267 int[] buffers,
1271 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
1275 java.nio.IntBuffer buffers
1241 glDeleteBuffers( int n, int[] buffers, int offset ) argument
1265 glGenBuffers( int n, int[] buffers, int offset ) argument
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES20.spec29 void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
51 void glGenBuffers ( GLsizei n, GLuint *buffers )
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp116 // Verify the screenshot works with no protected buffers.
346 ANativeWindowBuffer* buffers[BUFFER_COUNT]; local
347 // Allocate buffers because detachNextBuffer requires allocated buffers
349 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i]));
352 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i]));
368 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[0], &fences[0]));
371 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[0], fences[0]));
380 // Re-allocate buffers since all buffers ar
[all...]
/frameworks/native/opengl/libagl/
H A Darray.cpp1451 // buffers
1534 void glDeleteBuffers(GLsizei n, const GLuint* buffers) argument
1543 GLuint name = buffers[i];
1545 // unbind bound deleted buffers...
1580 c->bufferObjectManager->deleteBuffers(n, buffers);
1581 c->bufferObjectManager->recycleTokens(n, buffers);
1584 void glGenBuffers(GLsizei n, GLuint* buffers) argument
1591 c->bufferObjectManager->getToken(n, buffers);
H A Dtexture.cpp689 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
793 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
1327 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
1450 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
1507 const GGLSurface& readSurface = c->rasterizer.state.buffers.read.s;
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp1193 status_t MediaCodec::getInputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const {
1196 msg->setPointer("buffers", buffers);
1202 status_t MediaCodec::getOutputBuffers(Vector<sp<MediaCodecBuffer> > *buffers) const {
1205 msg->setPointer("buffers", buffers);
1261 std::vector<BufferInfo> &buffers = mPortBuffers[portIndex]; local
1262 if (index >= buffers.size()) {
1264 "bad index (index=%zu buffer_size=%zu)", index, buffers.size());
1268 const BufferInfo &info = buffers[inde
[all...]
/frameworks/base/libs/hwui/debug/
H A DNullGlesDriver.h29 virtual void glGenBuffers_(GLsizei n, GLuint *buffers) override;
71 virtual void glDeleteBuffers_(GLsizei n, const GLuint *buffers) override {}
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.h82 virtual status_t setBuffers(bool audio, Vector<MediaBuffer *> &buffers);
300 // include an item indicating skipping rendering all buffers with timestamp
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp213 OMX_U32 portIndex, Vector<Buffer> *buffers) {
214 buffers->clear();
245 buffers->push(buffer);
335 // allocating all input and output buffers.
338 "all input and output buffers are allocated.");
340 // Now allocate buffers.
359 "after all input and output buffers were allocated.");
395 "Not all output buffers have been returned to us by the time "
422 "Not all input buffers have been returned to us by the "
429 "Not all output buffers hav
212 allocatePortBuffers( OMX_U32 portIndex, Vector<Buffer> *buffers) argument
[all...]

Completed in 605 milliseconds

1234