Home
last modified time | relevance | path

Searched refs:streamInfo2 (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_source_data_process_test.cpp59 std::shared_ptr<DCStreamInfo> streamInfo2 = std::make_shared<DCStreamInfo>(); in SetUpTestCase() local
60 streamInfo2->streamId_ = TEST_STREAMID; in SetUpTestCase()
61 streamInfo2->width_ = TEST_WIDTH; in SetUpTestCase()
62 streamInfo2->height_ = TEST_HEIGTH; in SetUpTestCase()
63 streamInfo2->stride_ = 1; in SetUpTestCase()
64 streamInfo2->format_ = TEST_FORMAT; in SetUpTestCase()
65 streamInfo2->dataspace_ = TEST_DATASPACE; in SetUpTestCase()
66 streamInfo2->encodeType_ = ENCODE_TYPE_JPEG; in SetUpTestCase()
67 streamInfo2->type_ = SNAPSHOT_FRAME; in SetUpTestCase()
69 g_streamInfos.push_back(streamInfo2); in SetUpTestCase()
H A Ddcamera_source_input_test.cpp76 std::shared_ptr<DCStreamInfo> streamInfo2 = std::make_shared<DCStreamInfo>(); in SetStreamInfos() local
77 streamInfo2->streamId_ = TEST_STREAMID; in SetStreamInfos()
78 streamInfo2->width_ = TEST_WIDTH; in SetStreamInfos()
79 streamInfo2->height_ = TEST_HEIGTH; in SetStreamInfos()
80 streamInfo2->stride_ = 1; in SetStreamInfos()
81 streamInfo2->format_ = 1; in SetStreamInfos()
82 streamInfo2->dataspace_ = 1; in SetStreamInfos()
83 streamInfo2->encodeType_ = ENCODE_TYPE_JPEG; in SetStreamInfos()
84 streamInfo2->type_ = SNAPSHOT_FRAME; in SetStreamInfos()
86 g_streamInfos.push_back(streamInfo2); in SetStreamInfos()
H A Ddcamera_source_state_machine_test.cpp97 std::shared_ptr<DCStreamInfo> streamInfo2 = std::make_shared<DCStreamInfo>(); in SetStreamInfos() local
98 streamInfo2->streamId_ = TEST_STREAMID; in SetStreamInfos()
99 streamInfo2->width_ = TEST_WIDTH; in SetStreamInfos()
100 streamInfo2->height_ = TEST_HEIGTH; in SetStreamInfos()
101 streamInfo2->stride_ = 1; in SetStreamInfos()
102 streamInfo2->format_ = 1; in SetStreamInfos()
103 streamInfo2->dataspace_ = 1; in SetStreamInfos()
104 streamInfo2->encodeType_ = ENCODE_TYPE_JPEG; in SetStreamInfos()
105 streamInfo2->type_ = SNAPSHOT_FRAME; in SetStreamInfos()
107 g_streamInfosSnap.push_back(streamInfo2); in SetStreamInfos()
H A Ddcamera_provider_callback_impl_test.cpp80 DCStreamInfo streamInfo2; in SetStreamInfos() local
81 streamInfo2.streamId_ = TEST_STREAMID; in SetStreamInfos()
82 streamInfo2.width_ = TEST_WIDTH; in SetStreamInfos()
83 streamInfo2.height_ = TEST_HEIGTH; in SetStreamInfos()
84 streamInfo2.stride_ = 1; in SetStreamInfos()
85 streamInfo2.format_ = 1; in SetStreamInfos()
86 streamInfo2.dataspace_ = 1; in SetStreamInfos()
87 streamInfo2.encodeType_ = ENCODE_TYPE_JPEG; in SetStreamInfos()
88 streamInfo2.type_ = SNAPSHOT_FRAME; in SetStreamInfos()
90 g_streamInfosSnap.push_back(streamInfo2); in SetStreamInfos()
/ohos5.0/drivers/peripheral/camera/test/mpi/src/
H A Dpipeline_test.cpp226 Test_->streamInfo2 = std::make_shared<StreamInfo>();
227 Test_->streamInfo2->streamId_ = Test_->streamId_preview_double;
228 Test_->streamInfo2->width_ = 1280;
229 Test_->streamInfo2->height_ = 960;
230 Test_->streamInfo2->dataspace_ = 8;
231 Test_->streamInfo2->format_ = PIXEL_FMT_YCRCB_420_SP;
232 Test_->streamInfo2->intent_ = Camera::PREVIEW;
235 …Test_->streamInfo2->bufferQueue_ = preview_consumer2->CreateProducer([this](void* addr, uint32_t s… in __anon58e12a830402()
238 Test_->streamInfo2->bufferQueue_->SetQueueSize(8);
240 Test_->streamInfo2->tunneledMode_ = 5;
[all …]
/ohos5.0/drivers/peripheral/camera/test/mpi/include/
H A Dcommon.h86 std::shared_ptr<OHOS::Camera::StreamInfo> streamInfo2 = nullptr; variable
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/
H A Daudio_capturer_extra_unit_test.cpp949 AudioStreamInfo streamInfo2; variable
950 ret2 = audioCapturer->GetStreamInfo(streamInfo2);