Home
last modified time | relevance | path

Searched refs:SurfaceListener (Results 1 - 11 of 11) sorted by relevance

/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_capture_video.h82 sptr<SurfaceListener> previewSurfaceListener_;
87 sptr<SurfaceListener> photoSurfaceListener_;
92 sptr<SurfaceListener> videoSurfaceListener_;
97 sptr<SurfaceListener> secondPreviewSurfaceListener_;
H A Dtest_common.h162 class SurfaceListener : public IBufferConsumerListener { class
164 SurfaceListener(const char* testName, SurfaceType surfaceType, int32_t &fd, sptr<IConsumerSurface> surface);
165 virtual ~SurfaceListener() = default;
H A Dcamera_capture.cpp213 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 Dtest_common.cpp339 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 Dcamera_video.cpp346 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 Dcamera_capture_mode.cpp439 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 Dcamera_capture_video.cpp465 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 Dhdilayer_context_systest.cpp21 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 Dcamera_framework_moduletest.cpp481 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 Dsendable_image_receiver_napi.cpp46 using SurfaceListener = SurfaceBufferAvaliableListener;
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_receiver_napi.cpp44 using SurfaceListener = SurfaceBufferAvaliableListener;

Completed in 17 milliseconds