/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 49 virtual void setBuffers(const Vector<sp<IMemory> > &buffers); 86 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) { argument 87 mBuffers = buffers; 129 virtual void setBuffers(const Vector<sp<IMemory> > &buffers); 195 const Vector<sp<IMemory> > &buffers) { 196 mBuffers = buffers; 194 setBuffers( const Vector<sp<IMemory> > &buffers) argument
|
/frameworks/av/include/media/stagefright/ |
H A D | 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) { argument
|
/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 67 // next 4 are offsets within "buffers" 73 // if there is a shared buffer, "buffers" is the value of pointer() for the shared 74 // buffer, otherwise "buffers" points immediately after the control block 75 void* buffers; member in struct:android::audio_track_cblk_t
|
/frameworks/av/media/libmedia/ |
H A D | IStreamSource.cpp | 59 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) { argument 62 data.writeInt32(static_cast<int32_t>(buffers.size())); 63 for (size_t i = 0; i < buffers.size(); ++i) { 64 data.writeStrongBinder(buffers.itemAt(i)->asBinder()); 103 Vector<sp<IMemory> > buffers; local 108 buffers.push(mem); 110 setBuffers(buffers);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 305 status_t MediaCodec::getInputBuffers(Vector<sp<ABuffer> > *buffers) const { 308 msg->setPointer("buffers", buffers); 314 status_t MediaCodec::getOutputBuffers(Vector<sp<ABuffer> > *buffers) const { 317 msg->setPointer("buffers", buffers); 570 ALOGV("%s buffers allocated", 578 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local 599 buffers->push_back(info); 604 // We're always allocating output buffers afte 1256 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local 1283 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local [all...] |
H A D | OMXCodec.cpp | 50 // buffers after 3 seconds. 248 index, "output-buffers-are-unreadable")) { 1512 ALOGE("protected output buffers must be stent to an ANativeWindow"); 1521 ALOGE("Storing meta data in video buffers is not supported"); 1537 CODEC_LOGV("allocating %lu buffers of size %lu on %s port", 1643 Vector<MediaBuffer *> buffers; local 1648 buffers.push(mbuf); 1651 status_t err = mSource->setBuffers(buffers); 1655 buffers.editItemAt(i)->release(); 1657 buffers 1886 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local 2100 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local 2151 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local 2714 countBuffersWeOwn(const Vector<BufferInfo> &buffers) argument 2727 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local 2757 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local 2880 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local 2893 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local 2901 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local 3222 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local 3235 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local 3906 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 180 Vector<Buffer> *buffers) { 181 buffers->clear(); 197 buffers->push(buffer); 303 // allocating all input and output buffers. 306 "all input and output buffers are allocated."); 308 // Now allocate buffers. 327 "after all input and output buffers were allocated."); 363 "Not all output buffers have been returned to us by the time " 390 "Not all input buffers have been returned to us by the " 397 "Not all output buffers hav 177 allocatePortBuffers( const sp<MemoryDealer> &dealer, IOMX::node_id node, OMX_U32 portIndex, Vector<Buffer> *buffers) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/sink/ |
H A D | TunnelRenderer.cpp | 55 virtual void setBuffers(const Vector<sp<IMemory> > &buffers); 97 const Vector<sp<IMemory> > &buffers) { 98 mBuffers = buffers; 96 setBuffers( const Vector<sp<IMemory> > &buffers) argument
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | Camera2Device.cpp | 669 ALOGVV("MetadataQueue: deque (%d buffers)", mCount); 1003 "usage 0x%x, producer wants %d buffers", __FUNCTION__, 1075 ALOGV("%s: Consumer wants %d buffers", __FUNCTION__, 1091 // Register allocated buffers with HAL device 1092 buffer_handle_t *buffers = new buffer_handle_t[mTotalBuffers]; local 1104 buffers[bufferIdx] = anwBuffers[bufferIdx]->handle; 1105 ALOGV("%s: Buffer %p allocated", __FUNCTION__, (void*)buffers[bufferIdx]); 1108 ALOGV("%s: Registering %d buffers with camera HAL", __FUNCTION__, mTotalBuffers); 1112 buffers); 1114 ALOGE("%s: Unable to register buffers wit [all...] |
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | BurstCapture.cpp | 89 Vector<CpuConsumer::LockedBuffer*> buffers; local 90 buffers.push_back(imgBuffer); 91 buffers.push_back(imgEncoded); 94 status_t res = jpeg->start(buffers, 1); 98 return buffers[1];
|
H A D | JpegCompressor.cpp | 39 status_t JpegCompressor::start(Vector<CpuConsumer::LockedBuffer*> buffers, argument 51 mBuffers = buffers;
|
/frameworks/av/services/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 309 virtual status_t registerBuffers(const BufferHeap& buffers); 328 status_t MSurface::registerBuffers(const BufferHeap& buffers) { argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 76 void clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers); 78 jbyteArray getCallbackBuffer(JNIEnv *env, Vector<jbyteArray> *buffers, size_t bufferSize); 102 bool mManualBufferMode; // Whether to use application managed buffers. 197 JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) 202 if (!buffers->isEmpty()) { 203 ALOGV("Using callback buffer from queue of length %d", buffers->size()); 204 jbyteArray globalBuffer = buffers->itemAt(0); 205 buffers->removeAt(0); 245 ALOGV("Out of buffers, clearing callback!"); 372 // of buffers fo 196 getCallbackBuffer( JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) argument 434 clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers) argument [all...] |
H A D | android_opengl_GLES11.cpp | 380 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */ 389 GLuint *buffers = (GLuint *) 0; local 394 _exceptionMessage = "buffers == null"; 412 buffers = buffers_base + offset; 416 (GLuint *)buffers 429 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */ 439 GLuint *buffers = (GLuint *) 0; local 441 buffers = (GLuint *)getPointer(_env, buffers_buf, &_array, &_remaining, &_bufferOffset); 448 if (buffers == NULL) { 450 buffers 493 GLuint *buffers = (GLuint *) 0; local 543 GLuint *buffers = (GLuint *) 0; local [all...] |
H A D | android_opengl_GLES20.cpp | 542 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */ 551 GLuint *buffers = (GLuint *) 0; local 556 _exceptionMessage = "buffers == null"; 574 buffers = buffers_base + offset; 578 (GLuint *)buffers 591 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */ 601 GLuint *buffers = (GLuint *) 0; local 603 buffers = (GLuint *)getPointer(_env, buffers_buf, &_array, &_remaining, &_bufferOffset); 610 if (buffers == NULL) { 612 buffers 1063 GLuint *buffers = (GLuint *) 0; local 1113 GLuint *buffers = (GLuint *) 0; local [all...] |
H A D | com_google_android_gles_jni_GLImpl.cpp | 4366 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */ 4375 GLuint *buffers = (GLuint *) 0; local 4380 _exceptionMessage = "buffers == null"; 4398 buffers = buffers_base + offset; 4402 (GLuint *)buffers 4415 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */ 4425 GLuint *buffers = (GLuint *) 0; local 4427 buffers = (GLuint *)getPointer(_env, buffers_buf, &_array, &_remaining, &_bufferOffset); 4434 if (buffers == NULL) { 4436 buffers 4479 GLuint *buffers = (GLuint *) 0; local 4529 GLuint *buffers = (GLuint *) 0; local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 206 Vector<sp<ABuffer> > buffers; local 210 ? mCodec->getInputBuffers(&buffers) 211 : mCodec->getOutputBuffers(&buffers); 239 buffers.size(), byteBufferClass, NULL); 241 for (size_t i = 0; i < buffers.size(); ++i) { 242 const sp<ABuffer> &buffer = buffers.itemAt(i); 697 jobjectArray buffers; local 698 status_t err = codec->getBuffers(env, input, &buffers); 701 return buffers;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11.java | 227 // 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 D | GLES20.java | 555 // 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
|
H A D | GLErrorWrapper.java | 991 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 D | GLLogWrapper.java | 2812 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/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 1239 // 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/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11.java | 204 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/native/include/ui/ |
H A D | FramebufferNativeWindow.h | 81 sp<NativeBuffer> buffers[MAX_NUM_FRAME_BUFFERS]; member in class:android::FramebufferNativeWindow
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTexture_test.cpp | 844 // and GPU-read buffers. 1424 // This test requires 3 buffers to avoid deadlock because we're 1476 // This test requires 3 buffers to complete run on a single thread. 1546 sp<GraphicBuffer> buffers[2]; local 1569 buffers[i] = mST->getCurrentBuffer(); 1572 // Destroy the GL texture object to release its ref on buffers[2]. 1582 EXPECT_EQ(1, buffers[0]->getStrongCount()); 1587 EXPECT_EQ(2, buffers[1]->getStrongCount()); 1591 sp<GraphicBuffer> buffers[3]; local 1615 buffers[ [all...] |