Home | History | Annotate | Download | only in HAL3

Lines Matching defs:newStream

509         camera3_stream_t *newStream = streamList->streams[j];
515 switch (newStream->format) {
522 == (int32_t) newStream->width
524 == (int32_t) newStream->height) {
532 if ((int32_t)(newStream->width) ==
535 && (int32_t)(newStream->height) ==
548 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) {
549 if ((int32_t)(newStream->width) ==
551 && (int32_t)(newStream->height) ==
566 if ((int32_t)(newStream->width) ==
569 && (int32_t)(newStream->height) ==
577 } /* End of switch(newStream->format) */
582 "type:%d", __func__, newStream->width, newStream->height,
583 newStream->format);
665 camera3_stream_t *newStream = streamList->streams[i];
666 ALOGD("%s: newStream type = %d, stream format = %d stream size : %d x %d",
667 __func__, newStream->stream_type, newStream->format,
668 newStream->width, newStream->height);
673 if ((*it)->stream == newStream) {
687 stream_info->stream = newStream;
692 if (newStream->stream_type == CAMERA3_STREAM_INPUT
693 || newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL ) {
699 inputStream = newStream;
701 if (newStream->format == HAL_PIXEL_FORMAT_BLOB) {
702 jpegStream = newStream;
754 camera3_stream_t *newStream = streamList->streams[i];
755 uint32_t stream_usage = newStream->usage;
756 stream_config_info.stream_sizes[i].width = newStream->width;
757 stream_config_info.stream_sizes[i].height = newStream->height;
758 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL &&
759 newStream->format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED && jpegStream){
769 switch (newStream->format) {
803 if (newStream->priv == NULL) {
805 switch (newStream->stream_type) {
807 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ;
810 newStream->usage = GRALLOC_USAGE_HW_CAMERA_READ |
816 if (newStream->usage & GRALLOC_USAGE_HW_VIDEO_ENCODER)
817 newStream->usage =
822 newStream->usage = GRALLOC_USAGE_HW_CAMERA_WRITE;
825 ALOGE("%s: Invalid stream_type %d", __func__, newStream->stream_type);
829 if (newStream->stream_type == CAMERA3_STREAM_OUTPUT ||
830 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) {
832 switch (newStream->format) {
835 newStream->max_buffers = QCamera3RegularChannel::kMaxBuffers;
840 newStream,
848 newStream->priv = channel;
852 newStream->max_buffers = QCamera3RawChannel::kMaxBuffers;
857 this, newStream, (newStream->format == HAL_PIXEL_FORMAT_RAW16));
864 newStream->priv = (QCamera3Channel*)mRawChannel;
867 newStream->max_buffers = QCamera3PicChannel::kMaxBuffers;
870 &gCamCapability[mCameraId]->padding_info, this, newStream);
876 newStream->priv = (QCamera3Channel*)mPictureChannel;
880 ALOGE("%s: not a supported format 0x%x", __func__, newStream->format);
887 if ((*it)->stream == newStream) {
888 (*it)->channel = (QCamera3Channel*) newStream->priv;