Home
last modified time | relevance | path

Searched refs:depthDataOutput (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A Dcamera-depth-data.md21 let depthDataOutput: camera.DepthDataOutput | undefined = undefined;
23 depthDataOutput = cameraManager.createDepthDataOutput(depthProfilesArray[0]);
28 return depthDataOutput;
35 async function startDepthDataOutput(depthDataOutput: camera.DepthDataOutput): Promise<void> {
36 if (!depthDataOutput) {
37 console.error('depthDataOutput Undefined');
41 await depthDataOutput.start();
56 function onDepthDataAvailable(depthDataOutput: camera.DepthDataOutput): void {
57 depthDataOutput.on('depthDataAvailable', (err: BusinessError) => {
69 function onDepthDataOutputError(depthDataOutput: camera.DepthDataOutput): void {
[all …]
/ohos5.0/docs/en/application-dev/media/camera/
H A Dcamera-depth-data.md21 let depthDataOutput: camera.DepthDataOutput | undefined = undefined;
23 depthDataOutput = cameraManager.createDepthDataOutput(depthProfilesArray[0]);
28 return depthDataOutput;
35 async function startDepthDataOutput(depthDataOutput: camera.DepthDataOutput): Promise<void> {
36 if (!depthDataOutput) {
37 console.error('depthDataOutput Undefined');
41 await depthDataOutput.start();
56 function onDepthDataAvailable(depthDataOutput: camera.DepthDataOutput): void {
57 depthDataOutput.on('depthDataAvailable', (err: BusinessError) => {
69 function onDepthDataOutputError(depthDataOutput: camera.DepthDataOutput): void {
[all …]
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Ddepth_data_output.h102 …licit DepthDataOutputCallbackImpl(DepthDataOutput* depthDataOutput) : depthDataOutput_(depthDataOu… in DepthDataOutputCallbackImpl() argument
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/
H A Dicamera_service.h102 … int32_t width, int32_t height, sptr<IStreamDepthData> &depthDataOutput) = 0;
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/output/
H A Ddepth_data_output_napi.h69 …ataListener(napi_env env, const sptr<Surface> depthSurface, sptr<DepthDataOutput> depthDataOutput);
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/
H A Dhcamera_service_proxy.h80 … int32_t width, int32_t height, sptr<IStreamDepthData> &depthDataOutput) override;
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/
H A Dhcamera_service_stub.cpp497 sptr<IStreamDepthData> depthDataOutput = nullptr; in HandleCreateDepthDataOutput() local
510 int errCode = CreateDepthDataOutput(producer, format, width, height, depthDataOutput); in HandleCreateDepthDataOutput()
515 …CHECK_AND_RETURN_RET_LOG(reply.WriteRemoteObject(depthDataOutput->AsObject()), IPC_STUB_WRITE_PARC… in HandleCreateDepthDataOutput()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_manager.cpp722 sptr<DepthDataOutput> depthDataOutput = nullptr; in CreateDepthDataOutput() local
723 int ret = CreateDepthDataOutput(depthProfile, surface, &depthDataOutput); in CreateDepthDataOutput()
728 return depthDataOutput; in CreateDepthDataOutput()
736 sptr<DepthDataOutput> depthDataOutput = nullptr; in CreateDepthDataOutput() local
757 depthDataOutput = new(std::nothrow) DepthDataOutput(surface); in CreateDepthDataOutput()
758 if (depthDataOutput == nullptr) { in CreateDepthDataOutput()
761 depthDataOutput->SetStream(streamDepthData); in CreateDepthDataOutput()
766 depthDataOutput->SetDepthProfile(depthProfile); in CreateDepthDataOutput()
767 *pDepthDataOutput = depthDataOutput; in CreateDepthDataOutput()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-camera-kit/
H A Djs-apis-camera-sys.md178 let depthDataOutput: camera.DepthDataOutput | undefined = undefined;
180 depthDataOutput = cameraManager.createDepthDataOutput(profile);
186 return depthDataOutput;
769 depthDataOutput.start().then(() => {
799 depthDataOutput.stop().then(() => {
841 depthDataOutput.on('depthDataAvailable', callback);
875 depthDataOutput.off('depthDataAvailable', callback);
897 | type | string | 是 | 监听事件,固定为'error',depthDataOutput创建成功可监听。 |
910 depthDataOutput.on('error', callback)
928 | type | string | 是 | 监听事件,固定为'error',depthDataOutput创建成功可监听。 |
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Ddepth_data_output_napi.cpp56 sptr<DepthDataOutput> depthDataOutput) in DepthDataListener() argument
57 : ListenerBase(env), depthDataSurface_(depthDataSurface), depthDataOutput_(depthDataOutput) in DepthDataListener()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/
H A Dhcamera_service_proxy.cpp426 sptr<IStreamDepthData>& depthDataOutput) in CreateDepthDataOutput() argument
451 depthDataOutput = iface_cast<IStreamDepthData>(remoteObject); in CreateDepthDataOutput()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcamera_service.h113 int32_t height, sptr<IStreamDepthData>& depthDataOutput) override;
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A Djs-apis-camera-sys.md178 let depthDataOutput: camera.DepthDataOutput | undefined = undefined;
180 depthDataOutput = cameraManager.createDepthDataOutput(profile);
186 return depthDataOutput;
769 function startDepthDataOutput(depthDataOutput: camera.DepthDataOutput): void {
770 depthDataOutput.start().then(() => {
799 function stopDepthDataOutput(depthDataOutput: camera.DepthDataOutput): void {
800 depthDataOutput.stop().then(() => {
842 depthDataOutput.on('depthDataAvailable', callback);
876 depthDataOutput.off('depthDataAvailable', callback);
911 depthDataOutput.on('error', callback)
[all …]
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcamera_service.cpp587 int32_t width, int32_t height, sptr<IStreamDepthData>& depthDataOutput) in CreateDepthDataOutput() argument
609 depthDataOutput = streamDepthData; in CreateDepthDataOutput()