Home
last modified time | relevance | path

Searched refs:mProducer (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp86 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SetUp()
104 return mProducer->connect(TEST_TOKEN, in TryConnectProducer()
199 return mProducer->dequeueBuffer(&result->slot, &result->fence, w, h, format, usage); in dequeueBuffer()
212 (mProducer->dequeueBuffer(slot, fence, DEFAULT_WIDTH, in setupDequeueRequestBuffer()
219 ASSERT_OK(mProducer->requestBuffer(*slot, buffer)); in setupDequeueRequestBuffer()
226 sp<IGraphicBufferProducer> mProducer; member in android::IGraphicBufferProducerTest
234 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F()
240 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F()
253 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F()
260 EXPECT_EQ(NO_INIT, mProducer->connect(TEST_TOKEN, in TEST_F()
[all …]
DBufferQueue_test.cpp59 ASSERT_EQ(OK, mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, in GetMinUndequeuedBufferCount()
65 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in createBufferQueue()
89 sp<IGraphicBufferProducer> mProducer; member in android::BufferQueueTest
120 mProducer = interface_cast<IGraphicBufferProducer>(binderProducer); in TEST_F()
121 EXPECT_TRUE(mProducer != NULL); in TEST_F()
131 mProducer->connect(NULL, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
137 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, in TEST_F()
139 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer)); in TEST_F()
150 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
167 mProducer->connect(new DummyProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp25 mProducer(producer), in MonitoredProducer()
37 : mFlinger(flinger), mProducer(producer) {} in ~MonitoredProducer()
43 mFlinger->mGraphicBufferProducerList.remove(mProducer); in ~MonitoredProducer()
49 wp<IBinder> mProducer; in ~MonitoredProducer() member in android::MonitoredProducer::~MonitoredProducer::MessageCleanUpList
56 return mProducer->requestBuffer(slot, buf); in requestBuffer()
61 return mProducer->setMaxDequeuedBufferCount(maxDequeuedBuffers); in setMaxDequeuedBufferCount()
65 return mProducer->setAsyncMode(async); in setAsyncMode()
70 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage); in dequeueBuffer()
74 return mProducer->detachBuffer(slot); in detachBuffer()
79 return mProducer->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
[all …]
DMonitoredProducer.h70 sp<IGraphicBufferProducer> mProducer;
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3ZslStream.cpp123 mProducer = new RingBufferConsumer(consumer, GRALLOC_USAGE_HW_CAMERA_ZSL, bufferCount); in Camera3ZslStream()
124 mProducer->setName(String8("Camera2-ZslRingBufferConsumer")); in Camera3ZslStream()
153 assert(mProducer != 0); in getInputBufferLocked()
293 mProducer->pinSelectedBuffer(timestampFinder, in enqueueInputBufferByTimestamp()
328 *latestTimestamp = mProducer->getLatestTimestamp(); in clearInputRingBufferLocked()
332 return mProducer->clear(); in clearInputRingBufferLocked()
DCamera3InputStream.cpp172 } else if (mProducer == NULL) { in getInputBufferProducerLocked()
177 *producer = mProducer; in getInputBufferProducerLocked()
261 mProducer = producer; in configureQueueLocked()
DCamera3InputStream.h52 sp<IGraphicBufferProducer> mProducer; variable
DCamera3ZslStream.h78 sp<RingBufferConsumer> mProducer; variable
/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.h41 return mProducer; in getIGraphicBufferProducer()
61 sp<IGraphicBufferProducer> mProducer; member
DGraphicBufferListener.cpp36 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in init()
/frameworks/av/include/media/stagefright/
DSurfaceMediaSource.h118 sp<IGraphicBufferProducer> getProducer() const { return mProducer; } in getProducer()
155 sp<IGraphicBufferProducer> mProducer;
/frameworks/base/libs/hwui/utils/
DTestWindowContext.cpp61 android::BufferQueue::createBufferQueue(&mProducer, &mConsumer); in TestWindowData()
65 mAndroidSurface = new android::Surface(mProducer); in TestWindowData()
179 android::sp<android::IGraphicBufferProducer> mProducer; member in android::uirenderer::TestWindowContext::TestWindowData
/frameworks/av/cmds/screenrecord/
DOverlay.cpp88 *pBufferProducer = mProducer; in start()
174 BufferQueue::createBufferQueue(&mProducer, &consumer); in setup_l()
179 mProducer->setMaxDequeuedBufferCount(4); in setup_l()
192 mProducer.clear(); in release_l()
DOverlay.h127 sp<IGraphicBufferProducer> mProducer; variable
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp367 mProducer.clear(); in ~CameraDeviceClientFlashControl()
383 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in initializeSurface()
401 mSurface = new Surface(mProducer, /*useAsync*/ true); in initializeSurface()
661 mProducer.clear(); in ~CameraHardwareInterfaceFlashControl()
817 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in initializePreviewWindow()
835 mSurface = new Surface(mProducer, /*useAsync*/ true); in initializePreviewWindow()
DCameraFlashlight.h166 sp<IGraphicBufferProducer> mProducer; variable
219 sp<IGraphicBufferProducer> mProducer; variable
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.h74 return mProducer; in getIGraphicBufferProducer()
275 sp<IGraphicBufferProducer> mProducer; variable
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp69 void setProducer(const sp<Surface>& producer) { mProducer = producer; } in setProducer()
70 Surface* getProducer() { return mProducer.get(); } in getProducer()
85 sp<Surface> mProducer; member in JNIImageWriterContext
115 mProducer.clear(); in ~JNIImageWriterContext()
157 mProducer->detachNextBuffer(&buffer, &fence); in onBufferReleased()
Dandroid_media_ImageReader.cpp95 void setProducer(const sp<IGraphicBufferProducer>& producer) { mProducer = producer; } in setProducer()
96 IGraphicBufferProducer* getProducer() { return mProducer.get(); } in getProducer()
116 sp<IGraphicBufferProducer> mProducer; member in JNIImageReaderContext
/frameworks/av/media/ndk/
DNdkImageReaderPriv.h131 sp<IGraphicBufferProducer> mProducer; member
DNdkImageReader.cpp171 mProducer = gbProducer; in init()
193 mSurface = new Surface(mProducer, /*controlledByApp*/true); in init()
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java77 private long mProducer; field in SurfaceTexture
/frameworks/av/media/libstagefright/wifi-display/source/
DPlaybackSession.h118 sp<IGraphicBufferProducer> mProducer; member
/frameworks/native/include/gui/
DSurfaceComposerClient.h203 mutable sp<IGraphicBufferProducer> mProducer; variable
/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp61 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SurfaceMediaSource()

12