Lines Matching refs:outputQueue
164 status_t Camera3StreamSplitter::addOutput(size_t surfaceId, const sp<Surface>& outputQueue) { in addOutput() argument
167 status_t res = addOutputLocked(surfaceId, outputQueue); in addOutput()
181 status_t Camera3StreamSplitter::addOutputLocked(size_t surfaceId, const sp<Surface>& outputQueue) { in addOutputLocked() argument
183 if (outputQueue == nullptr) { in addOutputLocked()
193 status_t res = native_window_set_buffers_dimensions(outputQueue.get(), in addOutputLocked()
199 res = native_window_set_buffers_format(outputQueue.get(), in addOutputLocked()
207 sp<IGraphicBufferProducer> gbp = outputQueue->getIGraphicBufferProducer(); in addOutputLocked()
211 res = outputQueue->connect(NATIVE_WINDOW_API_CAMERA, listener); in addOutputLocked()
219 res = static_cast<ANativeWindow*>(outputQueue.get())->query( in addOutputLocked()
220 outputQueue.get(), in addOutputLocked()
235 res = native_window_set_buffer_count(outputQueue.get(), in addOutputLocked()
239 __FUNCTION__, outputQueue.get()); in addOutputLocked()
246 res = native_window_get_consumer_usage(static_cast<ANativeWindow*>(outputQueue.get()), &usage); in addOutputLocked()
250 outputQueue->setDequeueTimeout(timeout); in addOutputLocked()