Home
last modified time | relevance | path

Searched refs:exposureValue (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/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) == exposureRang… in SetExposure()
73 …CHECK_ERROR_RETURN_RET_LOG(result && exposureValue != autoLongExposure, CameraErrorCode::OPERATION… 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()
H A Dcapture_session.cpp1819 int32_t CaptureSession::SetExposureBias(float exposureValue) in SetExposureBias() argument
1849 if (exposureValue < biasRange[minIndex]) { in SetExposureBias()
1852 exposureValue = biasRange[minIndex]; in SetExposureBias()
1853 } else if (exposureValue > biasRange[maxIndex]) { in SetExposureBias()
1856 exposureValue = biasRange[maxIndex]; in SetExposureBias()
1868 [weakThis, exposureValue]() { in SetExposureBias()
1885 float exposureValue; in GetExposureValue() local
1886 GetExposureValue(exposureValue); in GetExposureValue()
1887 return exposureValue; in GetExposureValue()
1892 exposureValue = 0; in GetExposureValue()
[all …]
/ohos5.0/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()
/ohos5.0/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.h1984 int32_t CalculateExposureValue(float exposureValue);
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/
H A Dcapture_session.cpp615 …_ErrorCode OH_CaptureSession_GetExposureValue(Camera_CaptureSession* session, float* exposureValue) in OH_CaptureSession_GetExposureValue() argument
620 CHECK_AND_RETURN_RET_LOG(exposureValue != nullptr, CAMERA_INVALID_ARGUMENT, in OH_CaptureSession_GetExposureValue()
623 return session->GetExposureValue(exposureValue); in OH_CaptureSession_GetExposureValue()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dcapture_session_impl.h122 Camera_ErrorCode GetExposureValue(float* exposureValue);
H A Dcapture_session_impl.cpp691 Camera_ErrorCode Camera_CaptureSession::GetExposureValue(float* exposureValue) in GetExposureValue() argument
695 int32_t ret = innerCaptureSession_->GetExposureValue(*exposureValue); in GetExposureValue()
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/native/include/camera/
H A Dcapture_session.h790 …ErrorCode OH_CaptureSession_GetExposureValue(Camera_CaptureSession* session, float* exposureValue);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp4622 float exposureValue = camSession->GetExposureValue(); variable
4623 EXPECT_EQ(exposureValue, 0);
4672 exposureValue = camSession->GetExposureValue();
4673 EXPECT_EQ(exposureValue, 0);
6765 float exposureValue = camSession->GetExposureValue(); variable
6766 EXPECT_EQ(exposureValue, 0);
6768 intResult = camSession->GetExposureValue(exposureValue);
6773 intResult = camSession->SetExposureBias(exposureValue);
7556 float exposureValue; variable
7898 uint32_t exposureValue = 0; variable
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-camera-kit/
H A Dcapture__session_8h.md96 …ptureSession](_o_h___camera.md#camera_capturesession) \*session, float \*exposureValue) | 查询曝光值。 |
H A D_o_h___camera.md279 …lue) ([Camera_CaptureSession](#camera_capturesession) \*session, float \*exposureValue) | 查询曝光值。 |
3631 …_ErrorCode OH_CaptureSession_GetExposureValue(Camera_CaptureSession* session, float* exposureValue)
3645 | exposureValue | 当前的曝光值。 |
H A Djs-apis-camera.md5245 let exposureValue: number = invalidValue;
5247 exposureValue = photoSession.getExposureValue();
5253 return exposureValue;
6993 let exposureValue: number = invalidValue;
6995 exposureValue = captureSession.getExposureValue();
7001 return exposureValue;
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/
H A Dcamera_session_napi.cpp1989 float exposureValue; in GetExposureValue() local
1990 int32_t retCode = cameraSessionNapi->cameraSession_->GetExposureValue(exposureValue); in GetExposureValue()
1994 napi_create_double(env, CameraNapiUtils::FloatToDouble(exposureValue), &result); in GetExposureValue()
2017 double exposureValue; in SetExposureBias() local
2018 napi_get_value_double(env, argv[PARAM0], &exposureValue); in SetExposureBias()
2020 int32_t retCode = cameraSessionNapi->cameraSession_->SetExposureBias((float)exposureValue); in SetExposureBias()
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A Dcapture__session_8h.md96 …reSession](_o_h___camera.md#camera_capturesession) \*session, float \*exposureValue) | Obtains the…
H A Djs-apis-camera.md5255 let exposureValue: number = invalidValue;
5257 exposureValue = photoSession.getExposureValue();
5263 return exposureValue;
7032 let exposureValue: number = invalidValue;
7034 exposureValue = captureSession.getExposureValue();
7040 return exposureValue;
H A D_o_h___camera.md276 …) ([Camera_CaptureSession](#camera_capturesession) \*session, float \*exposureValue) | Obtains the…
3599 …_ErrorCode OH_CaptureSession_GetExposureValue(Camera_CaptureSession* session, float* exposureValue)
3613 | exposureValue | Pointer to the exposure value.|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta5/
H A Dchangelogs-camera-sync.md363 let exposureValue = captureSession.getExposureValue();
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/
H A Dchangelogs-camera-sync.md365 let exposureValue = captureSession.getExposureValue();
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_framework_unittest.cpp3062 float exposureValue = session->GetExposureValue(); variable
3063 EXPECT_EQ(exposureValue, 0);
3064 int32_t exposureValueGet = session->GetExposureValue(exposureValue);
3737 float exposureValue = session->GetExposureValue(); variable
3738 int32_t exposureValueGet = session->GetExposureValue(exposureValue);
3741 int32_t setExposureBias = session->SetExposureBias(exposureValue);
7089 uint32_t exposureValue = 0; variable
7091 EXPECT_EQ(nightSession->GetExposure(exposureValue), CameraErrorCode::INVALID_ARGUMENT);
H A Dcamera_ndk_unittest.cpp4023 float exposureValue = 0.0f; variable
4043 ret = OH_CaptureSession_GetExposureValue(captureSession, &exposureValue);
4045 ret = OH_CaptureSession_GetExposureValue(nullptr, &exposureValue);
/ohos5.0/docs/en/release-notes/changelogs/v3.2-beta5/
H A Dchangelogs-camera-sync.md363 let exposureValue = captureSession.getExposureValue();
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.10.3/
H A Dchangelogs-camera-sync.md365 let exposureValue = captureSession.getExposureValue();