apple-cf 0.6.1

Safe Rust bindings for Apple's shared Core* frameworks (CoreFoundation, CoreMedia, CoreVideo, CoreGraphics, IOSurface, Dispatch).
Documentation
//! `CoreMedia` primitives — `CMTime`, `CMSampleBuffer`, `CMBlockBuffer`,
//! `CMFormatDescription`, audio buffer list bridging.
//!
//! These are the framework-agnostic value types and reference-counted
//! wrappers shared by every Apple media framework. `ScreenCaptureKit` /
//! `VideoToolbox` / `AVFoundation` / `AVAssetWriter` all speak `CMSampleBuffer`,
//! and this module is the single source of truth for the safe Rust wrapper.
//!
//! The image-buffer accessor (`CMSampleBuffer::image_buffer`) is gated
//! behind the `cv` feature so users who only need `CMSampleBuffer` for
//! audio / encoded video don't pay the `CoreVideo` dependency cost.
//! The `SCStreamFrameInfo` attachment readers stay in `screencapturekit-rs`
//! since they're tied to `ScreenCaptureKit`'s specific attachment keys.

pub mod audio;
pub mod block_buffer;
pub mod format_description;
pub mod sample_buffer;
pub mod time;
pub mod timebase;

pub use audio::{AudioBuffer, AudioBufferList, AudioBufferListRaw};
pub use block_buffer::CMBlockBuffer;
pub use format_description::{CMFormatDescription, CMMetadataFormatDescription};
pub use sample_buffer::CMSampleBuffer;
pub use time::{CMClock, CMSampleTimingInfo, CMTime, CMTimeRange};
pub use timebase::CMTimebase;