/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/ |
H A D | dstream_operator_test.cpp | 127 struct StreamInfo streamInfo; in HWTEST_F() local 128 streamInfo.streamId_ = TEST_STREAMID; in HWTEST_F() 129 streamInfo.format_ = PIXEL_FMT_YCRCB_420_SP; in HWTEST_F() 130 streamInfo.height_ = TEST_HEIGHT; in HWTEST_F() 131 streamInfo.width_ = TEST_WIDTH; in HWTEST_F() 132 streamInfo.dataspace_ = TEST_DATASPACE; in HWTEST_F() 133 streamInfo.intent_ = StreamIntent::PREVIEW; in HWTEST_F() 134 streamInfo.tunneledMode_ = TEST_TUNNELEDMODE; in HWTEST_F() 135 streamInfo.bufferQueue_ = sptr<BufferProducerSequenceable>(new BufferProducerSequenceable()); in HWTEST_F() 136 streamInfo in HWTEST_F() 155 struct StreamInfo streamInfo; HWTEST_F() local 181 struct StreamInfo streamInfo; HWTEST_F() local 215 struct StreamInfo streamInfo; HWTEST_F() local 252 struct StreamInfo streamInfo; HWTEST_F() local 286 struct StreamInfo streamInfo; HWTEST_F() local 327 struct StreamInfo streamInfo; HWTEST_F() local [all...] |
/drivers/peripheral/camera/test/ut/v4l2/ |
H A D | hdi_interfaces_test.cpp | 60 cameraBase->streamInfo = std::make_shared<StreamInfo>(); in TEST_F() 61 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID; in TEST_F() 62 cameraBase->streamInfo->width_ = 640; // 640:picture width in TEST_F() 63 cameraBase->streamInfo->height_ = 480; // 480:picture height in TEST_F() 64 cameraBase->streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F() 65 cameraBase->streamInfo->dataspace_ = 8; // 8:picture dataspace in TEST_F() 66 cameraBase->streamInfo->intent_ = PREVIEW; in TEST_F() 67 cameraBase->streamInfo->tunneledMode_ = 5; // 5:tunnel mode in TEST_F() 68 cameraBase->streamInfo->bufferQueue_ = producer; in TEST_F() 69 streamInfos.push_back(cameraBase->streamInfo); in TEST_F() 158 std::shared_ptr<StreamInfo> streamInfo = std::make_shared<StreamInfo>(); TEST_F() local 863 std::shared_ptr<StreamInfo> streamInfo = std::make_shared<StreamInfo>(); TEST_F() local [all...] |
H A D | camera_preview_test.cpp | 61 StreamInfo streamInfo = {}; in HWTEST_F() local 62 streamInfo.streamId_ = 1001; in HWTEST_F() 63 streamInfo.width_ = 640; // 640:picture width in HWTEST_F() 64 streamInfo.height_ = 480; // 480:picture height in HWTEST_F() 65 streamInfo.format_ = -1; in HWTEST_F() 66 streamInfo.dataspace_ = 10; // 10:picture dataspace in HWTEST_F() 67 streamInfo.intent_ = PREVIEW; in HWTEST_F() 68 streamInfo.tunneledMode_ = 5; // 5:tunnel mode in HWTEST_F() 69 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in HWTEST_F() 70 ASSERT_NE(streamInfo in HWTEST_F() 104 StreamInfo streamInfo = {}; HWTEST_F() local 158 StreamInfo streamInfo = {}; HWTEST_F() local 200 StreamInfo streamInfo = {}; HWTEST_F() local 303 StreamInfo streamInfo = {}; HWTEST_F() local 357 StreamInfo streamInfo = {}; HWTEST_F() local 409 StreamInfo streamInfo = {}; HWTEST_F() local 453 StreamInfo streamInfo = {}; HWTEST_F() local 497 StreamInfo streamInfo = {}; HWTEST_F() local 539 StreamInfo streamInfo = {}; HWTEST_F() local 580 StreamInfo streamInfo = {}; HWTEST_F() local 648 StreamInfo streamInfo = {}; HWTEST_F() local 704 StreamInfo streamInfo = {}; HWTEST_F() local 785 StreamInfo streamInfo = {}; HWTEST_F() local 925 StreamInfo streamInfo = {}; HWTEST_F() local [all...] |
H A D | hdi_func_test.cpp | 338 cameraBase->streamInfo = std::make_shared<StreamInfo>();
in TEST_F() 339 cameraBase->streamInfo->streamId_ = DEFAULT_STREAM_ID;
in TEST_F() 340 cameraBase->streamInfo->width_ = 640; // 640:picture width
in TEST_F() 341 cameraBase->streamInfo->height_ = 480; // 480:picture height
in TEST_F() 342 cameraBase->streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG;
in TEST_F() 343 cameraBase->streamInfo->dataspace_ = 8; // 8:picture dataspace
in TEST_F() 344 cameraBase->streamInfo->intent_ = PREVIEW;
in TEST_F() 345 cameraBase->streamInfo->tunneledMode_ = 5; // 5:tunnel mode
in TEST_F() 346 cameraBase->streamInfos.push_back(cameraBase->streamInfo);
in TEST_F() 355 cameraBase->rc = cameraBase->streamOperator->AttachBufferQueue(cameraBase->streamInfo in TEST_F() [all...] |
H A D | pipeline_test.cpp | 130 cameraBase->streamInfo = std::make_shared<StreamInfo>(); in TEST_F() 131 cameraBase->streamInfo->streamId_ = cameraBase->STREAM_ID_VIDEO; in TEST_F() 132 cameraBase->streamInfo->width_ = 640; // 640:picture width // 640:picture width in TEST_F() 133 cameraBase->streamInfo->height_ = 480; // 480:picture height // 480:picture height in TEST_F() 134 cameraBase->streamInfo->format_ = CAMERA_FORMAT_YUYV_422_PKG; in TEST_F() 135 cameraBase->streamInfo->dataspace_ = 10; // 10:picture dataspace in TEST_F() 136 cameraBase->streamInfo->intent_ = VIDEO; in TEST_F() 137 cameraBase->streamInfo->tunneledMode_ = 5; // 5:tunnel mode // 5:tunnel mode in TEST_F() 138 cameraBase->streamInfo->bufferQueue_ = producer; in TEST_F() 140 streamInfos.push_back(cameraBase->streamInfo); in TEST_F() [all...] |
H A D | double_preview_test.cpp | 36 void DoublePreviewTest::SetStreamInfo(StreamInfo &streamInfo, in SetStreamInfo() argument 45 streamInfo.width_ = PREVIEW_WIDTH; in SetStreamInfo() 46 streamInfo.height_ = PREVIEW_HEIGHT; in SetStreamInfo() 47 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in SetStreamInfo() 49 streamInfo.streamId_ = streamId; in SetStreamInfo() 50 streamInfo.dataspace_ = DATA_SPACE; in SetStreamInfo() 51 streamInfo.intent_ = intent; in SetStreamInfo() 52 streamInfo.tunneledMode_ = TUNNEL_MODE; in SetStreamInfo() 54 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in SetStreamInfo() 55 ASSERT_NE(streamInfo in SetStreamInfo() 61 StreamInfo streamInfo = {}; CreateStream() local [all...] |
H A D | camera_capture_test.cpp | 292 cameraBase_->streamInfo.streamId_ = 1001; in HWTEST_F() 293 cameraBase_->streamInfo.width_ = 1280; // picture width in HWTEST_F() 294 cameraBase_->streamInfo.height_ = 960; // picture height in HWTEST_F() 295 cameraBase_->streamInfo.format_ = PIXEL_FMT_RGBA_8888; in HWTEST_F() 296 cameraBase_->streamInfo.dataspace_ = 8; // picture dataspace in HWTEST_F() 297 cameraBase_->streamInfo.intent_ = STILL_CAPTURE; in HWTEST_F() 298 cameraBase_->streamInfo.tunneledMode_ = 5; // tunnel mode in HWTEST_F() 299 cameraBase_->streamInfo.encodeType_ = ENCODE_TYPE_JPEG; in HWTEST_F() 300 cameraBase_->streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in HWTEST_F() 301 ASSERT_NE(cameraBase_->streamInfo in HWTEST_F() [all...] |
H A D | usb_camera_test.cpp | 521 StreamInfo streamInfo = {}; in TEST_F() local 522 streamInfo.streamId_ = cameraBase_->STREAM_ID_PREVIEW; in TEST_F() 523 streamInfo.width_ = 1280; // 1280:picture width in TEST_F() 524 streamInfo.height_ = 720; // 720:picture height in TEST_F() 525 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in TEST_F() 526 streamInfo.dataspace_ = 8; // 8:picture dataspace in TEST_F() 527 streamInfo.intent_ = PREVIEW; in TEST_F() 528 streamInfo.tunneledMode_ = 5; // 5:tunnel mode in TEST_F() 529 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in TEST_F() 530 ASSERT_NE(streamInfo in TEST_F() 676 StreamInfo streamInfo = {}; TEST_F() local 831 StreamInfo streamInfo = {}; TEST_F() local 1059 StreamInfo streamInfo = {}; TEST_F() local [all...] |
H A D | camera_video_test.cpp | 34 void CameraVideoTest::SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer, in SetStreamInfo() argument 44 streamInfo.width_ = PREVIEW_WIDTH; in SetStreamInfo() 45 streamInfo.height_ = PREVIEW_HEIGHT; in SetStreamInfo() 47 streamInfo.width_ = WIDTH; in SetStreamInfo() 48 streamInfo.height_ = HEIGHT; in SetStreamInfo() 49 streamInfo.encodeType_ = ENCODE_TYPE_JPEG; in SetStreamInfo() 51 streamInfo.width_ = WIDTH; in SetStreamInfo() 52 streamInfo.height_ = HEIGHT; in SetStreamInfo() 53 streamInfo.encodeType_ = ENCODE_TYPE_H264; in SetStreamInfo() 55 streamInfo in SetStreamInfo() 68 StreamInfo streamInfo = {}; CreateStream() local [all...] |
H A D | meta_data_test.cpp | 59 void MetaDataTest::SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer, in SetStreamInfo() argument 67 streamInfo.encodeType_ = ENCODE_TYPE_JPEG; in SetStreamInfo() 69 streamInfo.encodeType_ = ENCODE_TYPE_H264; in SetStreamInfo() 71 streamInfo.width_ = PREVIEW_WIDTH; in SetStreamInfo() 72 streamInfo.height_ = PREVIEW_HEIGHT; in SetStreamInfo() 73 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in SetStreamInfo() 74 streamInfo.streamId_ = streamId; in SetStreamInfo() 75 streamInfo.dataspace_ = DATA_SPACE; in SetStreamInfo() 76 streamInfo.intent_ = intent; in SetStreamInfo() 77 streamInfo in SetStreamInfo() 86 StreamInfo streamInfo = {}; CreateStream() local [all...] |
/drivers/peripheral/camera/test/mpi/src/ |
H A D | hdi_stream_test.cpp | 60 Test_->streamInfo = std::make_shared<Camera::StreamInfo>(); in HWTEST_F() 61 Test_->streamInfo->streamId_ = 1001; // 1001:streamId in HWTEST_F() 63 Test_->streamInfo->height_ = 480; // 480:height of stream in HWTEST_F() 64 Test_->streamInfo->width_ = 640; // 640:width of stream in HWTEST_F() 65 Test_->streamInfo->dataspace_ = 8; in HWTEST_F() 69 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](OHOS::SurfaceBuffer* buffer) { in HWTEST_F() 73 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](void* addr, uint32_t size) { in HWTEST_F() 77 Test_->streamInfo->bufferQueue_->SetQueueSize(8); in HWTEST_F() 78 Test_->consumerMap_[Test_->streamInfo->intent_] = consumer; in HWTEST_F() 79 Test_->streamInfo in HWTEST_F() [all...] |
H A D | pipeline_test.cpp | 119 Test_->streamInfo = std::make_shared<Camera::StreamInfo>(); in HWTEST_F() 120 Test_->streamInfo->streamId_ = Test_->streamId_video; in HWTEST_F() 121 Test_->streamInfo->width_ = 640; in HWTEST_F() 122 Test_->streamInfo->height_ = 480; in HWTEST_F() 124 Test_->streamInfo->dataspace_ = 10; in HWTEST_F() 125 Test_->streamInfo->intent_ = Camera::VIDEO; in HWTEST_F() 126 Test_->streamInfo->tunneledMode_ = 5; in HWTEST_F() 130 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](OHOS::SurfaceBuffer* buffer) { in HWTEST_F() 134 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](void* addr, uint32_t size) { in HWTEST_F() 138 Test_->streamInfo in HWTEST_F() [all...] |
H A D | dfx_test.cpp | 294 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
in HWTEST_F() 295 Test_->streamInfo->streamId_ = 1001; // 1001:streamId
in HWTEST_F() 296 Test_->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
in HWTEST_F() 297 Test_->streamInfo->height_ = 480; // 480:height of stream
in HWTEST_F() 298 Test_->streamInfo->width_ = 640; // 640:width of stream
in HWTEST_F() 299 Test_->streamInfo->dataspace_ = 8;
in HWTEST_F() 302 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](OHOS::SurfaceBuffer* buffer) {
in HWTEST_F() 305 Test_->streamInfo->bufferQueue_->SetQueueSize(8);
in HWTEST_F() 306 Test_->consumerMap_[Test_->streamInfo->intent_] = consumer;
in HWTEST_F() 307 Test_->streamInfo in HWTEST_F() [all...] |
H A D | performance_hdi_test.cpp | 454 Test_->streamInfo = std::make_shared<Camera::StreamInfo>(); in HWTEST_F() 455 Test_->streamInfo->streamId_ = 1001; // 1001:streamId in HWTEST_F() 456 Test_->streamInfo->dataspace_ = 8; in HWTEST_F() 457 Test_->streamInfo->intent_ = Camera::PREVIEW; in HWTEST_F() 458 Test_->streamInfo->width_ = 640; // 640:Stream width in HWTEST_F() 459 Test_->streamInfo->height_ = 480; // 480:Stream height in HWTEST_F() 461 Test_->streamInfo->tunneledMode_ = 5; in HWTEST_F() 465 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](OHOS::SurfaceBuffer* buffer) { in HWTEST_F() 469 Test_->streamInfo->bufferQueue_ = consumer->CreateProducer([this](void* addr, uint32_t size) { in HWTEST_F() 473 Test_->streamInfo in HWTEST_F() [all...] |
H A D | preview_test.cpp | 71 Test_->streamInfo = std::make_shared<StreamInfo>(); in HWTEST_F() 72 Test_->streamInfo->streamId_ = Test_->streamId_preview; in HWTEST_F() 73 Test_->streamInfo->width_ = 1280; in HWTEST_F() 74 Test_->streamInfo->height_ = 960; in HWTEST_F() 75 Test_->streamInfo->dataspace_ = 8; in HWTEST_F() 77 Test_->streamInfo->intent_ = Camera::PREVIEW; in HWTEST_F() 81 Test_->streamInfo->bufferQueue_ = preview_consumer->CreateProducer([this](OHOS::SurfaceBuffer* buffer) { in HWTEST_F() 85 Test_->streamInfo->bufferQueue_ = preview_consumer->CreateProducer([this](void* addr, uint32_t size) { in HWTEST_F() 89 Test_->streamInfo->bufferQueue_->SetQueueSize(8); in HWTEST_F() 91 Test_->streamInfo in HWTEST_F() [all...] |
H A D | performance_func_test.cpp | 99 Test_->streamInfo = std::make_shared<Camera::StreamInfo>();
in HWTEST_F() 100 Test_->streamInfo->streamId_ = 1001;
in HWTEST_F() 101 Test_->streamInfo->width_ = 1920;
in HWTEST_F() 102 Test_->streamInfo->height_ = 1080;
in HWTEST_F() 104 Test_->streamInfo->dataspace_ = 10;
in HWTEST_F() 105 Test_->streamInfo->intent_ = Camera::PREVIEW;
in HWTEST_F() 106 Test_->streamInfo->tunneledMode_ = 5;
in HWTEST_F() 110 Test_->streamInfo->bufferQueue_ = preview_consumer->CreateProducer([this](OHOS::SurfaceBuffer* buffer) {
in HWTEST_F() 114 Test_->streamInfo->bufferQueue_ = preview_consumer->CreateProducer([this](void* addr, uint32_t size) {
in HWTEST_F() 118 Test_->streamInfo in HWTEST_F() [all...] |
H A D | common.cpp | 58 streamInfo->format_ = IMAGE_PIXEL_FORMAT_NV21; in StreamInfoFormat() 60 streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP; in StreamInfoFormat() 273 streamInfo = std::make_shared<Camera::StreamInfo>(); in StartStream() 278 streamInfo->streamId_ = streamId_preview; in StartStream() 279 streamInfo->width_ = 640; // 640:width of stream in StartStream() 280 streamInfo->height_ = 480; // 480: height of stream in StartStream() 281 streamInfo->dataspace_ = 8; // 8:dataspace of stream in StartStream() 282 streamInfo->intent_ = intent; in StartStream() 283 streamInfo->tunneledMode_ = 5; // 5:tunneledMode of stream in StartStream() 288 streamInfo in StartStream() [all...] |
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraconfigurestreams_fuzzer/ |
H A D | dcameraconfigurestreams_fuzzer.cpp | 49 DCStreamInfo streamInfo; in DcameraConfigureStreamsFuzzTest() local 50 streamInfo.streamId_ = *(reinterpret_cast<const int*>(data)); in DcameraConfigureStreamsFuzzTest() 51 streamInfo.width_ = *(reinterpret_cast<const int*>(data)); in DcameraConfigureStreamsFuzzTest() 52 streamInfo.height_ = *(reinterpret_cast<const int*>(data)); in DcameraConfigureStreamsFuzzTest() 53 streamInfo.stride_ = *(reinterpret_cast<const int*>(data)); in DcameraConfigureStreamsFuzzTest() 54 streamInfo.format_ = *(reinterpret_cast<const int*>(data)); in DcameraConfigureStreamsFuzzTest() 55 streamInfo.dataspace_ = *(reinterpret_cast<const int*>(data)); in DcameraConfigureStreamsFuzzTest() 56 streamInfo.encodeType_ = encodeType[data[0] % DC_ENCODE_SIZE]; in DcameraConfigureStreamsFuzzTest() 57 streamInfo.type_ = streamType[data[0] % DC_STREAM_SIZE]; in DcameraConfigureStreamsFuzzTest() 58 streamInfos.push_back(streamInfo); in DcameraConfigureStreamsFuzzTest() [all...] |
/drivers/peripheral/camera/test/hdi/v1_0/src/ |
H A D | hdi_stream_uttest.cpp | 55 cameraTest->streamInfo = std::make_shared<StreamInfo>();
in HWTEST_F() 56 cameraTest->streamInfo->streamId_ = 101;
in HWTEST_F() 57 cameraTest->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP;
in HWTEST_F() 58 cameraTest->streamInfo->height_ = 480;
in HWTEST_F() 59 cameraTest->streamInfo->width_ = 640;
in HWTEST_F() 60 cameraTest->streamInfo->dataspace_ = 8;
in HWTEST_F() 64 cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t size) {
in HWTEST_F() 68 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8);
in HWTEST_F() 69 cameraTest->consumerMap_[cameraTest->streamInfo->intent_] = consumer;
in HWTEST_F() 70 cameraTest->streamInfo in HWTEST_F() [all...] |
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/ |
H A D | camera_benchmark_test.cpp | 454 cameraTest->streamInfo = std::make_shared<StreamInfo>(); in BENCHMARK_F() 455 cameraTest->streamInfo->streamId_ = 1001; in BENCHMARK_F() 456 cameraTest->streamInfo->format_ = PIXEL_FMT_YCRCB_420_SP; in BENCHMARK_F() 457 cameraTest->streamInfo->height_ = 480; in BENCHMARK_F() 458 cameraTest->streamInfo->width_ = 640; in BENCHMARK_F() 459 cameraTest->streamInfo->dataspace_ = 8; in BENCHMARK_F() 463 cameraTest->streamInfo->bufferQueue_ = consumer->CreateProducerSeq([this](void* addr, uint32_t size) { in BENCHMARK_F() 467 cameraTest->streamInfo->bufferQueue_->producer_->SetQueueSize(8); in BENCHMARK_F() 468 cameraTest->consumerMap_[cameraTest->streamInfo->intent_] = consumer; in BENCHMARK_F() 469 cameraTest->streamInfo in BENCHMARK_F() [all...] |
/drivers/peripheral/camera/test/ut/usb_camera/ |
H A D | usb_camera_test.cpp | 520 StreamInfo streamInfo = {}; in TEST_F() local 521 streamInfo.streamId_ = cameraBase_->STREAM_ID_PREVIEW; in TEST_F() 522 streamInfo.width_ = 1280; // 1280:picture width in TEST_F() 523 streamInfo.height_ = 720; // 720:picture height in TEST_F() 524 streamInfo.format_ = PIXEL_FMT_RGBA_8888; in TEST_F() 525 streamInfo.dataspace_ = 8; // 8:picture dataspace in TEST_F() 526 streamInfo.intent_ = PREVIEW; in TEST_F() 527 streamInfo.tunneledMode_ = 5; // 5:tunnel mode in TEST_F() 528 streamInfo.bufferQueue_ = new BufferProducerSequenceable(producer); in TEST_F() 529 ASSERT_NE(streamInfo in TEST_F() 677 StreamInfo streamInfo = {}; TEST_F() local 832 StreamInfo streamInfo = {}; TEST_F() local 1694 StreamInfo streamInfo = {}; TEST_F() local 1777 StreamInfo streamInfo = {}; TEST_F() local 1849 StreamInfo streamInfo = {}; TEST_F() local [all...] |
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/ |
H A D | dstream_operator.cpp | 76 DHLOGI("DStreamOperator::CreateStreams, streamInfo: id=%{public}d, width=%{public}d, " in CreateStreams() 171 for (auto streamInfo : dcStreamInfoMap_) { in ExtractStreamInfo() 173 dstStreamInfo.streamId_ = streamInfo.second->streamId_; in ExtractStreamInfo() 174 dstStreamInfo.width_ = streamInfo.second->width_; in ExtractStreamInfo() 175 dstStreamInfo.height_ = streamInfo.second->height_; in ExtractStreamInfo() 176 dstStreamInfo.stride_ = streamInfo.second->stride_; in ExtractStreamInfo() 177 dstStreamInfo.format_ = streamInfo.second->format_; in ExtractStreamInfo() 178 dstStreamInfo.dataspace_ = streamInfo.second->dataspace_; in ExtractStreamInfo() 179 dstStreamInfo.encodeType_ = streamInfo.second->encodeType_; in ExtractStreamInfo() 180 dstStreamInfo.type_ = streamInfo in ExtractStreamInfo() 248 auto streamInfo = dCameraStreams[i]; CommitStreams_V1_1() local 255 HalStreamCommit(const DCStreamInfo &streamInfo) HalStreamCommit() argument 1100 ChooseSuitableFormat(std::vector<std::shared_ptr<DCStreamInfo>> &streamInfo, std::shared_ptr<DCCaptureInfo> &captureInfo) ChooseSuitableFormat() argument 1133 ChooseSuitableResolution(std::vector<std::shared_ptr<DCStreamInfo>> &streamInfo, std::shared_ptr<DCCaptureInfo> &captureInfo) ChooseSuitableResolution() argument 1181 ChooseSuitableDataSpace(std::vector<std::shared_ptr<DCStreamInfo>> &streamInfo, std::shared_ptr<DCCaptureInfo> &captureInfo) ChooseSuitableDataSpace() argument 1187 ChooseSuitableEncodeType(std::vector<std::shared_ptr<DCStreamInfo>> &streamInfo, std::shared_ptr<DCCaptureInfo> &captureInfo) ChooseSuitableEncodeType() argument [all...] |
/drivers/peripheral/camera/test/demo_3A/ |
H A D | ohos_camera_demo_3a.cpp | 26 void OhosCameraDemo::SetStreamInfo(StreamInfo& streamInfo, in SetStreamInfo() argument 37 streamInfo.width_ = width; in SetStreamInfo() 38 streamInfo.height_ = height; in SetStreamInfo() 42 streamInfo.width_ = width; in SetStreamInfo() 43 streamInfo.height_ = height; in SetStreamInfo() 44 streamInfo.encodeType_ = CAMERA_CAPTURE_ENCODE_TYPE; in SetStreamInfo() 48 streamInfo.width_ = width; in SetStreamInfo() 49 streamInfo.height_ = height; in SetStreamInfo() 50 streamInfo.encodeType_ = CAMERA_VIDEO_ENCODE_TYPE; in SetStreamInfo() 53 streamInfo in SetStreamInfo() 189 StreamInfo streamInfo = {0}; CreateStream() local [all...] |
/drivers/peripheral/camera/test/demo/ |
H A D | ohos_camera_demo.cpp | 31 void OhosCameraDemo::SetStreamInfo(StreamInfo& streamInfo, in SetStreamInfo() argument 42 streamInfo.width_ = width; in SetStreamInfo() 43 streamInfo.height_ = height; in SetStreamInfo() 47 streamInfo.width_ = width; in SetStreamInfo() 48 streamInfo.height_ = height; in SetStreamInfo() 49 streamInfo.encodeType_ = CAMERA_CAPTURE_ENCODE_TYPE; in SetStreamInfo() 53 streamInfo.width_ = width; in SetStreamInfo() 54 streamInfo.height_ = height; in SetStreamInfo() 55 streamInfo.encodeType_ = CAMERA_VIDEO_ENCODE_TYPE; in SetStreamInfo() 58 streamInfo in SetStreamInfo() 194 StreamInfo streamInfo = {0}; CreateStream() local [all...] |
/drivers/peripheral/distributed_camera/hdi_service/test/sample/ |
H A D | dcamera_hdf_demo.cpp | 34 void DcameraHdfDemo::SetStreamInfo(StreamInfo& streamInfo, in SetStreamInfo() argument 45 streamInfo.width_ = width; in SetStreamInfo() 46 streamInfo.height_ = height; in SetStreamInfo() 51 streamInfo.width_ = width; in SetStreamInfo() 52 streamInfo.height_ = height; in SetStreamInfo() 53 streamInfo.encodeType_ = CAMERA_CAPTURE_ENCODE_TYPE; in SetStreamInfo() 60 streamInfo.width_ = width; in SetStreamInfo() 61 streamInfo.height_ = height; in SetStreamInfo() 62 streamInfo.encodeType_ = CAMERA_VIDEO_ENCODE_TYPE; in SetStreamInfo() 69 streamInfo in SetStreamInfo() 183 StreamInfo streamInfo = {0}; CreateStreamInfo() local [all...] |