Expand description
Core Media types and wrappers
This module provides Rust wrappers for Core Media framework types used in screen capture operations.
§Main Types
CMSampleBuffer- Container for media samples (audio/video frames)CMTime- Time value with rational timescaleCVPixelBuffer- Video pixel bufferIOSurface- Hardware-accelerated surfaceAudioBuffer- Audio data bufferAudioBufferList- Collection of audio buffersSCFrameStatus- Status of a captured frame
Modules§
- codec_
types - Common codec type constants
- ffi
- media_
types - Common media type constants
Structs§
- Audio
Buffer - Audio
Buffer List - Audio
Buffer List Iter - Audio
Buffer List Raw - List of audio buffers from an audio sample
- Audio
Buffer Ref - Reference to an audio buffer with convenience methods
- CMBlock
Buffer - CMFormat
Description - CMSample
Buffer - Opaque handle to
CMSampleBuffer - CMSample
Timing Info - Sample timing information
- CMTime
CMTimerepresentation matching Core Media’sCMTime- CVPixel
Buffer - CVPixel
Buffer Lock Guard - RAII guard for locked
CVPixelBufferbase address - CVPixel
Buffer Pool - Opaque handle to
CVPixelBufferPool - IOSurface
Enums§
- SCFrame
Status - Frame status for captured screen content