Crate objc2_cinematic

Crate objc2_cinematic 

Source
Expand description

§Bindings to the Cinematic framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

CNAssetInfoCNAssetInfo
Information associated with an AVAsset for a cinematic video.
CNAssetSpatialAudioInfoCNSpatialAudio
A helper class to inspect recordings made when Spatial Audio setting is turned on. An instance of this class contains the default audio track with Spatial Audio, metadata read from the file that can be applied during to enhance the playback experience. This class also provides tunable parameters to change the intensity & mode of the playback experience.
CNBoundsPredictionCNObjectTracker
Apple’s documentation
CNCinematicErrorCodeCNCinematicError
Apple’s documentation
CNCompositionInfoCNAssetInfo
Information about composition tracks added to an AVComposition for a cinematic asset.
CNCustomDetectionTrackCNDetectionTrack
A discrete detection track composed of individual detections.
CNDecisionCNDecision
Represents a decision to focus on a specific detectionID or detectionGroupID; optionally strong.
CNDetectionCNDetection
A cinematic detection of a subject.
CNDetectionTrackCNDetectionTrack
Abstract class representing a series of detections of the same subject over time.
CNDetectionTypeCNDetection
The type of object that was detected.
CNFixedDetectionTrackCNDetectionTrack
A continuous detection track representing focus at a fixed disparity.
CNObjectTrackerCNObjectTracker
Converts a normalized point or rectangle into a detection track that tracks an object over time.
CNRenderingQualityCNRenderingSession
Apple’s documentation
CNRenderingSessionCNRenderingSession
Apple’s documentation
CNRenderingSessionAttributesCNRenderingSession
Movie-wide information required by the rendering session.
CNRenderingSessionFrameAttributesCNRenderingSession
Frame-specific information required to render a frame in a rendering session.
CNScriptCNScript
Database of focus decisions with methods to change them. Knows what has been detected in each frame and which detection is being focused on. All operations are executed in a thread-safe manner, but that also means that a long-running update can stall a lookup. Best practice is to lookup what you need up front (outside your critical code) and pass the immutable results to where it’s needed. That way, you’re not blocked when you access the information, say inside the rendering portion of your code.
CNScriptChangesCNScript
Represents a snapshot of changes made to the cinematic script since recording. Can be used as a snapshot to quickly revert to previously saved edits via -[CNScript reloadWithChanges:]
CNScriptFrameCNScript
Represents focus & detection information at a particular time.
CNSpatialAudioContentTypeCNSpatialAudio
Enum used to generate settings dictionary for export using AssetReader and AssetWriter with Spatial Audio effects burned in
CNSpatialAudioRenderingStyleCNSpatialAudio
Standard rendering styles for Audio Mix type effects

Statics§

CNCinematicErrorDomainCNCinematicError
Apple’s documentation

Traits§

AVMutableCompositionCNCompositionCNAssetInfo
Category “CNComposition” on AVMutableComposition.

Type Aliases§

CNDetectionGroupIDCNDetection
Apple’s documentation
CNDetectionIDCNDetection
Apple’s documentation