Lines Matching refs:newStream
254 camera3_stream_t *newStream = streamList->streams[i];
256 if (newStream == NULL) {
263 __FUNCTION__, newStream, i, newStream->stream_type,
264 newStream->usage,
265 newStream->format);
267 if (newStream->stream_type == CAMERA3_STREAM_INPUT ||
268 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) {
274 inputStream = newStream;
281 if (newStream->format == kAvailableFormats[f]) {
288 __FUNCTION__, newStream->format);
307 camera3_stream_t *newStream = streamList->streams[i];
308 if (newStream->priv == NULL) {
313 newStream->max_buffers = kMaxBufferCount;
314 newStream->priv = privStream;
315 mStreams.push_back(newStream);
319 static_cast<PrivateStreamInfo*>(newStream->priv);
323 newStream->max_buffers = kMaxBufferCount;
324 switch (newStream->stream_type) {
326 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE;
329 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ;
332 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ |