Home
last modified time | relevance | path

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

/ohos5.0/drivers/hdf_core/framework/model/camera/parser/src/
H A Dcamera_config_parser.c150 ret = drsOps->GetString(node, "name", &lensConfig->name, NULL); in ParseCameraLensDeviceConfig()
152 ret = drsOps->GetUint8(node, "id", &lensConfig->id, 0); in ParseCameraLensDeviceConfig()
154 ret = drsOps->GetUint8(node, "aperture", &lensConfig->aperture, 0); in ParseCameraLensDeviceConfig()
156 lensConfig->ctrlValueNum = drsOps->GetElemNum(node, "ctrlValue"); in ParseCameraLensDeviceConfig()
157 if (lensConfig->ctrlValueNum > CTRL_VALUE_MAX_NUM) { in ParseCameraLensDeviceConfig()
161 …ret = drsOps->GetUint32Array(node, "ctrlValue", lensConfig->ctrlValue, lensConfig->ctrlValueNum, 0… in ParseCameraLensDeviceConfig()
163 SetCtrlCapInfo(lensConfig->ctrlCap, lensConfig->ctrlValueNum, lensConfig->ctrlValue); in ParseCameraLensDeviceConfig()
166 lensConfig->name, lensConfig->id, lensConfig->aperture); in ParseCameraLensDeviceConfig()
322 ret = drsOps->GetUint8(node, "mode", &lensConfig->mode, 0); in ParseCameraLensConfig()
325 if (lensConfig->mode == DEVICE_NOT_SUPPORT) { in ParseCameraLensConfig()
[all …]