Home
last modified time | relevance | path

Searched refs:producer (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp46 jfieldID producer; member
69 const sp<IGraphicBufferProducer>& producer) in SurfaceTexture_setProducer() argument
72 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_setProducer()
73 if (producer.get()) { in SurfaceTexture_setProducer()
74 producer->incStrong((void*)SurfaceTexture_setProducer); in SurfaceTexture_setProducer()
79 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); in SurfaceTexture_setProducer()
102 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_getProducer()
107 sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(env, thiz)); in android_SurfaceTexture_getNativeWindow() local
108 sp<Surface> surfaceTextureClient(surfaceTexture != NULL ? new Surface(producer) : NULL); in android_SurfaceTexture_getNativeWindow()
210 fields.producer = env->GetFieldID(clazz, in SurfaceTexture_classInit()
[all …]
/frameworks/native/libs/gui/tests/
DSurface_test.cpp92 sp<IGraphicBufferProducer> producer; in TEST_F() local
94 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F()
98 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F()
127 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F()
142 sp<IGraphicBufferProducer> producer; in TEST_F() local
144 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F()
147 sp<Surface> s = new Surface(producer); in TEST_F()
DSurfaceTextureGL.h40 sp<IGraphicBufferProducer> producer; in SetUp() local
41 BufferQueue::createBufferQueue(&producer, &mConsumer); in SetUp()
44 mSTC = new Surface(producer); in SetUp()
DMultiTextureConsumer_test.cpp37 sp<IGraphicBufferProducer> producer; in SetUp() local
39 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp()
42 mSurface = new Surface(producer); in SetUp()
DSRGB_test.cpp71 sp<IGraphicBufferProducer> producer; in SetUp() local
73 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp()
79 mInputSurface = new Surface(producer); in SetUp()
DBufferQueue_test.cpp86 sp<IGraphicBufferProducer> producer; in TEST_F() local
88 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F()
90 serviceManager->addService(PRODUCER_NAME, producer->asBinder()); in TEST_F()
DSurfaceTextureClient_test.cpp46 sp<IGraphicBufferProducer> producer; in SetUp() local
48 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp()
51 mSTC = new Surface(producer); in SetUp()
717 sp<IGraphicBufferProducer> producer; in SetUp() local
719 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp()
722 sp<Surface> stc(new Surface(producer)); in SetUp()
/frameworks/native/libs/gui/
DBufferQueue.cpp68 sp<IGraphicBufferProducer> producer(new BufferQueueProducer(core)); in createBufferQueue() local
69 LOG_ALWAYS_FATAL_IF(producer == NULL, in createBufferQueue()
76 *outProducer = producer; in createBufferQueue()
DISurfaceComposer.cpp107 const sp<IGraphicBufferProducer>& producer, in captureScreen() argument
116 data.writeStrongBinder(producer->asBinder()); in captureScreen()
352 sp<IGraphicBufferProducer> producer = in onTransact() local
363 status_t res = captureScreen(display, producer, in onTransact()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp23 MonitoredProducer::MonitoredProducer(const sp<IGraphicBufferProducer>& producer, in MonitoredProducer() argument
25 mProducer(producer), in MonitoredProducer()
36 const wp<IBinder>& producer) in ~MonitoredProducer() argument
37 : mFlinger(flinger), mProducer(producer) {} in ~MonitoredProducer()
DSurfaceFlinger.cpp422 sp<IGraphicBufferProducer> producer; in init() local
424 BufferQueue::createBufferQueue(&producer, &consumer, in init()
432 fbs, producer, in init()
1332 sp<IGraphicBufferProducer> producer; in handleTransactionLocked() local
1366 producer = vds; in handleTransactionLocked()
1378 producer = bqProducer; in handleTransactionLocked()
1386 display, dispSurface, producer, in handleTransactionLocked()
3001 const sp<IGraphicBufferProducer>& producer, in captureScreen() argument
3009 if (CC_UNLIKELY(producer == 0)) in captureScreen()
3015 if (!producer->asBinder()->localBinder()) { in captureScreen()
[all …]
DMonitoredProducer.h32 MonitoredProducer(const sp<IGraphicBufferProducer>& producer,
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.cpp93 android::sp<android::IGraphicBufferProducer> producer; in android_eglCreateWindowSurfaceTexture() local
114 producer = android::SurfaceTexture_getProducer(_env, win); in android_eglCreateWindowSurfaceTexture()
116 if (producer == NULL) in android_eglCreateWindowSurfaceTexture()
119 window = new android::Surface(producer, true); in android_eglCreateWindowSurfaceTexture()
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp110 sp<IGraphicBufferProducer> producer; in TEST_F() local
112 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F()
114 sp<Surface> mSTC = new Surface(producer); in TEST_F()
/frameworks/av/cmds/screenrecord/
DFrameOutput.cpp70 sp<IGraphicBufferProducer> producer; in createInputSurface() local
72 BufferQueue::createBufferQueue(&producer, &consumer); in createInputSurface()
84 *pBufferProducer = producer; in createInputSurface()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3InputStream.cpp206 sp<IGraphicBufferProducer> producer; in configureQueueLocked() local
208 BufferQueue::createBufferQueue(&producer, &consumer); in configureQueueLocked()
211 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in configureQueueLocked()
DCamera3ZslStream.cpp120 sp<IGraphicBufferProducer> producer; in Camera3ZslStream() local
122 BufferQueue::createBufferQueue(&producer, &consumer); in Camera3ZslStream()
124 mConsumer = new Surface(producer); in Camera3ZslStream()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.cpp165 sp<IGraphicBufferProducer> producer; in InitWithNewContext() local
167 BufferQueue::createBufferQueue(&producer, &consumer); in InitWithNewContext()
170 window_ = new Surface(producer); in InitWithNewContext()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp85 sp<IGraphicBufferProducer> producer; in updateStream() local
87 BufferQueue::createBufferQueue(&producer, &consumer); in updateStream()
91 mCaptureWindow = new Surface(producer); in updateStream()
DCallbackProcessor.cpp113 sp<IGraphicBufferProducer> producer; in updateStream() local
115 BufferQueue::createBufferQueue(&producer, &consumer); in updateStream()
119 mCallbackWindow = new Surface(producer); in updateStream()
/frameworks/av/camera/
DProCamera.cpp252 sp<IGraphicBufferProducer> producer; in createStreamCpu() local
254 BufferQueue::createBufferQueue(&producer, &consumer); in createStreamCpu()
259 sp<Surface> stc = new Surface(producer); in createStreamCpu()
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp117 sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(env, surface)); in android_view_TextureView_createNativeWindow() local
118 sp<ANativeWindow> window = new Surface(producer, true); in android_view_TextureView_createNativeWindow()
Dandroid_view_Surface.cpp142 sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(env, surfaceTextureObj)); in nativeCreateFromSurfaceTexture() local
143 if (producer == NULL) { in nativeCreateFromSurfaceTexture()
149 sp<Surface> surface(new Surface(producer, true)); in nativeCreateFromSurfaceTexture()
/frameworks/native/cmds/flatland/
DGLHelper.cpp204 sp<IGraphicBufferProducer> producer; in createNamedSurfaceTexture() local
206 BufferQueue::createBufferQueue(&producer, &consumer, mGraphicBufferAlloc); in createNamedSurfaceTexture()
213 sp<ANativeWindow> anw = new Surface(producer); in createNamedSurfaceTexture()
/frameworks/native/include/gui/
DISurfaceComposer.h144 const sp<IGraphicBufferProducer>& producer,

12