#[repr(C)]pub struct VTPixelTransferSession { /* private fields */ }VTPixelTransferSession only.Expand description
A reference to a Video Toolbox Pixel Transfer Session.
A pixel transfer session supports the copying and/or conversion of images from source CVPixelBuffers to destination CVPixelBuffers. The session reference is a reference-counted CF object. To create a pixel transfer session, call VTPixelTransferSessionCreate; then you can optionally configure the session using VTSessionSetProperty; then to transfer pixels, call VTPixelTransferSessionTransferImage. When you are done with the session, you should call VTPixelTransferSessionInvalidate to tear it down and CFRelease to release your object reference.
See also Apple’s documentation
Methods from Deref<Target = CFType>§
Sourcepub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
Available on crate feature VTSession only.
pub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
VTSession only.Attempt to downcast the type to that of type T.
This is the reference-variant. Use CFRetained::downcast if you
want to convert a retained type. See also ConcreteType for more
details on which types support being converted to.