Lines Matching refs:streams
223 astream = stream_config->streams[i]; in configureStreams()
262 void Camera::destroyStreamsLocked(android::Vector<Stream *> &streams) { in destroyStreamsLocked() argument
263 for (size_t i = 0; i < streams.size(); i++) { in destroyStreamsLocked()
264 delete streams[i]; in destroyStreamsLocked()
266 streams.clear(); in destroyStreamsLocked()
281 bool Camera::isValidStreamSetLocked(const android::Vector<Stream *> &streams) { in isValidStreamSetLocked() argument
285 if (streams.isEmpty()) { in isValidStreamSetLocked()
290 for (size_t i = 0; i < streams.size(); i++) { in isValidStreamSetLocked()
292 if (streams[i]->isInputType()) in isValidStreamSetLocked()
294 if (streams[i]->isOutputType()) in isValidStreamSetLocked()
311 void Camera::setupStreamsLocked(android::Vector<Stream *> &streams) { in setupStreamsLocked() argument
322 for (size_t i = 0; i < streams.size(); i++) { in setupStreamsLocked()
325 if (streams[i]->isOutputType()) in setupStreamsLocked()
328 if (streams[i]->isInputType()) in setupStreamsLocked()
332 streams[i]->setUsage(usage); in setupStreamsLocked()
333 streams[i]->setMaxBuffers(1); in setupStreamsLocked()