Lines Matching refs:streams
230 astream = stream_config->streams[i]; in configureStreams()
269 void Camera::destroyStreamsLocked(android::Vector<Stream *> &streams) { in destroyStreamsLocked() argument
270 for (size_t i = 0; i < streams.size(); i++) { in destroyStreamsLocked()
271 delete streams[i]; in destroyStreamsLocked()
273 streams.clear(); in destroyStreamsLocked()
288 bool Camera::isValidStreamSetLocked(const android::Vector<Stream *> &streams) { in isValidStreamSetLocked() argument
292 if (streams.isEmpty()) { in isValidStreamSetLocked()
297 for (size_t i = 0; i < streams.size(); i++) { in isValidStreamSetLocked()
299 if (streams[i]->isInputType()) in isValidStreamSetLocked()
301 if (streams[i]->isOutputType()) in isValidStreamSetLocked()
318 void Camera::setupStreamsLocked(android::Vector<Stream *> &streams) { in setupStreamsLocked() argument
329 for (size_t i = 0; i < streams.size(); i++) { in setupStreamsLocked()
332 if (streams[i]->isOutputType()) in setupStreamsLocked()
335 if (streams[i]->isInputType()) in setupStreamsLocked()
339 streams[i]->setUsage(usage); in setupStreamsLocked()
340 streams[i]->setMaxBuffers(1); in setupStreamsLocked()