Searched defs:producer (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL.h40 sp<IGraphicBufferProducer> producer; local
41 BufferQueue::createBufferQueue(&producer, &mConsumer);
44 mSTC = new Surface(producer);
H A DMultiTextureConsumer_test.cpp37 sp<IGraphicBufferProducer> producer; local
39 BufferQueue::createBufferQueue(&producer, &consumer);
42 mSurface = new Surface(producer);
H A DSurface_test.cpp92 sp<IGraphicBufferProducer> producer; local
94 BufferQueue::createBufferQueue(&producer, &consumer);
98 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(),
127 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(),
142 sp<IGraphicBufferProducer> producer; local
144 BufferQueue::createBufferQueue(&producer, &consumer);
147 sp<Surface> s = new Surface(producer);
H A DBufferQueue_test.cpp86 sp<IGraphicBufferProducer> producer; local
88 BufferQueue::createBufferQueue(&producer, &consumer);
90 serviceManager->addService(PRODUCER_NAME, producer->asBinder());
H A DSurfaceTextureClient_test.cpp46 sp<IGraphicBufferProducer> producer; local
48 BufferQueue::createBufferQueue(&producer, &consumer);
51 mSTC = new Surface(producer);
717 sp<IGraphicBufferProducer> producer; local
719 BufferQueue::createBufferQueue(&producer, &consumer);
722 sp<Surface> stc(new Surface(producer));
H A DCpuConsumer_test.cpp67 sp<IGraphicBufferProducer> producer; local
69 BufferQueue::createBufferQueue(&producer, &consumer);
73 mSTC = new Surface(producer);
455 // Configures the ANativeWindow producer-side interface based on test parameters
H A DSRGB_test.cpp71 sp<IGraphicBufferProducer> producer; local
73 BufferQueue::createBufferQueue(&producer, &consumer);
79 mInputSurface = new Surface(producer);
226 // Primary producer and consumer
/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp110 sp<IGraphicBufferProducer> producer; local
112 BufferQueue::createBufferQueue(&producer, &consumer);
114 sp<Surface> mSTC = new Surface(producer);
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.cpp93 android::sp<android::IGraphicBufferProducer> producer; local
114 producer = android::SurfaceTexture_getProducer(_env, win);
116 if (producer == NULL)
119 window = new android::Surface(producer, true);
/frameworks/av/cmds/screenrecord/
H A DFrameOutput.cpp70 sp<IGraphicBufferProducer> producer; local
72 BufferQueue::createBufferQueue(&producer, &consumer);
84 *pBufferProducer = producer;
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp175 * no-op since we can't disconnect the producer from the consumer-side
206 sp<IGraphicBufferProducer> producer; local
208 BufferQueue::createBufferQueue(&producer, &consumer);
211 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers);
225 * and not the sum of producer+consumer side as in other camera streams).
229 // TODO: somehow set the total buffer count when producer connects?
H A DCamera3ZslStream.cpp120 sp<IGraphicBufferProducer> producer; local
122 BufferQueue::createBufferQueue(&producer, &consumer);
124 mConsumer = new Surface(producer);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCallbackProcessor.cpp113 sp<IGraphicBufferProducer> producer; local
115 BufferQueue::createBufferQueue(&producer, &consumer);
119 mCallbackWindow = new Surface(producer);
H A DJpegProcessor.cpp85 sp<IGraphicBufferProducer> producer; local
87 BufferQueue::createBufferQueue(&producer, &consumer);
91 mCaptureWindow = new Surface(producer);
H A DZslProcessor.cpp135 sp<IGraphicBufferProducer> producer; local
137 BufferQueue::createBufferQueue(&producer, &consumer);
143 mZslWindow = new Surface(producer);
H A DStreamingProcessor.cpp377 sp<IGraphicBufferProducer> producer; local
379 BufferQueue::createBufferQueue(&producer, &consumer);
385 mRecordingWindow = new Surface(producer);
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp46 jfieldID producer; member in struct:android::fields_t
69 const sp<IGraphicBufferProducer>& producer)
72 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer);
73 if (producer.get()) {
74 producer->incStrong((void*)SurfaceTexture_setProducer);
79 env->SetLongField(thiz, fields.producer, (jlong)producer.get());
102 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer);
107 sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(env, thiz));
108 sp<Surface> surfaceTextureClient(surfaceTexture != NULL ? new Surface(producer)
68 SurfaceTexture_setProducer(JNIEnv* env, jobject thiz, const sp<IGraphicBufferProducer>& producer) argument
233 sp<IGraphicBufferProducer> producer; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp165 sp<IGraphicBufferProducer> producer; local
167 BufferQueue::createBufferQueue(&producer, &consumer);
170 window_ = new Surface(producer);
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp204 sp<IGraphicBufferProducer> producer; local
206 BufferQueue::createBufferQueue(&producer, &consumer, mGraphicBufferAlloc);
213 sp<ANativeWindow> anw = new Surface(producer);
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp107 const sp<IGraphicBufferProducer>& producer,
116 data.writeStrongBinder(producer->asBinder());
352 sp<IGraphicBufferProducer> producer = local
363 status_t res = captureScreen(display, producer,
106 captureScreen(const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform, ISurfaceComposer::Rotation rotation) argument
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp23 MonitoredProducer::MonitoredProducer(const sp<IGraphicBufferProducer>& producer, argument
25 mProducer(producer),
36 const wp<IBinder>& producer)
37 : mFlinger(flinger), mProducer(producer) {}
35 MessageCleanUpList(const sp<SurfaceFlinger>& flinger, const wp<IBinder>& producer) argument
H A DDisplayDevice.cpp60 const sp<IGraphicBufferProducer>& producer,
79 mNativeWindow = new Surface(producer, false);
52 DisplayDevice( const sp<SurfaceFlinger>& flinger, DisplayType type, int32_t hwcId, int format, bool isSecure, const wp<IBinder>& displayToken, const sp<DisplaySurface>& displaySurface, const sp<IGraphicBufferProducer>& producer, EGLConfig config) argument
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp942 sp<IGraphicBufferProducer> producer; local
944 BufferQueue::createBufferQueue(&producer, &consumer);
948 gSurface = new Surface(producer);
/frameworks/base/core/jni/
H A Dandroid_opengl_EGL14.cpp620 android::sp<android::IGraphicBufferProducer> producer; local
641 producer = android::SurfaceTexture_getProducer(_env, win);
643 if (producer == NULL)
646 window = new android::Surface(producer, true);
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp92 void setProducer(const sp<IGraphicBufferProducer>& producer) { mProducer = producer; } argument
818 // Check if the producer buffer configurations match what ImageReader configured.
838 // Special casing for when producer switches to a format compatible with flexible YUV
855 msg.appendFormat("The producer output buffer format 0x%x doesn't "

Completed in 381 milliseconds

12