Home | History | Annotate | Download | only in HAL3

Lines Matching refs:newStream

447         camera3_stream_t *newStream = streamList->streams[i];
448 ALOGD("%s: newStream type = %d, stream format = %d stream size : %d x %d",
449 __func__, newStream->stream_type, newStream->format,
450 newStream->width, newStream->height);
455 if ((*it)->stream == newStream) {
470 stream_info->stream = newStream;
475 if (newStream->stream_type == CAMERA3_STREAM_INPUT
476 || newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL ) {
482 inputStream = newStream;
484 if (newStream->format == HAL_PIXEL_FORMAT_BLOB) {
485 jpegStream = newStream;
530 camera3_stream_t *newStream = streamList->streams[i];
531 if (newStream->priv == NULL) {
533 switch (newStream->stream_type) {
535 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ;
538 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ |
542 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE;
545 ALOGE("%s: Invalid stream_type %d", __func__, newStream->stream_type);
549 if (newStream->stream_type == CAMERA3_STREAM_OUTPUT ||
550 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) {
552 switch (newStream->format) {
555 newStream->max_buffers = QCamera3RegularChannel::kMaxBuffers;
556 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL &&
563 &gCamCapability[mCameraId]->padding_info, this, newStream,
568 &gCamCapability[mCameraId]->padding_info, this, newStream);
575 newStream->priv = channel;
578 newStream->max_buffers = QCamera3PicChannel::kMaxBuffers;
581 &gCamCapability[mCameraId]->padding_info, this, newStream);
587 newStream->priv = (QCamera3Channel*)mPictureChannel;
592 ALOGE("%s: not a supported format 0x%x", __func__, newStream->format);