Lines Matching defs:iface
92 struct DeviceResourceIface *iface = DeviceResourceGetIfaceInstance(HDF_CONFIG_SOURCE);
93 CHECK_AND_RETURN_RET_LOG(iface != nullptr, HDF_ERR_INVALID_PARAM, "iface is nullptr");
95 codecGroupNode = iface->GetChildNode(&node_, nodeName.c_str());
102 if (GetOneCapability(*iface, *childNode, cap) != HDF_SUCCESS) {
111 int32_t CodecImageConfig::GetOneCapability(const struct DeviceResourceIface &iface,
115 auto ret = iface.GetString(&childNode, CODEC_CONFIG_KEY_NAME, &name, "");
120 if (iface.GetUint32(&childNode, CODEC_CONFIG_KEY_ROLE, reinterpret_cast<uint32_t *>(&cap.role),
127 if (iface.GetUint32(&childNode, CODEC_CONFIG_KEY_TYPE, reinterpret_cast<uint32_t *>(&cap.type),
135 cap.isSoftwareCodec = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SOFTWARE_CODEC);
149 auto err = iface.GetUint32(&childNode, nodeAttrs[i].attrName.c_str(),
157 ret = GetUintTableConfig(iface, childNode, attr);
164 int32_t CodecImageConfig::GetUintTableConfig(const struct DeviceResourceIface &iface,
169 int32_t count = iface.GetElemNum(&node, attr.attrName.c_str());
175 iface.GetUint32Array(&node, attr.attrName.c_str(), reinterpret_cast<uint32_t *>(array.get()), count, 0);