Home
last modified time | relevance | path

Searched defs:asyncCtx (Results 1 – 13 of 13) sorted by relevance

/foundation/multimedia/player_framework/frameworks/js/recorder/
Drecorder_capability_napi.cpp31 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in GetAudioRecorderCaps() local
51 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in GetAudioRecorderCaps() local
75 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in IsAudioRecorderConfigSupported() local
101 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in IsAudioRecorderConfigSupported() local
126 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in GetVideoRecorderCaps() local
145 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in GetVideoRecorderCaps() local
169 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in GetVideoRecorderProfile() local
198 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in GetVideoRecorderProfile() local
223 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in HasVideoRecorderProfile() local
252 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in HasVideoRecorderProfile() local
Dvideo_recorder_napi.cpp51 static void SignError(VideoRecorderAsyncContext *asyncCtx, int32_t code, in SignError()
165 …std::unique_ptr<VideoRecorderAsyncContext> asyncCtx = std::make_unique<VideoRecorderAsyncContext>(… in CreateVideoRecorder() local
194 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Prepare() local
262 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in GetInputSurface() local
319 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Start() local
369 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Pause() local
417 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Resume() local
467 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Stop() local
515 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Reset() local
570 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Release() local
[all …]
Daudio_recorder_napi.cpp188 auto asyncCtx = std::make_unique<MediaAsyncContext>(env); in CreateAudioRecorderAsync() local
227 auto asyncCtx = std::make_unique<MediaAsyncContext>(env); in Prepare() local
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
Dsoundpool_napi.cpp149 std::unique_ptr<SoundPoolAsyncContext> asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsCreateSoundPool() local
176 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsLoad() local
192 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(data); in JsLoad() local
228 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsPlay() local
244 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(data); in JsPlay() local
275 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsStop() local
291 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(data); in JsStop() local
322 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsSetLoop() local
341 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(data); in JsSetLoop() local
371 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsSetPriority() local
[all …]
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
Davrecorder_napi.cpp189 … std::unique_ptr<AVRecorderAsyncContext> asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsCreateAVRecorder() local
244 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsPrepare() local
265 AVRecorderAsyncContext* asyncCtx = reinterpret_cast<AVRecorderAsyncContext *>(data); in JsPrepare() local
296 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsSetOrientationHint() local
317 AVRecorderAsyncContext* asyncCtx = reinterpret_cast<AVRecorderAsyncContext *>(data); in JsSetOrientationHint() local
348 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsSetWatermark() local
368 AVRecorderAsyncContext* asyncCtx = reinterpret_cast<AVRecorderAsyncContext *>(data); in JsSetWatermark() local
386 …askHandler<RetInfo>> AVRecorderNapi::GetPrepareTask(std::unique_ptr<AVRecorderAsyncContext> &async… in GetPrepareTask()
413 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in GetSetOrientationHintTask()
450 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsGetInputMetaSurface() local
[all …]
/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/
Davscreen_capture_napi.cpp156 …std::unique_ptr<AVScreenCaptureAsyncContext> asyncCtx = std::make_unique<AVScreenCaptureAsyncConte… in JsCreateAVScreenRecorder() local
207 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsReportAVScreenCaptureUserChoice() local
261 AVScreenCaptureAsyncContext* asyncCtx = reinterpret_cast<AVScreenCaptureAsyncContext *>(data); in AsyncJsReportAVScreenCaptureUserChoice() local
286 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsInit() local
303 … AVScreenCaptureAsyncContext* asyncCtx = reinterpret_cast<AVScreenCaptureAsyncContext *>(data); in JsInit() local
364 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsSkipPrivacyMode() local
380 … AVScreenCaptureAsyncContext* asyncCtx = reinterpret_cast<AVScreenCaptureAsyncContext *>(data); in JsSkipPrivacyMode() local
409 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsSetMicrophoneEnabled() local
436 … AVScreenCaptureAsyncContext* asyncCtx = reinterpret_cast<AVScreenCaptureAsyncContext *>(data); in JsSetMicrophoneEnabled() local
530 const std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx) in GetInitTask()
[all …]
/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/
Djs_drag_controller.cpp126 DragAction(DragControllerAsyncCtx* asyncCtx) : asyncCtx_(asyncCtx) {} in DragAction()
383 bool IsExecutingWithDragAction(DragControllerAsyncCtx* asyncCtx) in IsExecutingWithDragAction()
401 double ConvertToPx(DragControllerAsyncCtx* asyncCtx, const Dimension& dimension, double size) in ConvertToPx()
462 void CallBackForJs(DragControllerAsyncCtx* asyncCtx, napi_value result) in CallBackForJs()
493 void GetCallBackDataForJs(DragControllerAsyncCtx* asyncCtx, const DragNotifyMsg& dragNotifyMsg, in GetCallBackDataForJs()
547 void SetMouseDragMonitorState(DragControllerAsyncCtx *asyncCtx, bool state) in SetMouseDragMonitorState()
561 void HandleExecuteDrag(napi_env env, DragControllerAsyncCtx *asyncCtx) in HandleExecuteDrag()
573 void HandleSuccess(DragControllerAsyncCtx* asyncCtx, const DragNotifyMsg& dragNotifyMsg, in HandleSuccess()
605 void HandleFail(DragControllerAsyncCtx* asyncCtx, int32_t errorCode, const std::string& errMsg = "") in HandleFail()
632 void HandleDragEnd(DragControllerAsyncCtx* asyncCtx, const DragNotifyMsg& dragNotifyMsg) in HandleDragEnd()
[all …]
/foundation/multimedia/player_framework/frameworks/js/avtranscoder/
Davtranscoder_napi.cpp192 …std::unique_ptr<AVTransCoderAsyncContext> asyncCtx = std::make_unique<AVTransCoderAsyncContext>(en… in JsCreateAVTransCoder() local
240 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsPrepare() local
261 AVTransCoderAsyncContext* asyncCtx = reinterpret_cast<AVTransCoderAsyncContext *>(data); in JsPrepare() local
280 std::unique_ptr<AVTransCoderAsyncContext> &asyncCtx) in GetPrepareTask()
446 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in ExecuteByPromise() local
466 AVTransCoderAsyncContext* asyncCtx = reinterpret_cast<AVTransCoderAsyncContext *>(data); in ExecuteByPromise() local
493 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsGetSrcUrl() local
515 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsSetSrcFd() local
535 AVTransCoderAsyncContext* asyncCtx = reinterpret_cast<AVTransCoderAsyncContext *>(data); in JsSetSrcFd() local
562 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsGetSrcFd() local
[all …]
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/
Davimagegenerator_napi.cpp164 int32_t AVImageGeneratorNapi::GetFetchFrameArgs(std::unique_ptr<AVImageGeneratorAsyncContext> &asyn… in GetFetchFrameArgs()
211 auto asyncCtx = std::make_unique<AVImageGeneratorAsyncContext>(env); in JsFetchFrameAtTime() local
230 auto asyncCtx = reinterpret_cast<AVImageGeneratorAsyncContext *>(data); in JsFetchFrameAtTime() local
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
Djs_xcomponent_controller.cpp58 void HandleDeferred(const shared_ptr<XComponentAsyncCxt>& asyncCtx, ImageAnalyzerState state) in HandleDeferred()
252 auto asyncCtx = std::make_shared<XComponentAsyncCxt>(); in StartImageAnalyzer() local
/foundation/arkui/ace_engine/interfaces/napi/kits/component_snapshot/
Djs_component_snapshot.cpp48 void OnComplete(SnapshotAsyncCtx* asyncCtx, std::function<void()> finishCallback) in OnComplete()
145 auto* asyncCtx = new SnapshotAsyncCtx; in CreateCallback() local
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
Djs_rendering_context.cpp344 void HandleDeferred(const shared_ptr<CanvasAsyncCxt>& asyncCtx, ImageAnalyzerState state) in HandleDeferred()
399 auto asyncCtx = std::make_shared<CanvasAsyncCxt>(); in JsStartImageAnalyzer() local
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/picker/
Dcamera_picker_napi.cpp336 … std::unique_ptr<CameraPickerAsyncContext> asyncCtx = std::make_unique<CameraPickerAsyncContext>(); in Pick() local