Lines Matching defs:newStream
499 camera3_stream_t *newStream = streamList->streams[i];
500 ALOGV("%s: newStream type = %d, stream format = %d stream size : %d x %d",
501 __func__, newStream->stream_type, newStream->format,
502 newStream->width, newStream->height);
507 if ((*it)->stream == newStream) {
523 stream_info->stream = newStream;
529 if (newStream->stream_type == CAMERA3_STREAM_INPUT
530 || newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL ) {
536 inputStream = newStream;
538 if (newStream->format == HAL_PIXEL_FORMAT_BLOB) {
539 jpegStream = newStream;
583 camera3_stream_t *newStream = streamList->streams[i];
584 uint32_t stream_usage = newStream->usage;
585 stream_config_info.stream_sizes[i].width = newStream->width;
586 stream_config_info.stream_sizes[i].height = newStream->height;
587 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL &&
588 newStream->format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED && jpegStream){
595 switch (newStream->format) {
625 if (newStream->priv == NULL) {
627 switch (newStream->stream_type) {
629 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ;
632 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ |
638 if (newStream->usage & GRALLOC_USAGE_HW_VIDEO_ENCODER)
639 newStream->usage =
644 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE;
647 ALOGE("%s: Invalid stream_type %d", __func__, newStream->stream_type);
651 if (newStream->stream_type == CAMERA3_STREAM_OUTPUT ||
652 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) {
654 switch (newStream->format) {
657 newStream->max_buffers = QCamera3RegularChannel::kMaxBuffers;
658 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL &&
665 &gCamCapability[mCameraId]->padding_info, this, newStream,
670 &gCamCapability[mCameraId]->padding_info, this, newStream);
677 newStream->priv = channel;
680 newStream->max_buffers = QCamera3PicChannel::kMaxBuffers;
683 &gCamCapability[mCameraId]->padding_info, this, newStream);
689 newStream->priv = (QCamera3Channel*)mPictureChannel;
694 ALOGE("%s: not a supported format 0x%x", __func__, newStream->format);
701 if ((*it)->stream == newStream) {
702 (*it)->channel = (QCamera3Channel*) newStream->priv;