简体   繁体   English

OpenVX对象节点中的API vxReleaseNode和vxRemoveNode有什么区别?

[英]What is the difference between API vxReleaseNode and vxRemoveNode in OpenVX object node?

I am trying to understand the Open-vx object node for one of my requirement.I have gone through the specification but not able to understand the exact difference between an API vxRemoveNode() and vxReleaseNode(). 我正在尝试了解Open-vx对象节点以满足我的要求之一。 Spec says vxReleaseNode : 规范说vxReleaseNode:

"Releases a reference to a Node object. The object may not be garbage collected until its total reference count is zero."

I don't get the second point in the above statement. 我在上面的陈述中没有第二点。

Regrading the vxRemoveNode as per my understanding it completely removes the node from the graph. 根据我的理解,对vxRemoveNode进行重分级会完全从图中删除该节点。

In the post condition after calling both the APIs,In the specs they mentioned: 在调用这两个API后,在发布条件中,他们提到了规范:

"After returning from this function the reference is zeroed"

Please help me to understand the exact difference between these APIs. 请帮助我了解这些API之间的确切区别。

Never used OpenVX. 从未使用过OpenVX。 This is what I understand from the documentation: 这是我从文档中了解的内容:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM