/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcapture_session.cpp | 695 auto streamRepeat = CastStream<HStreamRepeat>(stream); in ExpandSketchRepeatStream() local 696 if (streamRepeat->GetRepeatStreamType() == RepeatStreamType::SKETCH) { in ExpandSketchRepeatStream() 699 sptr<HStreamRepeat> sketchStream = streamRepeat->GetSketchStream(); in ExpandSketchRepeatStream() 734 auto streamRepeat = CastStream<HStreamRepeat>(stream); in ExpandMovingPhotoRepeatStream() local 735 if (streamRepeat->GetRepeatStreamType() == RepeatStreamType::PREVIEW) { in ExpandMovingPhotoRepeatStream() 738 MovingPhotoSurfaceWrapper::CreateMovingPhotoSurfaceWrapper(streamRepeat->width_, streamRepeat->height_); in ExpandMovingPhotoRepeatStream() 754 CreateMovingPhotoStreamRepeat(streamRepeat->format_, streamRepeat->width_, streamRepeat in ExpandMovingPhotoRepeatStream() 782 auto streamRepeat = new (std::nothrow) HStreamRepeat(producer, format, width, height, RepeatStreamType::LIVEPHOTO); CreateMovingPhotoStreamRepeat() local 1585 auto streamRepeat = CastStream<HStreamRepeat>(stream); EnableMovingPhotoMirror() local 1607 auto streamRepeat = CastStream<HStreamRepeat>(stream); GetOutputStatus() local [all...] |
H A D | hstream_repeat.cpp | 463 auto streamRepeat = new (std::nothrow) HStreamRepeat(nullptr, format_, width, height, RepeatStreamType::SKETCH); in ForkSketchStreamRepeat() local 464 CHECK_ERROR_RETURN_RET_LOG(streamRepeat == nullptr, CAMERA_ALLOC_ERROR, in ForkSketchStreamRepeat() 468 sketchStream = streamRepeat; in ForkSketchStreamRepeat() 469 sketchStreamRepeat_ = streamRepeat; in ForkSketchStreamRepeat()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_framework_unittest.cpp | 3258 auto streamRepeat = new (std::nothrow) HStreamRepeat(producer1, format, width, height, RepeatStreamType::PREVIEW); in HWTEST_F() local 3259 ASSERT_NE(streamRepeat, nullptr); in HWTEST_F() 3266 if (streamRepeat->LinkInput(mockStreamOperator, photoSetting->GetCaptureMetadataSetting()) != 0) { in HWTEST_F() 3267 EXPECT_EQ(streamRepeat->Stop(), CAMERA_INVALID_STATE); in HWTEST_F() 3268 EXPECT_EQ(streamRepeat->Start(), CAMERA_INVALID_STATE); in HWTEST_F() 3270 EXPECT_EQ(streamRepeat->AddDeferredSurface(producer1), CAMERA_INVALID_STATE); in HWTEST_F() 3272 EXPECT_EQ(streamRepeat->Start(), CAMERA_INVALID_STATE); in HWTEST_F() 3273 EXPECT_EQ(streamRepeat->Stop(), CAMERA_INVALID_STATE); in HWTEST_F() 3315 auto streamRepeat = new (std::nothrow) HStreamRepeat(producer, 4, 1280, 960, RepeatStreamType::PREVIEW); in HWTEST_F() local 3316 ASSERT_NE(streamRepeat, nullpt in HWTEST_F() 3382 sptr<HStreamRepeat> streamRepeat = HWTEST_F() local 3506 sptr<HStreamRepeat> streamRepeat = new (std::nothrow) HStreamRepeat(producer, 0, 0, 0, RepeatStreamType::PREVIEW); HWTEST_F() local 3991 sptr<HStreamRepeat> streamRepeat = HWTEST_F() local 6434 auto streamRepeat = new (std::nothrow) HWTEST_F() local 6462 auto streamRepeat = new (std::nothrow) HWTEST_F() local 6485 auto streamRepeat = new (std::nothrow) HWTEST_F() local 6510 auto streamRepeat = new (std::nothrow) HWTEST_F() local 6535 auto streamRepeat = new (std::nothrow) HWTEST_F() local 6751 auto streamRepeat = new (std::nothrow) HWTEST_F() local [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
H A D | camera_manager.cpp | 588 sptr<IStreamRepeat> streamRepeat = nullptr; in CreatePreviewOutput() local 590 surface->GetProducer(), metaFormat, profile.GetSize().width, profile.GetSize().height, streamRepeat); in CreatePreviewOutput() 595 previewOutput->SetStream(streamRepeat); in CreatePreviewOutput() 673 sptr<IStreamRepeat> streamRepeat = nullptr; in CreateDeferredPreviewOutput() local 675 metaFormat, profile.GetSize().width, profile.GetSize().height, streamRepeat); in CreateDeferredPreviewOutput() 680 previewOutput->SetStream(streamRepeat); in CreateDeferredPreviewOutput() 837 sptr<IStreamRepeat> streamRepeat = nullptr; in CreateVideoOutput() local 839 surface->GetProducer(), metaFormat, profile.GetSize().width, profile.GetSize().height, streamRepeat); in CreateVideoOutput() 845 videoOutput->SetStream(streamRepeat); in CreateVideoOutput()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/ |
H A D | camera_framework_moduletest.cpp | 7743 sptr<HStreamRepeat> streamRepeat = in HWTEST_F() local 7745 ASSERT_NE(streamRepeat, nullptr); in HWTEST_F() 7746 EXPECT_EQ(streamRepeat->SetCallback(repeatCallback), CAMERA_OK); in HWTEST_F() 7747 EXPECT_EQ(streamRepeat->OnFrameError(BUFFER_LOST), CAMERA_OK); in HWTEST_F() 7748 EXPECT_EQ(streamRepeat->OnFrameError(0), CAMERA_OK); in HWTEST_F()
|