/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/ |
H A D | hcapture_session_proxy.h | 56 float targetZoomRatio, float &duration) override;
|
/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/ |
H A D | icapture_session.h | 68 float targetZoomRatio, float &duration) = 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()
|
/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/ |
H A D | hcapture_session_proxy.cpp | 298 int32_t HCaptureSessionProxy::SetSmoothZoom(int32_t mode, int32_t operationMode, float targetZoomRatio, float &duration) in SetSmoothZoom() argument 307 data.WriteFloat(targetZoomRatio); in SetSmoothZoom()
|
/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()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcapture_session.cpp | 1189 int32_t smoothZoomType, int32_t operationMode, float targetZoomRatio, float& duration) in SetSmoothZoom() 1203 targetZoomRatio = targetZoomRatio * ZOOM_RATIO_MULTIPLE; in SetSmoothZoom() 1204 int indexAdded = targetZoomRatio > currentZoomRatio ? 1 : 2; in SetSmoothZoom() 1206 auto array = zoomAlgorithm->GetZoomArray(currentZoomRatio, targetZoomRatio, frameIntervalMs); in SetSmoothZoom() 1210 if ((crossZoom - currentZoomRatio) * (crossZoom - targetZoomRatio) > 0) { in SetSmoothZoom() 1215 currentZoomRatio > targetZoomRatio) { in SetSmoothZoom() 1188 SetSmoothZoom( int32_t smoothZoomType, int32_t operationMode, float targetZoomRatio, float& duration) SetSmoothZoom() argument
|
/foundation/multimedia/camera_framework/services/camera_service/include/ |
H A D | hcapture_session.h | 239 int32_t smoothZoomType, int32_t operationMode, float targetZoomRatio, float& duration) override;
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | capture_session.cpp | 2700 int32_t CaptureSession::SetSmoothZoom(float targetZoomRatio, uint32_t smoothZoomType) in SetSmoothZoom() argument 2713 if (targetZoomRatio < zoomRange[minIndex]) { in SetSmoothZoom() 2715 targetZoomRatio, zoomRange[minIndex]); in SetSmoothZoom() 2716 targetZoomRatio = zoomRange[minIndex]; in SetSmoothZoom() 2717 } else if (targetZoomRatio > zoomRange[maxIndex]) { in SetSmoothZoom() 2719 targetZoomRatio, zoomRange[maxIndex]); in SetSmoothZoom() 2720 targetZoomRatio = zoomRange[maxIndex]; in SetSmoothZoom() 2727 MEDIA_INFO_LOG("CaptureSession::SetSmoothZoom Zoom ratio: %{public}f", targetZoomRatio); in SetSmoothZoom() 2728 errCode = captureSession->SetSmoothZoom(smoothZoomType, GetMode(), targetZoomRatio, duration); in SetSmoothZoom() 2735 changedMetadata->addEntry(OHOS_CONTROL_SMOOTH_ZOOM_RATIOS, &targetZoomRatio, in SetSmoothZoom() [all...] |
/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);
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/ |
H A D | camera_session_napi.cpp | 2373 double targetZoomRatio; in SetSmoothZoom() local 2375 napi_get_value_double(env, argv[PARAM0], &targetZoomRatio); in SetSmoothZoom() 2377 cameraSessionNapi->cameraSession_->SetSmoothZoom((float)targetZoomRatio, smoothZoomType); in SetSmoothZoom()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_framework_unittest.cpp | 6704 float targetZoomRatio = 0; in HWTEST_F() local 6707 targetZoomRatio, duration), 11); in HWTEST_F()
|