@class PTGlobalCinematographyMetadata, PTCinematographyTrackAllocator, NSArray, PTCinematographyFocusFramesOptions, NSMutableDictionary, PTCinematographyTrack, NSMutableArray, NSObject, PTCinematographyFocusPuller, AVAsset; @protocol OS_dispatch_queue, PTCinematographyScriptChanges; @interface PTCinematographyScript : NSObject { BOOL _framesAreMutable; BOOL _baseDecisionsAreMutable; NSObject *_serialQueue; float _userAperture; } @property (retain, nonatomic) AVAsset *asset; @property (retain, nonatomic) PTGlobalCinematographyMetadata *globals; @property (retain, nonatomic) NSArray *frames; @property (retain, nonatomic) PTCinematographyFocusFramesOptions *focusFramesOptions; @property (retain, nonatomic) NSArray *baseDecisions; @property (retain, nonatomic) NSMutableArray *userDecisions; @property (retain, nonatomic) NSMutableArray *effectiveDecisions; @property (retain, nonatomic) NSArray *trackDecisions; @property (retain, nonatomic) NSMutableArray *mutableTracks; @property (retain, nonatomic) NSMutableDictionary *trackForNumber; @property (retain, nonatomic) PTCinematographyTrack *zeroDisparityTrack; @property (retain, nonatomic) PTCinematographyTrackAllocator *trackAllocator; @property (retain, nonatomic) NSMutableArray *mutableGroupTracks; @property (retain, nonatomic) NSMutableDictionary *trackForGroupNumber; @property (retain, nonatomic) NSMutableDictionary *trackNumberForFocusIdentifier; @property (retain, nonatomic) PTCinematographyTrackAllocator *trackAllocatorForFocusIdentifier; @property (nonatomic) BOOL didInternalizeTracks; @property (retain, nonatomic) PTCinematographyFocusPuller *focusPuller; @property (nonatomic) float loadedUserAperture; @property (nonatomic) long long loadedTrackAllocatorState; @property (readonly, nonatomic) struct { struct { long long value; int timescale; unsigned int flags; long long epoch; } start; struct { long long value; int timescale; unsigned int flags; long long epoch; } duration; } timeRange; @property (nonatomic) float userAperture; @property (readonly, nonatomic) NSArray *tracks; @property (weak, nonatomic) id changesDelegate; + (struct { long long x0; int x1; unsigned int x2; long long x3; })defaultMinimumUserFocusDuration; - (id)init; - (void).cxx_destruct; - (BOOL)removeTrack:(id)a0; - (void)addFrame:(id)a0; - (id)changesDictionaryTrimmedByTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (id)frameNearestTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a0; - (id)loadWithAsset:(id)a0 changesDictionary:(id)a1 completion:(id /* block */)a2; - (BOOL)addTrack:(id)a0; - (id)changesDictionary; - (id)decisionsInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (BOOL)focusOnGroupIdentifier:(long long)a0 atTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1 strong:(BOOL)a2; - (BOOL)focusOnTrack:(id)a0 atTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1 strong:(BOOL)a2; - (BOOL)focusOnTrackIdentifier:(long long)a0 atTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1 strong:(BOOL)a2; - (id)framesInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (id)primaryDecisionAtTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a0; - (void)reloadWithChangesDictionary:(id)a0; - (BOOL)removeAllUserDecisions; - (BOOL)removeUserDecision:(id)a0; - (id)trackForIdentifier:(long long)a0; - (id)userDecisionsInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (void)_addGroupTrack:(id)a0; - (void)_addDecisions:(id)a0 toTrackDecisions:(id)a1; - (void)_addDecision:(id)a0 toTrackDecisions:(id)a1; - (void)_addDetectionsFromCustomTrack:(id)a0; - (void)_addDetectionsFromFixedFocusTrack:(id)a0; - (void)_addGroupDecision:(id)a0 toTrackDecisions:(id)a1 nextDecision:(id)a2; - (void)_addTrack:(id)a0 identifier:(long long)a1; - (void)_addZeroDisparityTrack; - (id)_bestDetectionForGroupIdentifier:(long long)a0 time:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1; - (id)_calculateTrackDecisions; - (id)_detectionWithGroupIdentifier:(long long)a0 atOrBeforeTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1; - (id)_detectionWithTrackIdentifier:(long long)a0 atOrBeforeTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1; - (id)_effectiveDecisionsFromBaseDecisionsRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 userDecisionsRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 endTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a2; - (id)_effectiveDecisionsFromZippedDecisions:(id)a0 endTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1; - (id)_existingGroupTrackForGroupIdentifier:(long long)a0; - (void)_internalizeBaseDecisionsFromFrames:(id)a0; - (void)_internalizeDetectionsFromTrack:(id)a0; - (void)_internalizeFocusPullerFromFrames:(id)a0; - (id)_internalizeGroupTrackForDetection:(id)a0; - (void)_internalizeLoadedFrames:(id)a0 changesDictionary:(id)a1 reloading:(BOOL)a2; - (id)_internalizeTrackForDetection:(id)a0; - (id)_internalizeTrackNumberForFocusIdentifier:(id)a0; - (id)_internalizeTrackWithGroupNumberFromDetection:(id)a0; - (id)_internalizeTrackWithNumberFromDetection:(id)a0; - (void)_internalizeTracksFromChangesDictionary:(id)a0; - (void)_internalizeTracksFromFrames:(id)a0; - (void)_internalizeUserApertureFromChangesDictionary:(id)a0; - (void)_internalizeUserDecisionsFromChangesDictionary:(id)a0; - (void)_internalizeUserDecisionsFromFrames:(id)a0; - (void)_invalidateTrackDecisions; - (BOOL)_isEditCreatedTrack:(id)a0; - (id)_latestDetectionOfGroupIdentifier:(long long)a0 atOrBeforeFrameIndex:(unsigned long long)a1 timeLimit:(struct { long long x0; int x1; unsigned int x2; long long x3; })a2; - (id)_latestDetectionOfTrackIdentifier:(long long)a0 atOrBeforeFrameIndex:(unsigned long long)a1 timeLimit:(struct { long long x0; int x1; unsigned int x2; long long x3; })a2; - (BOOL)_loadWithAsset:(id)a0 changesDictionary:(id)a1 error:(id *)a2; - (void)_notifyDelegateOfChangesToDecisionsInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (void)_notifyDelegateOfChangesToFramesInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (void)_reloadTrackAllocator; - (void)_removeAllUserTracksForReloading; - (void)_removeDetectionsWithTrackIdentifier:(long long)a0; - (void)_removeTrack:(id)a0; - (BOOL)_removeUserDecision:(id)a0; - (BOOL)_resolveIfGroupDecision:(id)a0; - (BOOL)_shouldAddTrackDecision:(id)a0 afterDecision:(id)a1; - (struct { long long x0; int x1; unsigned int x2; long long x3; })_startTimeOfFixedTransitionToDecision:(id)a0; - (struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })_timeRangeOfTransitionfromDecision:(id)a0 toDecision:(id)a1; - (struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })_timeRangeOfTransitionfromDecision:(id)a0 toDecision:(id)a1 didShortenTransition:(BOOL *)a2; - (long long)_trackAllocatorState; - (id)_trackDecisionsInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (void)_updateDecisionsAndFramesInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (void)_updateEffectiveDecisionsInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (void)_updateFramesForDecision:(id)a0 upToTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1; - (void)_updateFramesForDecisions:(id)a0 indexRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)_updateFramesForDecisions:(id)a0 timeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a1; - (void)_updateFramesForFinalDecision:(id)a0; - (void)_updateFramesForTransitionFromDecision:(id)a0 toDecision:(id)a1; - (void)_updateFramesForTransitionFromDecision:(id)a0 toDecision:(id)a1 timeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a2; - (void)_updateFramesFromDecision:(id)a0 toDecision:(id)a1; - (void)_updateFramesInIndexRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 forTransition:(id)a1 fromDetection:(id)a2 toDetection:(id)a3; - (void)_updateFramesInIndexRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 forTransition:(id)a1 fromDetection:(id)a2 toDetection:(id)a3 overTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a4; - (void)_updateFramesInIndexRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 toFocusOnDetection:(id)a1; - (void)_updateFramesInIndexRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 toFocusOnTrackIdentifier:(long long)a1; - (void)_updateFramesInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0 forTransition:(id)a1 fromDetection:(id)a2 toDetection:(id)a3; - (void)_updateFramesInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0 toFocusOnTrackIdentifier:(unsigned long long)a1; - (BOOL)_useFixedTransition; - (id)_userCreatedTracks; - (id)_userDecisionDictionaries; - (id)_userDecisionDictionariesTrimmedByTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (id)_userDecisionToFocusOnDetection:(id)a0 time:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1 strong:(BOOL)a2 group:(BOOL)a3; - (id)_userTrackDictionaries; - (id)_userTrackDictionariesTrimmedByTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (id)_zipBaseDecisionsRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 userDecisionsRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)addBaseDecision:(id)a0; - (BOOL)addUserDecision:(id)a0; - (id)baseDecisionsInTimeRange:(struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })a0; - (id)decisionAfterTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a0; - (id)decisionAtOrBeforeTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a0; - (id)decisionBeforeTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a0; - (id)decisionNearestTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a0; - (BOOL)focusOnDetection:(id)a0 strong:(BOOL)a1; - (id)frameAtTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a0 tolerance:(struct { long long x0; int x1; unsigned int x2; long long x3; })a1; - (id)secondaryDecisionAtTime:(struct { long long x0; int x1; unsigned int x2; long long x3; })a0; - (void)setBaseDecisionsAreMutable:(BOOL)a0; - (void)setFramesAreMutable:(BOOL)a0; - (struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })timeRangeOfTransitionAfterDecision:(id)a0; - (struct { struct { long long x0; int x1; unsigned int x2; long long x3; } x0; struct { long long x0; int x1; unsigned int x2; long long x3; } x1; })timeRangeOfTransitionBeforeDecision:(id)a0; - (id)trackForDecision:(id)a0; - (id)trackForGroupIdentifier:(long long)a0; @end