Lines Matching defs:streamInfo
59 void MetaDataTest::SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer,
67 streamInfo.encodeType_ = ENCODE_TYPE_JPEG;
69 streamInfo.encodeType_ = ENCODE_TYPE_H264;
71 streamInfo.width_ = PREVIEW_WIDTH;
72 streamInfo.height_ = PREVIEW_HEIGHT;
73 streamInfo.format_ = PIXEL_FMT_RGBA_8888;
74 streamInfo.streamId_ = streamId;
75 streamInfo.dataspace_ = DATA_SPACE;
76 streamInfo.intent_ = intent;
77 streamInfo.tunneledMode_ = TUNNEL_MODE;
79 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer);
80 CHECK_IF_PTR_NULL_RETURN_VOID(streamInfo.bufferQueue_);
81 streamInfo.bufferQueue_->producer_->SetQueueSize(BUFFER_QUEUE_SIZE);
86 StreamInfo streamInfo = {};
92 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent);
98 SetStreamInfo(streamInfo, streamCustomerSnapshot_, streamId, intent);
103 SetStreamInfo(streamInfo, streamCustomerVideo_, streamId, intent);
108 streamInfos_.push_back(streamInfo);