Lines Matching refs:streamInfo
294 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
295 Test_->streamInfo->streamId_ = 1001; // 1001:streamId
296 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
297 Test_->streamInfo->height_ = 480; // 480:height of stream
298 Test_->streamInfo->width_ = 640; // 640:width of stream
299 Test_->streamInfo->dataspace_ = 8;
302 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](OHOS::SurfaceBuffer* buffer) {
305 Test_->streamInfo->bufferQueue_->SetQueueSize(8);
306 Test_->consumerMap_[Test_->streamInfo->intent_] = consumer;
307 Test_->streamInfo->intent_ = Camera::PREVIEW;
308 Test_->streamInfo->tunneledMode_ = 5;
311 stre.push_back(Test_->streamInfo);
348 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
349 Test_->streamInfo->streamId_ = 1001;
350 Test_->streamInfo->width_ = 640;
351 Test_->streamInfo->height_ = 480;
352 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
353 Test_->streamInfo->dataspace_ = 8;
354 Test_->streamInfo->intent_ = Camera::PREVIEW;
355 Test_->streamInfo->tunneledMode_ = 5;
358 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](OHOS::SurfaceBuffer* buffer) {
361 Test_->consumerMap_[Test_->streamInfo->intent_] = consumer;
362 Test_->streamInfos.push_back(Test_->streamInfo);
367 streamIds.push_back(Test_->streamInfo->streamId_);
398 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
399 Test_->streamInfo->streamId_ = 1001;
400 Test_->streamInfo->width_ = 640;
401 Test_->streamInfo->height_ = 480;
402 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
403 Test_->streamInfo->dataspace_ = 8;
404 Test_->streamInfo->intent_ = Camera::PREVIEW;
405 Test_->streamInfo->tunneledMode_ = 5;
408 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](OHOS::SurfaceBuffer* buffer) {
411 Test_->consumerMap_[Test_->streamInfo->intent_] = consumer;
412 Test_->streamInfos.push_back(Test_->streamInfo);
417 streamIds.push_back(Test_->streamInfo->streamId_);
476 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
477 Test_->streamInfo->streamId_ = 1001;
478 Test_->streamInfo->height_ = 480;
479 Test_->streamInfo->width_ = 640;
480 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
481 Test_->streamInfo->dataspace_ = 8;
482 Test_->streamInfo->intent_ = Camera::PREVIEW;
483 Test_->streamInfo->tunneledMode_ = 5;
485 Test_->streamInfos.push_back(Test_->streamInfo);
499 Test_->rc = Test_->streamOperator->AttachBufferQueue(Test_->streamInfo->streamId_, producer);
537 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
538 Test_->streamInfo->streamId_ = 1001;
539 Test_->streamInfo->width_ = 640;
540 Test_->streamInfo->height_ = 480;
541 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
542 Test_->streamInfo->intent_ = Camera::PREVIEW;
543 Test_->streamInfo->dataspace_ = 8;
544 Test_->streamInfo->tunneledMode_ = 5;
546 Test_->streamInfos.push_back(Test_->streamInfo);
560 Test_->rc = Test_->streamOperator->AttachBufferQueue(Test_->streamInfo->streamId_, producer);
568 Test_->rc = Test_->streamOperator->DetachBufferQueue(Test_->streamInfo->streamId_);
1050 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
1051 Test_->streamInfo->streamId_ = 1001; // 1001:streamId
1052 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
1053 Test_->streamInfo->height_ = 480; // 480:height of stream
1054 Test_->streamInfo->width_ = 640; // 640:width of stream
1055 Test_->streamInfo->dataspace_ = 8;
1058 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](void* addr, uint32_t size) {
1061 Test_->streamInfo->bufferQueue_->SetQueueSize(8);
1062 Test_->consumerMap_[Test_->streamInfo->intent_] = consumer;
1063 Test_->streamInfo->intent_ = Camera::PREVIEW;
1064 Test_->streamInfo->tunneledMode_ = 5;
1066 Test_->rc = Test_->streamOperator->IsStreamsSupported(NORMAL, modeSetting, {Test_->streamInfo}, pType);
1100 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
1101 Test_->streamInfo->streamId_ = 1001;
1102 Test_->streamInfo->width_ = 640;
1103 Test_->streamInfo->height_ = 480;
1104 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
1105 Test_->streamInfo->dataspace_ = 8;
1106 Test_->streamInfo->intent_ = Camera::PREVIEW;
1107 Test_->streamInfo->tunneledMode_ = 5;
1110 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](void* addr, uint32_t size) {
1113 Test_->consumerMap_[Test_->streamInfo->intent_] = consumer;
1114 Test_->streamInfos.push_back(Test_->streamInfo);
1119 streamIds.push_back(Test_->streamInfo->streamId_);
1148 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
1149 Test_->streamInfo->streamId_ = 1001;
1150 Test_->streamInfo->width_ = 640;
1151 Test_->streamInfo->height_ = 480;
1152 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
1153 Test_->streamInfo->dataspace_ = 8;
1154 Test_->streamInfo->intent_ = Camera::PREVIEW;
1155 Test_->streamInfo->tunneledMode_ = 5;
1158 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](void* addr, uint32_t size) {
1161 Test_->consumerMap_[Test_->streamInfo->intent_] = consumer;
1162 Test_->streamInfos.push_back(Test_->streamInfo);
1167 streamIds.push_back(Test_->streamInfo->streamId_);
1223 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
1224 Test_->streamInfo->streamId_ = 1001;
1225 Test_->streamInfo->height_ = 480;
1226 Test_->streamInfo->width_ = 640;
1227 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
1228 Test_->streamInfo->dataspace_ = 8;
1229 Test_->streamInfo->intent_ = Camera::PREVIEW;
1230 Test_->streamInfo->tunneledMode_ = 5;
1232 Test_->streamInfos.push_back(Test_->streamInfo);
1245 Test_->rc = Test_->streamOperator->AttachBufferQueue(Test_->streamInfo->streamId_, producer);
1282 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
1283 Test_->streamInfo->streamId_ = 1001;
1284 Test_->streamInfo->width_ = 640;
1285 Test_->streamInfo->height_ = 480;
1286 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
1287 Test_->streamInfo->intent_ = Camera::PREVIEW;
1288 Test_->streamInfo->dataspace_ = 8;
1289 Test_->streamInfo->tunneledMode_ = 5;
1291 Test_->streamInfos.push_back(Test_->streamInfo);
1304 Test_->rc = Test_->streamOperator->AttachBufferQueue(Test_->streamInfo->streamId_, producer);
1312 Test_->rc = Test_->streamOperator->DetachBufferQueue(Test_->streamInfo->streamId_);