Lines Matching refs:consumers
1330 std::vector<sp<Surface>> consumers; in createStream() local
1331 consumers.push_back(consumer); in createStream()
1333 return createStream(consumers, /*hasDeferredConsumer*/ false, width, height, in createStream()
1338 status_t Camera3Device::createStream(const std::vector<sp<Surface>>& consumers, in createStream() argument
1384 if (consumers.size() == 0 && !hasDeferredConsumer) { in createStream()
1409 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
1418 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
1422 newStream = new Camera3SharedOutputStream(mNextStreamId, consumers, in createStream()
1425 } else if (consumers.size() == 0 && hasDeferredConsumer) { in createStream()
1430 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
1435 size_t consumerCount = consumers.size(); in createStream()
1437 int id = newStream->getSurfaceId(consumers[i]); in createStream()
2100 const std::vector<sp<Surface>>& consumers, std::vector<int> *surfaceIds) { in setConsumerSurfaces() argument
2112 if (consumers.size() == 0) { in setConsumerSurfaces()
2123 status_t res = stream->setConsumers(consumers); in setConsumerSurfaces()
2129 for (auto &consumer : consumers) { in setConsumerSurfaces()