apple-cf 0.4.0

Safe Rust bindings for Apple's shared Core* frameworks (CoreGraphics, IOSurface, Dispatch). The foundation underneath the doom-fish macOS crates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Core Video types and wrappers.
//!
//! Provides safe Rust wrappers for `CVPixelBuffer` and `CVPixelBufferPool`,
//! the `CoreVideo` primitives that pair an `IOSurface` with format metadata
//! (pixel format, dimensions, planes). Required for any pipeline that
//! talks to `VideoToolbox` decoders, Vision, or `AVFoundation` capture.

mod pixel_buffer;

pub use pixel_buffer::{
    CVPixelBuffer, CVPixelBufferLockFlags, CVPixelBufferLockGuard, CVPixelBufferPool,
    PixelBufferCursorExt,
};