Lines Matching refs:outputQueue
170 status_t Camera3StreamSplitter::addOutput(size_t surfaceId, const sp<Surface>& outputQueue) { in addOutput() argument
173 status_t res = addOutputLocked(surfaceId, outputQueue); in addOutput()
192 status_t Camera3StreamSplitter::addOutputLocked(size_t surfaceId, const sp<Surface>& outputQueue) { in addOutputLocked() argument
194 if (outputQueue == nullptr) { in addOutputLocked()
204 status_t res = native_window_set_buffers_dimensions(outputQueue.get(), in addOutputLocked()
210 res = native_window_set_buffers_format(outputQueue.get(), in addOutputLocked()
218 sp<IGraphicBufferProducer> gbp = outputQueue->getIGraphicBufferProducer(); in addOutputLocked()
222 res = outputQueue->connect(NATIVE_WINDOW_API_CAMERA, listener); in addOutputLocked()
230 res = static_cast<ANativeWindow*>(outputQueue.get())->query( in addOutputLocked()
231 outputQueue.get(), in addOutputLocked()
246 res = native_window_set_buffer_count(outputQueue.get(), in addOutputLocked()
250 __FUNCTION__, outputQueue.get()); in addOutputLocked()
257 res = native_window_get_consumer_usage(static_cast<ANativeWindow*>(outputQueue.get()), &usage); in addOutputLocked()
261 outputQueue->setDequeueTimeout(timeout); in addOutputLocked()
272 mOutputSurfaces[surfaceId] = outputQueue; in addOutputLocked()