Home
last modified time | relevance | path

Searched refs:zoomRatioRange (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/camera/test/ut/v4l2/
H A Dcamera_ability_test.cpp87 std::vector<float> zoomRatioRange; in GetZoomRatioRange() local
98 zoomRatioRange.push_back(*(entry.data.f + i)); in GetZoomRatioRange()
101 for (auto it = zoomRatioRange.begin(); it != zoomRatioRange.end(); it++) { in GetZoomRatioRange()
102 CAMERA_LOGI("zoomRatioRange = %{public}f", *it); in GetZoomRatioRange()
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/
H A Dhcs_deal.cpp851 std::vector<float> zoomRatioRange; in DealZoomRationRange() local
853 int32_t elemNum = pDevResIns->GetElemNum(&metadataNode, "zoomRatioRange"); in DealZoomRationRange()
858 CAMERA_LOGE("zoomRatioRange hcs file configuration error"); in DealZoomRationRange()
863 hcbRet = pDevResIns->GetStringArrayElem(&metadataNode, "zoomRatioRange", i, &nodeValue, nullptr); in DealZoomRationRange()
865 CAMERA_LOGE("get zoomRatioRange failed"); in DealZoomRationRange()
869 zoomRatioRange.push_back((float)strtol(nodeValue, NULL, STRTOL_BASE)); in DealZoomRationRange()
873 if (zoomRatioRange[i + 1] < zoomRatioRange[i]) { in DealZoomRationRange()
874 CAMERA_LOGE("zoomRatioRange invalid argument"); in DealZoomRationRange()
881 bool ret = metadata->addEntry(OHOS_ABILITY_ZOOM_RATIO_RANGE, zoomRatioRange in DealZoomRationRange()
[all...]
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
H A Ddmetadata_processor.cpp207 float zoomRatioRange[1] = {1.0}; in InitDCameraDefaultAbilityKeys() local
208 AddAbilityEntry(OHOS_ABILITY_ZOOM_RATIO_RANGE, zoomRatioRange, in InitDCameraDefaultAbilityKeys()
209 (sizeof(zoomRatioRange) / sizeof(zoomRatioRange[0]))); in InitDCameraDefaultAbilityKeys()

Completed in 6 milliseconds