Function v Image CVImage Format _Set User Data(_: _: _:)
Sets the user data of a Core Video image format.
iOS 8.0+ macOS 10.10+ Mac Catalyst 13.0+ Beta tvOS 9.0+ watchOS 2.0+ Parameters
The Core Video image format to update.
The new user data for the format.
The callback that's called when the
structure is destroyed, or when the v Image CVImage Format
pointer is replaced with another one.
user Data Discussion
instance may be safely read from multiple threads concurrently. However, it makes no attempt to keep its internal state coherent when multiple threads write to it, or when one thread writes to it while one or more threads are reading from it at the same time. You can handle this condition trivially by keeping information about the v Image CVImage Format
instance limited to a single thread while the format is being created and configured, and then treating it as immutable thereafter. If necessary, you can also use a read-write lock to limit reentrant access.
v Image CVImage Format See Also Querying and Setting User Data
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software