Lines Matching defs:streamInfo

34 void CameraVideoTest::SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer,
44 streamInfo.width_ = PREVIEW_WIDTH;
45 streamInfo.height_ = PREVIEW_HEIGHT;
47 streamInfo.width_ = WIDTH;
48 streamInfo.height_ = HEIGHT;
49 streamInfo.encodeType_ = ENCODE_TYPE_JPEG;
51 streamInfo.width_ = WIDTH;
52 streamInfo.height_ = HEIGHT;
53 streamInfo.encodeType_ = ENCODE_TYPE_H264;
55 streamInfo.format_ = PIXEL_FMT_RGBA_8888;
56 streamInfo.streamId_ = streamId;
57 streamInfo.dataspace_ = DATA_SPACE;
58 streamInfo.intent_ = intent;
59 streamInfo.tunneledMode_ = TUNNEL_MODE;
61 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer);
62 ASSERT_NE(streamInfo.bufferQueue_, nullptr);
63 streamInfo.bufferQueue_->producer_->SetQueueSize(BUFFER_QUEUE_SIZE);
68 StreamInfo streamInfo = {};
73 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent);
79 SetStreamInfo(streamInfo, streamCustomerSnapshot_, streamId, intent);
84 SetStreamInfo(streamInfo, streamCustomerVideo_, streamId, intent);
88 streamInfos_.push_back(streamInfo);
534 cameraBase_->streamInfo.streamId_ = cameraBase_->STREAM_ID_VIDEO;
535 cameraBase_->streamInfo.width_ = 1280; // 1280:picture width
536 cameraBase_->streamInfo.height_ = 960; // 960:picture height
537 cameraBase_->streamInfo.format_ = PIXEL_FMT_RGBA_8888;
538 cameraBase_->streamInfo.dataspace_ = 10;
539 cameraBase_->streamInfo.intent_ = VIDEO;
540 cameraBase_->streamInfo.tunneledMode_ = 5; // 5:tunnel mode
541 cameraBase_->streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer);
542 ASSERT_NE(cameraBase_->streamInfo.bufferQueue_, nullptr);
543 streamInfos.push_back(cameraBase_->streamInfo);