Home
last modified time | relevance | path

Searched refs:targetZoomRatio (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/
H A Dicapture_session.h68 float targetZoomRatio, float &duration) = 0;
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/
H A Dhcapture_session_proxy.h56 float targetZoomRatio, float &duration) override;
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/
H A Dhcapture_session_stub.cpp239 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 Dhcapture_session_proxy.cpp298 …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 Dcapture_session_fuzzer.cpp220 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 Dhcapture_session.cpp1273 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 Dcapture_session.cpp2804 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 Dhcapture_session.h253 … 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 Dcapture_session.h962 int32_t SetSmoothZoom(float targetZoomRatio, uint32_t smoothZoomType);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/
H A Dcamera_session_napi.cpp2411 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 Djs-apis-camera.md5741 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 Dcamera_framework_unittest.cpp6799 float targetZoomRatio = 0; variable
6802 targetZoomRatio, duration), 11);
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A Djs-apis-camera.md5753 function setSmoothZoom(sessionExtendsZoom: camera.Zoom, targetZoomRatio: number, mode: camera.Smoot…
5755 sessionExtendsZoom.setSmoothZoom(targetZoomRatio, mode);