Searched refs:zoom (Results 1 - 7 of 7) sorted by relevance
/foundation/multimedia/camera_framework/services/camera_service/src/smooth_zoom/ |
H A D | cubic_bezier.cpp | 49 float zoom = (currentZoom + (targetZoom - currentZoom) * GetInterpolation(time)); in GetZoomArray() local 50 result.push_back(zoom); in GetZoomArray() 51 MEDIA_DEBUG_LOG("CubicBezier::GetZoomArray zoom is:%{public}f", zoom); in GetZoomArray()
|
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/ |
H A D | capture_session_impl.h | 78 Camera_ErrorCode GetZoomRatio(float* zoom); 80 Camera_ErrorCode SetZoomRatio(float zoom);
|
H A D | capture_session_impl.cpp | 349 Camera_ErrorCode Camera_CaptureSession::GetZoomRatio(float* zoom) in GetZoomRatio() argument 352 *zoom = innerCaptureSession_->GetZoomRatio(); in GetZoomRatio() 357 Camera_ErrorCode Camera_CaptureSession::SetZoomRatio(float zoom) in SetZoomRatio() argument 362 int32_t ret = innerCaptureSession_->SetZoomRatio(zoom); in SetZoomRatio()
|
/foundation/multimedia/camera_framework/frameworks/native/ndk/ |
H A D | capture_session.cpp | 229 Camera_ErrorCode OH_CaptureSession_GetZoomRatio(Camera_CaptureSession* session, float* zoom) in OH_CaptureSession_GetZoomRatio() argument 233 CHECK_AND_RETURN_RET_LOG(zoom != nullptr, CAMERA_INVALID_ARGUMENT, "Invaild argument, zoom is null!"); in OH_CaptureSession_GetZoomRatio() 235 return session->GetZoomRatio(zoom); in OH_CaptureSession_GetZoomRatio() 238 Camera_ErrorCode OH_CaptureSession_SetZoomRatio(Camera_CaptureSession* session, float zoom) in OH_CaptureSession_SetZoomRatio() argument 243 return session->SetZoomRatio(zoom); in OH_CaptureSession_SetZoomRatio()
|
/foundation/multimedia/camera_framework/interfaces/kits/native/include/camera/ |
H A D | capture_session.h | 88 * @brief Capture session smooth zoom info callback. 151 * @brief Register smooth zoom information event callback. 163 * @brief Unregister smooth zoom information event callback. 598 * @brief Get all supported zoom ratio range. 601 * @param minZoom the minimum of zoom ratio range. 602 * @param maxZoom the Maximum of zoom ratio range. 611 * @brief Get current zoom ratio. 614 * @param zoom the current zoom ratio. 620 Camera_ErrorCode OH_CaptureSession_GetZoomRatio(Camera_CaptureSession* session, float* zoom); [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/cpp/ |
H A D | camera_manager.cpp | 211 float zoom = float(zoomRatio); in setZoomRatioFn() local 224 ret = OH_CaptureSession_SetZoomRatio(captureSession_, zoom); in setZoomRatioFn() 232 ret = OH_CaptureSession_GetZoomRatio(captureSession_, &zoom); in setZoomRatioFn() 234 OH_LOG_INFO(LOG_APP, "OH_CaptureSession_GetZoomRatio success. zoom:%{public}f ", zoom); in setZoomRatioFn()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_ndk_unittest.cpp | 192 float zoom = 0.0f; in SessionControlParams() local 193 ret = OH_CaptureSession_GetZoomRatio(captureSession, &zoom); in SessionControlParams() 195 ASSERT_NE(zoom, 0.0f); in SessionControlParams() 2399 * Function: Test capture session about zoom and mode with not commit 2403 * CaseDescription: Test capture session about zoom and mode with not commit 2417 float zoom = 0.0f; in HWTEST_F() local 2418 ret = OH_CaptureSession_SetZoomRatio(captureSession, zoom); in HWTEST_F() 2457 * Function: Test capture session about zoom and mode with commit 2461 * CaseDescription: Test capture session about zoom and mode with commit 2495 float zoom in HWTEST_F() local 2546 float zoom = 0.0f; HWTEST_F() local [all...] |
Completed in 12 milliseconds