Home
last modified time | relevance | path

Searched refs:exposureValue (Results 1 - 15 of 15) sorted by relevance

/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dnight_session.cpp54 int32_t NightSession::SetExposure(uint32_t exposureValue) in SetExposure() argument
63 MEDIA_DEBUG_LOG("NightSession::SetExposure exposure compensation: %{public}d", exposureValue); in SetExposure()
72 bool result = std::find(exposureRange.begin(), exposureRange.end(), exposureValue) == exposureRange.end(); in SetExposure()
73 CHECK_ERROR_RETURN_RET_LOG(result && exposureValue != autoLongExposure, CameraErrorCode::OPERATION_NOT_ALLOWED, in SetExposure()
74 "NightSession::SetExposure value(%{public}d)is not supported!", exposureValue); in SetExposure()
75 uint32_t exposureCompensation = exposureValue; in SetExposure()
86 int32_t NightSession::GetExposure(uint32_t &exposureValue) in GetExposure() argument
106 exposureValue = item.data.ui32[0]; in GetExposure()
107 MEDIA_DEBUG_LOG("exposureValue: %{public}d", exposureValue); in GetExposure()
[all...]
H A Dcapture_session.cpp1765 int32_t CaptureSession::SetExposureBias(float exposureValue) in SetExposureBias() argument
1781 MEDIA_DEBUG_LOG("CaptureSession::SetExposureValue exposure compensation: %{public}f", exposureValue); in SetExposureBias()
1795 if (exposureValue < biasRange[minIndex]) { in SetExposureBias()
1797 "%{public}f is lesser than minimum bias: %{public}f", exposureValue, biasRange[minIndex]); in SetExposureBias()
1798 exposureValue = biasRange[minIndex]; in SetExposureBias()
1799 } else if (exposureValue > biasRange[maxIndex]) { in SetExposureBias()
1801 "%{public}f is greater than maximum bias: %{public}f", exposureValue, biasRange[maxIndex]); in SetExposureBias()
1802 exposureValue = biasRange[maxIndex]; in SetExposureBias()
1805 int32_t exposureCompensation = CalculateExposureValue(exposureValue); in SetExposureBias()
1814 [this, exposureValue]() { in SetExposureBias()
1824 float exposureValue; GetExposureValue() local
1829 GetExposureValue(float& exposureValue) GetExposureValue() argument
3527 CalculateExposureValue(float exposureValue) CalculateExposureValue() argument
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dnight_session_napi.cpp155 uint32_t exposureValue; in GetExposure() local
156 int32_t retCode = nightSessionNapi->nightSession_->GetExposure(exposureValue); in GetExposure()
160 MEDIA_DEBUG_LOG("GetExposure : exposure = %{public}d", exposureValue); in GetExposure()
161 napi_create_uint32(env, exposureValue, &result); in GetExposure()
184 uint32_t exposureValue; in SetExposure() local
185 napi_get_value_uint32(env, argv[PARAM0], &exposureValue); in SetExposure()
186 MEDIA_DEBUG_LOG("SetExposure : exposure = %{public}d", exposureValue); in SetExposure()
188 int32_t retCode = nightSessionNapi->nightSession_->SetExposure(exposureValue); in SetExposure()
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/
H A Dnight_session.h63 int32_t SetExposure(uint32_t exposureValue);
70 int32_t GetExposure(uint32_t &exposureValue);
H A Dcapture_session.h1917 int32_t CalculateExposureValue(float exposureValue);
/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/
H A Ddcamera_client_demo.cpp244 float exposureValue = 0; in ConfigFocusFlashAndExposure() local
253 exposureValue = biasRange[0]; in ConfigFocusFlashAndExposure()
262 g_captureSession->SetExposureBias(exposureValue); in ConfigFocusFlashAndExposure()
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/
H A Dmain.cpp240 float exposureValue = 0; in ConfigFocusAndExposure() local
249 exposureValue = biasRange[0]; in ConfigFocusAndExposure()
253 g_captureSession->SetExposureBias(exposureValue); in ConfigFocusAndExposure()
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dcapture_session_impl.h120 Camera_ErrorCode GetExposureValue(float* exposureValue);
H A Dcapture_session_impl.cpp687 Camera_ErrorCode Camera_CaptureSession::GetExposureValue(float* exposureValue) in GetExposureValue() argument
691 int32_t ret = innerCaptureSession_->GetExposureValue(*exposureValue); in GetExposureValue()
/foundation/multimedia/camera_framework/frameworks/native/ndk/
H A Dcapture_session.cpp564 Camera_ErrorCode OH_CaptureSession_GetExposureValue(Camera_CaptureSession* session, float* exposureValue) in OH_CaptureSession_GetExposureValue() argument
569 CHECK_AND_RETURN_RET_LOG(exposureValue != nullptr, CAMERA_INVALID_ARGUMENT, in OH_CaptureSession_GetExposureValue()
570 "Invaild argument, exposureValue is null!"); in OH_CaptureSession_GetExposureValue()
572 return session->GetExposureValue(exposureValue); in OH_CaptureSession_GetExposureValue()
/foundation/multimedia/camera_framework/interfaces/kits/native/include/camera/
H A Dcapture_session.h784 * @param exposureValue the current exposure value.
790 Camera_ErrorCode OH_CaptureSession_GetExposureValue(Camera_CaptureSession* session, float* exposureValue);
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp4705 float exposureValue = camSession->GetExposureValue(); in HWTEST_F() local
4706 EXPECT_EQ(exposureValue, 0); in HWTEST_F()
4708 int32_t exposureValueGet = camSession->GetExposureValue(exposureValue); in HWTEST_F()
4711 int32_t setExposureBias = camSession->SetExposureBias(exposureValue); in HWTEST_F()
4738 setExposureBias = camSession->SetExposureBias(exposureValue); in HWTEST_F()
4741 exposureValueGet = camSession->GetExposureValue(exposureValue); in HWTEST_F()
4755 exposureValue = camSession->GetExposureValue(); in HWTEST_F()
4756 EXPECT_EQ(exposureValue, 0); in HWTEST_F()
4758 exposureValueGet = camSession->GetExposureValue(exposureValue); in HWTEST_F()
4763 setExposureBias = camSession->SetExposureBias(exposureValue); in HWTEST_F()
6858 float exposureValue = camSession->GetExposureValue(); HWTEST_F() local
7651 float exposureValue; HWTEST_F() local
7990 uint32_t exposureValue = 0; HWTEST_F() local
8012 uint32_t exposureValue = 0; HWTEST_F() local
[all...]
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_framework_unittest.cpp3024 float exposureValue = session->GetExposureValue(); in HWTEST_F() local
3025 EXPECT_EQ(exposureValue, 0); in HWTEST_F()
3026 int32_t exposureValueGet = session->GetExposureValue(exposureValue); in HWTEST_F()
3648 float exposureValue = session->GetExposureValue(); in HWTEST_F() local
3649 int32_t exposureValueGet = session->GetExposureValue(exposureValue); in HWTEST_F()
3652 int32_t setExposureBias = session->SetExposureBias(exposureValue); in HWTEST_F()
6994 uint32_t exposureValue = 0; in HWTEST_F() local
6996 EXPECT_EQ(nightSession->GetExposure(exposureValue), CameraErrorCode::INVALID_ARGUMENT); in HWTEST_F()
H A Dcamera_ndk_unittest.cpp4086 float exposureValue = 0.0f; in HWTEST_F() local
4106 ret = OH_CaptureSession_GetExposureValue(captureSession, &exposureValue); in HWTEST_F()
4108 ret = OH_CaptureSession_GetExposureValue(nullptr, &exposureValue); in HWTEST_F()
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/
H A Dcamera_session_napi.cpp1981 float exposureValue; in GetExposureValue() local
1982 int32_t retCode = cameraSessionNapi->cameraSession_->GetExposureValue(exposureValue); in GetExposureValue()
1986 napi_create_double(env, CameraNapiUtils::FloatToDouble(exposureValue), &result); in GetExposureValue()
2009 double exposureValue; in SetExposureBias() local
2010 napi_get_value_double(env, argv[PARAM0], &exposureValue); in SetExposureBias()
2012 int32_t retCode = cameraSessionNapi->cameraSession_->SetExposureBias((float)exposureValue); in SetExposureBias()

Completed in 52 milliseconds