Lines Matching defs:streamInfo
31 void OhosCameraDemo::SetStreamInfo(StreamInfo& streamInfo,
42 streamInfo.width_ = width;
43 streamInfo.height_ = height;
47 streamInfo.width_ = width;
48 streamInfo.height_ = height;
49 streamInfo.encodeType_ = CAMERA_CAPTURE_ENCODE_TYPE;
53 streamInfo.width_ = width;
54 streamInfo.height_ = height;
55 streamInfo.encodeType_ = CAMERA_VIDEO_ENCODE_TYPE;
58 streamInfo.streamId_ = streamId;
59 streamInfo.format_ = CAMERA_FORMAT;
60 streamInfo.dataspace_ = dataspace;
61 streamInfo.intent_ = intent;
62 streamInfo.tunneledMode_ = tunneledMode;
65 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer);
66 CHECK_IF_PTR_NULL_RETURN_VOID(streamInfo.bufferQueue_);
67 streamInfo.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size
194 StreamInfo streamInfo = {0};
196 SetStreamInfo(streamInfo, streamCustomer, streamId, intent);
197 if (streamInfo.bufferQueue_->producer_ == nullptr) {
203 streamInfos.push_back(streamInfo);