Package apple.avfoundation.protocol
Interface AVVideoCompositionInstruction
-
- All Known Implementing Classes:
AVMutableVideoCompositionInstruction,AVVideoCompositionInstruction
public interface AVVideoCompositionInstruction[@protocol] AVVideoCompositionInstruction The AVVideoCompositionInstruction protocol is implemented by objects to represent operations to be performed by a compositor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontainsTweening()If YES, rendering a frame from the same source buffers and the same composition instruction at 2 different compositionTime may yield different output frames.booleanenablePostProcessing()If NO, indicates that post-processing should be skipped for the duration of this instruction.intpassthroughTrackID()kCMPersistentTrackID_Invalid if not a passthrough instructionNSArray<? extends NSValue>requiredSourceTrackIDs()List of video track IDs required to compose frames for this instruction.CMTimeRangetimeRange()Indicates the timeRange during which the instruction is effective.
-
-
-
Method Detail
-
containsTweening
boolean containsTweening()
If YES, rendering a frame from the same source buffers and the same composition instruction at 2 different compositionTime may yield different output frames. If NO, 2 such compositions would yield the same frame. The media pipeline may me able to avoid some duplicate processing when containsTweening is NO
-
enablePostProcessing
boolean enablePostProcessing()
If NO, indicates that post-processing should be skipped for the duration of this instruction. See +[AVVideoCompositionCoreAnimationTool videoCompositionToolWithPostProcessingAsVideoLayer:inLayer:].
-
passthroughTrackID
int passthroughTrackID()
kCMPersistentTrackID_Invalid if not a passthrough instruction
-
requiredSourceTrackIDs
NSArray<? extends NSValue> requiredSourceTrackIDs()
List of video track IDs required to compose frames for this instruction. If the value of this property is nil, all source tracks will be considered required for composition
-
timeRange
CMTimeRange timeRange()
Indicates the timeRange during which the instruction is effective. Note requirements for the timeRanges of instructions described in connection with AVVideoComposition's instructions key above.
-
-