Lines Matching refs:outputQueue
162 status_t Camera3StreamSplitter::addOutput(size_t surfaceId, const sp<Surface>& outputQueue) { in addOutput() argument
165 status_t res = addOutputLocked(surfaceId, outputQueue); in addOutput()
179 status_t Camera3StreamSplitter::addOutputLocked(size_t surfaceId, const sp<Surface>& outputQueue) { in addOutputLocked() argument
181 if (outputQueue == nullptr) { in addOutputLocked()
191 status_t res = native_window_set_buffers_dimensions(outputQueue.get(), in addOutputLocked()
197 res = native_window_set_buffers_format(outputQueue.get(), in addOutputLocked()
205 sp<IGraphicBufferProducer> gbp = outputQueue->getIGraphicBufferProducer(); in addOutputLocked()
209 res = outputQueue->connect(NATIVE_WINDOW_API_CAMERA, listener); in addOutputLocked()
217 res = static_cast<ANativeWindow*>(outputQueue.get())->query( in addOutputLocked()
218 outputQueue.get(), in addOutputLocked()
233 res = native_window_set_buffer_count(outputQueue.get(), in addOutputLocked()
237 __FUNCTION__, outputQueue.get()); in addOutputLocked()
244 res = native_window_get_consumer_usage(static_cast<ANativeWindow*>(outputQueue.get()), &usage); in addOutputLocked()
248 outputQueue->setDequeueTimeout(timeout); in addOutputLocked()