/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/ |
H A D | icapture_session.h | 68 float targetZoomRatio, float &duration) = 0;
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/ |
H A D | hcapture_session_proxy.h | 56 float targetZoomRatio, float &duration) override;
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/ |
H A D | hcapture_session_stub.cpp | 239 float targetZoomRatio = data.ReadFloat(); in HandleSetSmoothZoom() local 241 int32_t ret = SetSmoothZoom(smoothZoomType, operationMode, targetZoomRatio, duration); in HandleSetSmoothZoom()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/ |
H A D | hcapture_session_proxy.cpp | 298 …ssionProxy::SetSmoothZoom(int32_t mode, int32_t operationMode, float targetZoomRatio, float &durat… in SetSmoothZoom() argument 307 data.WriteFloat(targetZoomRatio); in SetSmoothZoom()
|
/ohos5.0/foundation/multimedia/camera_framework/test/fuzztest/capturesession_fuzzer/ |
H A D | capture_session_fuzzer.cpp | 220 float targetZoomRatio = data.ReadFloat(); in TestZoom() local 222 session->SetSmoothZoom(targetZoomRatio, smoothZoomType); in TestZoom()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcapture_session.cpp | 1273 int32_t smoothZoomType, int32_t operationMode, float targetZoomRatio, float& duration) in SetSmoothZoom() argument 1287 targetZoomRatio = targetZoomRatio * ZOOM_RATIO_MULTIPLE; in SetSmoothZoom() 1288 int indexAdded = targetZoomRatio > currentZoomRatio ? 1 : 2; in SetSmoothZoom() 1290 auto array = zoomAlgorithm->GetZoomArray(currentZoomRatio, targetZoomRatio, frameIntervalMs); in SetSmoothZoom() 1294 if ((crossZoom - currentZoomRatio) * (crossZoom - targetZoomRatio) > 0) { in SetSmoothZoom() 1299 currentZoomRatio > targetZoomRatio) { in SetSmoothZoom()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | capture_session.cpp | 2804 int32_t CaptureSession::SetSmoothZoom(float targetZoomRatio, uint32_t smoothZoomType) in SetSmoothZoom() argument 2817 if (targetZoomRatio < zoomRange[minIndex]) { in SetSmoothZoom() 2819 targetZoomRatio, zoomRange[minIndex]); in SetSmoothZoom() 2820 targetZoomRatio = zoomRange[minIndex]; in SetSmoothZoom() 2821 } else if (targetZoomRatio > zoomRange[maxIndex]) { in SetSmoothZoom() 2823 targetZoomRatio, zoomRange[maxIndex]); in SetSmoothZoom() 2824 targetZoomRatio = zoomRange[maxIndex]; in SetSmoothZoom() 2831 MEDIA_INFO_LOG("CaptureSession::SetSmoothZoom Zoom ratio: %{public}f", targetZoomRatio); in SetSmoothZoom() 2832 … errCode = captureSession->SetSmoothZoom(smoothZoomType, GetMode(), targetZoomRatio, duration); in SetSmoothZoom() 2839 changedMetadata->addEntry(OHOS_CONTROL_SMOOTH_ZOOM_RATIOS, &targetZoomRatio, 1); in SetSmoothZoom() [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/ |
H A D | hcapture_session.h | 253 … int32_t smoothZoomType, int32_t operationMode, float targetZoomRatio, float& duration) override;
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/ |
H A D | capture_session.h | 962 int32_t SetSmoothZoom(float targetZoomRatio, uint32_t smoothZoomType);
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/ |
H A D | camera_session_napi.cpp | 2411 double targetZoomRatio; in SetSmoothZoom() local 2413 napi_get_value_double(env, argv[PARAM0], &targetZoomRatio); in SetSmoothZoom() 2415 cameraSessionNapi->cameraSession_->SetSmoothZoom((float)targetZoomRatio, smoothZoomType); in SetSmoothZoom()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-camera-kit/ |
H A D | js-apis-camera.md | 5741 function setSmoothZoom(sessionExtendsZoom: camera.Zoom, targetZoomRatio: number, mode: camera.Smoot… 5743 sessionExtendsZoom.setSmoothZoom(targetZoomRatio, mode);
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_framework_unittest.cpp | 6799 float targetZoomRatio = 0; variable 6802 targetZoomRatio, duration), 11);
|
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/ |
H A D | js-apis-camera.md | 5753 function setSmoothZoom(sessionExtendsZoom: camera.Zoom, targetZoomRatio: number, mode: camera.Smoot… 5755 sessionExtendsZoom.setSmoothZoom(targetZoomRatio, mode);
|