Home
last modified time | relevance | path

Searched refs:physicalApertures (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dcamera_napi_utils.cpp377 …Utils::ProcessingPhysicalApertures(napi_env env, std::vector<std::vector<float>> physicalApertures) in ProcessingPhysicalApertures() argument
384 for (size_t i = 0; i < physicalApertures.size(); i++) { in ProcessingPhysicalApertures()
385 if (physicalApertures[i].size() <= zoomRangeSize) { in ProcessingPhysicalApertures()
392 for (size_t y = 0; y < physicalApertures[i].size(); y++) { in ProcessingPhysicalApertures()
394 … napi_create_double(env, CameraNapiUtils::FloatToDouble(physicalApertures[i][y]), &value); in ProcessingPhysicalApertures()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ability/
H A Dcamera_ability_napi.cpp563 std::vector<std::vector<float>> physicalApertures = in GetSupportedPhysicalApertures() local
565 MEDIA_INFO_LOG("GetSupportedPhysicalApertures len = %{public}zu", physicalApertures.size()); in GetSupportedPhysicalApertures()
566 if (!physicalApertures.empty()) { in GetSupportedPhysicalApertures()
567 result = CameraNapiUtils::ProcessingPhysicalApertures(env, physicalApertures); in GetSupportedPhysicalApertures()
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/
H A Dcamera_napi_utils.h191 …value ProcessingPhysicalApertures(napi_env env, std::vector<std::vector<float>> physicalApertures);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_framework_unittest.cpp6909 std::vector<std::vector<float>> physicalApertures; variable
6910 portraitSession->GetSupportedPhysicalApertures(physicalApertures);
6911 EXPECT_EQ(physicalApertures, supportedPhysicalApertures);
6972 std::vector<std::vector<float>> physicalApertures; variable
6973 portraitSession->GetSupportedPhysicalApertures(physicalApertures);
6974 EXPECT_EQ(physicalApertures, supportedPhysicalApertures);
7037 std::vector<std::vector<float>> physicalApertures; variable
7038 portraitSession->GetSupportedPhysicalApertures(physicalApertures);
7039 EXPECT_EQ(physicalApertures, supportedPhysicalApertures);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dcapture_session.cpp5757 std::vector<std::vector<float>> physicalApertures; in SetPhysicalAperture() local
5758 GetSupportedPhysicalApertures(physicalApertures); in SetPhysicalAperture()
5760 CHECK_ERROR_RETURN_RET_LOG(physicalApertures.size() == 1, CameraErrorCode::SUCCESS, in SetPhysicalAperture()
5765 auto it = std::find_if(physicalApertures.rbegin(), physicalApertures.rend(), in SetPhysicalAperture()
5770 CHECK_ERROR_RETURN_RET_LOG(it == physicalApertures.rend(), CameraErrorCode::SUCCESS, in SetPhysicalAperture()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/
H A Dcamera_session_napi.cpp4227 std::vector<std::vector<float>> physicalApertures = {}; in GetSupportedPhysicalApertures() local
4228 …32_t retCode = cameraSessionNapi->cameraSession_->GetSupportedPhysicalApertures(physicalApertures); in GetSupportedPhysicalApertures()
4229 MEDIA_INFO_LOG("GetSupportedPhysicalApertures len = %{public}zu", physicalApertures.size()); in GetSupportedPhysicalApertures()
4233 if (!physicalApertures.empty()) { in GetSupportedPhysicalApertures()
4234 result = CameraNapiUtils::ProcessingPhysicalApertures(env, physicalApertures); in GetSupportedPhysicalApertures()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-camera-kit/
H A Djs-apis-camera-sys.md3316 let physicalApertures: Array<camera.PhysicalAperture> = session.getSupportedPhysicalApertures();
3317 return physicalApertures;
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A Djs-apis-camera-sys.md3323 let physicalApertures: Array<camera.PhysicalAperture> = session.getSupportedPhysicalApertures();
3324 return physicalApertures;