Searched refs:pNodeValue (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/ |
H A D | hcs_deal.cpp | 380 const char *pNodeValue = nullptr; in DealCameraFaceDetectMaxNum() local 383 int32_t rc = pDevResIns->GetString(&metadataNode, "faceDetectMaxNum", &pNodeValue, nullptr); in DealCameraFaceDetectMaxNum() 384 if (rc != 0 || (pNodeValue == nullptr)) { in DealCameraFaceDetectMaxNum() 389 faceDetectMaxNum = (uint8_t)strtol(pNodeValue, NULL, STRTOL_BASE); in DealCameraFaceDetectMaxNum() 498 const char *pNodeValue = nullptr; in DealFaceDetectMode() local 499 int32_t rc = pDevResIns->GetString(&metadataNode, "faceDetectMode", &pNodeValue, nullptr); in DealFaceDetectMode() 505 …data->addEntry(OHOS_STATISTICS_FACE_DETECT_MODE, &(FaceDetectModeMap[std::string(pNodeValue)]), 1); in DealFaceDetectMode() 542 const char *pNodeValue = nullptr; in DealFocalLength() local 545 int32_t rc = pDevResIns->GetString(&metadataNode, "focalLength", &pNodeValue, nullptr); in DealFocalLength() 546 if (rc != 0 || (pNodeValue == nullptr)) { in DealFocalLength() [all …]
|