Home
last modified time | relevance | path

Searched refs:PhotoListener (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_listener_impl.cpp34 PhotoListener::PhotoListener(Camera_PhotoOutput* photoOutput, sptr<Surface> surface) in PhotoListener() function in OHOS::CameraStandard::PhotoListener
42 PhotoListener::~PhotoListener() in ~PhotoListener()
47 void PhotoListener::OnBufferAvailable() in OnBufferAvailable()
84 CameraBufferExtraData PhotoListener::GetCameraBufferExtraData(const sptr<SurfaceBuffer> &surfaceBuf… in GetCameraBufferExtraData()
129 void PhotoListener::SetCallbackFlag(uint8_t callbackFlag) in SetCallbackFlag()
134 void PhotoListener::SetPhotoAvailableCallback(OH_PhotoOutput_PhotoAvailable callback) in SetPhotoAvailableCallback()
145 void PhotoListener::UnregisterPhotoAvailableCallback(OH_PhotoOutput_PhotoAvailable callback) in UnregisterPhotoAvailableCallback()
156 void PhotoListener::SetPhotoAssetAvailableCallback(OH_PhotoOutput_PhotoAssetAvailable callback) in SetPhotoAssetAvailableCallback()
167 void PhotoListener::UnregisterPhotoAssetAvailableCallback(OH_PhotoOutput_PhotoAssetAvailable callba… in UnregisterPhotoAssetAvailableCallback()
178 void PhotoListener::ExecutePhoto(sptr<SurfaceBuffer> surfaceBuffer, int64_t timestamp) in ExecutePhoto()
[all …]
H A Dphoto_listener_impl.h45 class PhotoListener : public IBufferConsumerListener {
47 explicit PhotoListener(Camera_PhotoOutput* photoOutput, sptr<Surface> surface);
48 ~PhotoListener();
H A Dphoto_output_impl.cpp82 photoListener_ = new (std::nothrow) PhotoListener(this, photoSurface_); in RegisterPhotoAvailableCallback()
125 photoListener_ = new (std::nothrow) PhotoListener(this, photoSurface_); in RegisterPhotoAssetAvailableCallback()
H A Dphoto_output_impl.h276 OHOS::sptr<OHOS::CameraStandard::PhotoListener> photoListener_ = nullptr;
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/output/
H A Dphoto_output_napi.h131 class PhotoListener : public IBufferConsumerListener,
133 public std::enable_shared_from_this<PhotoListener> {
135 …explicit PhotoListener(napi_env env, const sptr<Surface> photoSurface, wptr<PhotoOutput> photoOutp…
136 virtual ~PhotoListener();
269 const PhotoListener* listener_;
270 PhotoListenerInfo(sptr<Surface> photoSurface, const PhotoListener* listener) in PhotoListenerInfo()
400 sptr<PhotoListener> photoListener_;
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Dphoto_output_napi.cpp178 PhotoListener::PhotoListener(napi_env env, const sptr<Surface> photoSurface, wptr<PhotoOutput> phot… in PhotoListener() function in OHOS::CameraStandard::PhotoListener
190 PhotoListener::~PhotoListener() in ~PhotoListener()
432 int32_t PhotoListener::GetAuxiliaryPhotoCount(sptr<SurfaceBuffer> surfaceBuffer) in GetAuxiliaryPhotoCount()
589 void PhotoListener::OnBufferAvailable() in OnBufferAvailable()
607 wptr<PhotoListener> thisPtr(this); in OnBufferAvailable()
1039 void PhotoListener::UpdateJSCallback(sptr<Surface> photoSurface) const in UpdateJSCallback()
1071 void PhotoListener::UpdateJSCallbackAsync(sptr<Surface> photoSurface) const in UpdateJSCallbackAsync()
1909 …sptr<PhotoListener> photoListener = new (std::nothrow) PhotoListener(env, sPhotoSurface_, photoOut… in CreateMultiChannelPictureLisenter()
1929 …sptr<PhotoListener> photoListener = new (std::nothrow) PhotoListener(env, sPhotoSurface_, photoOut… in CreateSingleChannelPhotoLisenter()
2721 …sptr<PhotoListener> photoListener = new (std::nothrow) PhotoListener(env, sPhotoSurface_, photoOut… in RegisterPhotoAvailableCallbackListener()
[all …]