/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/ |
H A D | camera_capture_video.h | 82 sptr<SurfaceListener> previewSurfaceListener_; 87 sptr<SurfaceListener> photoSurfaceListener_; 92 sptr<SurfaceListener> videoSurfaceListener_; 97 sptr<SurfaceListener> secondPreviewSurfaceListener_;
|
H A D | test_common.h | 162 class SurfaceListener : public IBufferConsumerListener { class 164 SurfaceListener(const char* testName, SurfaceType surfaceType, int32_t &fd, sptr<IConsumerSurface> surface); 165 virtual ~SurfaceListener() = default;
|
H A D | camera_capture.cpp | 213 sptr<SurfaceListener> captureListener = new(std::nothrow) SurfaceListener("Photo", SurfaceType::PHOTO, in main() 239 sptr<SurfaceListener> listener = new(std::nothrow) SurfaceListener("Preview", SurfaceType::PREVIEW, in main()
|
H A D | test_common.cpp | 339 SurfaceListener::SurfaceListener(const char* testName, SurfaceType type, int32_t &fd, sptr<IConsumerSurface> surface) in SurfaceListener() function in OHOS::CameraStandard::SurfaceListener 343 void SurfaceListener::OnBufferAvailable() in OnBufferAvailable() 348 MEDIA_DEBUG_LOG("SurfaceListener::OnBufferAvailable(), testName_: %{public}s, surfaceType_: %{public}d", in OnBufferAvailable()
|
H A D | camera_video.cpp | 346 sptr<SurfaceListener> listener = new SurfaceListener("Preview", SurfaceType::PREVIEW, previewFd, previewSurface); in main() 387 sptr<SurfaceListener> videoListener = new SurfaceListener("Video", SurfaceType::VIDEO, g_videoFd, cSurface); in main()
|
H A D | camera_capture_mode.cpp | 439 sptr<SurfaceListener> captureListener = new(std::nothrow) SurfaceListener("Photo", SurfaceType::PHOTO, in main() 492 sptr<SurfaceListener> listener = new(std::nothrow) SurfaceListener("Preview", SurfaceType::PREVIEW, in main()
|
H A D | camera_capture_video.cpp | 465 previewSurfaceListener_ = new(std::nothrow) SurfaceListener(testName_, SurfaceType::PREVIEW, in InitPreviewOutput() 468 MEDIA_ERR_LOG("fail to create new SurfaceListener"); in InitPreviewOutput() 505 secondPreviewSurfaceListener_ = new(std::nothrow) SurfaceListener(testName_, in InitSecondPreviewOutput() 508 MEDIA_ERR_LOG("failed to create new SurfaceListener!"); in InitSecondPreviewOutput() 517 MEDIA_ERR_LOG("Failed to create new SurfaceListener"); in InitSecondPreviewOutput() 549 photoSurfaceListener_ = new(std::nothrow) SurfaceListener(testName_, SurfaceType::PHOTO, fd_, photoSurface_); in InitPhotoOutput() 551 MEDIA_ERR_LOG("Failed to create new SurfaceListener"); in InitPhotoOutput() 588 videoSurfaceListener_ = new(std::nothrow) SurfaceListener(testName_, SurfaceType::VIDEO, fd_, videoSurface_); in InitVideoOutput() 590 MEDIA_ERR_LOG("Failed to create new SurfaceListener"); in InitVideoOutput()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/ |
H A D | hdilayer_context_systest.cpp | 21 class SurfaceListener : public IBufferConsumerListener { class 33 sptr<IBufferConsumerListener> listener = new SurfaceListener(); in HdiLayerContext()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/ |
H A D | camera_framework_moduletest.cpp | 481 sptr<SurfaceListener> listener = new SurfaceListener("Preview", SurfaceType::PREVIEW, g_previewFd, previewSurface); in CreatePreviewOutput() 531 sptr<SurfaceListener> listener = new SurfaceListener("Preview", SurfaceType::PREVIEW, g_previewFd, previewSurface); in CreatePreviewOutput() 548 sptr<SurfaceListener> listener = new SurfaceListener("Sketch", SurfaceType::SKETCH, g_sketchFd, sketchSurface); in CreateSketchSurface() 565 sptr<SurfaceListener> videoSurfaceListener = in CreateVideoOutput() 566 new (std::nothrow) SurfaceListener("Video", SurfaceType::VIDEO, g_videoFd, surface); in CreateVideoOutput() 568 MEDIA_ERR_LOG("Failed to create new SurfaceListener"); in CreateVideoOutput() 583 sptr<SurfaceListener> videoSurfaceListene in CreateVideoOutput() [all...] |
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_receiver_napi.cpp | 46 using SurfaceListener = SurfaceBufferAvaliableListener;
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_receiver_napi.cpp | 44 using SurfaceListener = SurfaceBufferAvaliableListener;
|