/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
SharedBuffer.java | 25 private volatile Buffer mProducer = null; 33 if (mProducer != null 34 && !mProducer.isSameSize(producer)) { 35 mProducer.remove(); 36 mProducer = null; 38 if (mProducer == null) { 39 mProducer = new Buffer(producer); 41 mProducer.useBitmap(producer); 46 return mProducer; 55 mIntermediate = mProducer; [all...] |
/frameworks/native/libs/gui/tests/ |
IGraphicBufferProducer_test.cpp | 86 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 104 return mProducer->connect(TEST_TOKEN, 199 return mProducer->dequeueBuffer(&result->slot, &result->fence, w, h, format, usage); 212 (mProducer->dequeueBuffer(slot, fence, DEFAULT_WIDTH, 219 ASSERT_OK(mProducer->requestBuffer(*slot, buffer)); 226 sp<IGraphicBufferProducer> mProducer; 234 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, 240 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, 253 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, 260 EXPECT_EQ(NO_INIT, mProducer->connect(TEST_TOKEN [all...] |
BufferQueue_test.cpp | 63 ASSERT_EQ(OK, mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, 69 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 93 sp<IGraphicBufferProducer> mProducer; 124 mProducer = interface_cast<IGraphicBufferProducer>(binderProducer); 125 EXPECT_TRUE(mProducer != NULL); 135 mProducer->connect(NULL, NATIVE_WINDOW_API_CPU, false, &output)); 141 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 143 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer)); 154 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); 171 mProducer->connect(new DummyProducerListener, NATIVE_WINDOW_API_CPU, false [all...] |
/frameworks/native/services/surfaceflinger/ |
MonitoredProducer.cpp | 25 mProducer(producer), 37 : mFlinger(flinger), mProducer(producer) {} 43 mFlinger->mGraphicBufferProducerList.remove(mProducer); 49 wp<IBinder> mProducer; 56 return mProducer->requestBuffer(slot, buf); 61 return mProducer->setMaxDequeuedBufferCount(maxDequeuedBuffers); 65 return mProducer->setAsyncMode(async); 70 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage); 74 return mProducer->detachBuffer(slot); 79 return mProducer->detachNextBuffer(outBuffer, outFence) [all...] |
MonitoredProducer.h | 69 sp<IGraphicBufferProducer> mProducer;
|
/frameworks/av/media/libstagefright/filters/ |
GraphicBufferListener.h | 41 return mProducer; 58 // Our BufferQueue interfaces. mProducer is passed to the producer through 61 sp<IGraphicBufferProducer> mProducer;
|
GraphicBufferListener.cpp | 36 BufferQueue::createBufferQueue(&mProducer, &mConsumer);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3ZslStream.cpp | 123 mProducer = new RingBufferConsumer(consumer, GRALLOC_USAGE_HW_CAMERA_ZSL, bufferCount); 124 mProducer->setName(String8("Camera2-ZslRingBufferConsumer")); 153 assert(mProducer != 0); 293 mProducer->pinSelectedBuffer(timestampFinder, 328 *latestTimestamp = mProducer->getLatestTimestamp(); 332 return mProducer->clear();
|
Camera3InputStream.h | 52 sp<IGraphicBufferProducer> mProducer;
|
Camera3InputStream.cpp | 172 } else if (mProducer == NULL) { 177 *producer = mProducer; 261 mProducer = producer;
|
Camera3ZslStream.h | 78 sp<RingBufferConsumer> mProducer;
|
/frameworks/base/libs/hwui/utils/ |
TestWindowContext.cpp | 61 android::BufferQueue::createBufferQueue(&mProducer, &mConsumer); 65 mAndroidSurface = new android::Surface(mProducer); 179 android::sp<android::IGraphicBufferProducer> mProducer;
|
/frameworks/av/cmds/screenrecord/ |
Overlay.cpp | 88 *pBufferProducer = mProducer; 174 BufferQueue::createBufferQueue(&mProducer, &consumer); 179 mProducer->setMaxDequeuedBufferCount(4); 192 mProducer.clear();
|
Overlay.h | 127 sp<IGraphicBufferProducer> mProducer;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
PlaybackSession.h | 118 sp<IGraphicBufferProducer> mProducer;
|
/frameworks/av/media/ndk/ |
NdkImageReaderPriv.h | 131 sp<IGraphicBufferProducer> mProducer;
|
NdkImageReader.cpp | 171 mProducer = gbProducer; 193 mSurface = new Surface(mProducer, /*controlledByApp*/true);
|
/frameworks/av/services/camera/libcameraservice/ |
CameraFlashlight.h | 166 sp<IGraphicBufferProducer> mProducer; 219 sp<IGraphicBufferProducer> mProducer;
|
CameraFlashlight.cpp | 367 mProducer.clear(); 383 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 401 mSurface = new Surface(mProducer, /*useAsync*/ true); 661 mProducer.clear(); 817 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 835 mSurface = new Surface(mProducer, /*useAsync*/ true);
|
/frameworks/av/media/libstagefright/omx/ |
GraphicBufferSource.h | 74 return mProducer; 275 // Our BufferQueue interfaces. mProducer is passed to the producer through 279 sp<IGraphicBufferProducer> mProducer;
|
/frameworks/base/media/jni/ |
android_media_ImageWriter.cpp | 69 void setProducer(const sp<Surface>& producer) { mProducer = producer; } 70 Surface* getProducer() { return mProducer.get(); } 85 sp<Surface> mProducer; 115 mProducer.clear(); 157 mProducer->detachNextBuffer(&buffer, &fence);
|
android_media_ImageReader.cpp | 95 void setProducer(const sp<IGraphicBufferProducer>& producer) { mProducer = producer; } 96 IGraphicBufferProducer* getProducer() { return mProducer.get(); } 116 sp<IGraphicBufferProducer> mProducer;
|
/frameworks/av/include/media/stagefright/ |
SurfaceMediaSource.h | 118 sp<IGraphicBufferProducer> getProducer() const { return mProducer; } 155 sp<IGraphicBufferProducer> mProducer;
|
/frameworks/av/media/libstagefright/ |
SurfaceMediaSource.cpp | 61 BufferQueue::createBufferQueue(&mProducer, &mConsumer);
|
/frameworks/base/core/jni/android/graphics/ |
SurfaceTexture.cpp | 223 #define ANDROID_GRAPHICS_PRODUCER_JNI_ID "mProducer"
|