public class AVMutableVideoCompositionLayerInstruction extends AVVideoCompositionLayerInstruction
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
AVMutableVideoCompositionLayerInstruction(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static AVMutableVideoCompositionLayerInstruction |
alloc() |
static AVMutableVideoCompositionLayerInstruction |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
AVMutableVideoCompositionLayerInstruction |
init() |
AVMutableVideoCompositionLayerInstruction |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static AVMutableVideoCompositionLayerInstruction |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setCropRectangleAtTime(CGRect cropRectangle,
CMTime time)
setCropRectangle:atTime:
|
void |
setCropRectangleRampFromStartCropRectangleToEndCropRectangleTimeRange(CGRect startCropRectangle,
CGRect endCropRectangle,
CMTimeRange timeRange)
setCropRectangleRampFromStartCropRectangle:toEndCropRectangle:timeRange:
|
void |
setOpacityAtTime(float opacity,
CMTime time)
setOpacity:atTime:
|
void |
setOpacityRampFromStartOpacityToEndOpacityTimeRange(float startOpacity,
float endOpacity,
CMTimeRange timeRange)
setOpacityRampFromStartOpacity:toEndOpacity:timeRange:
|
void |
setTrackID(int value)
Indicates the trackID of the source track to which the compositor will apply the instruction.
|
void |
setTransformAtTime(CGAffineTransform transform,
CMTime time)
setTransform:atTime:
|
void |
setTransformRampFromStartTransformToEndTransformTimeRange(CGAffineTransform startTransform,
CGAffineTransform endTransform,
CMTimeRange timeRange)
setTransformRampFromStartTransform:toEndTransform:timeRange:
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
int |
trackID()
Indicates the trackID of the source track to which the compositor will apply the instruction.
|
static long |
version_static() |
static AVMutableVideoCompositionLayerInstruction |
videoCompositionLayerInstruction()
videoCompositionLayerInstruction
|
static AVMutableVideoCompositionLayerInstruction |
videoCompositionLayerInstructionWithAssetTrack(AVAssetTrack track)
videoCompositionLayerInstructionWithAssetTrack:
|
copyWithZone, encodeWithCoder, getCropRectangleRampForTimeStartCropRectangleEndCropRectangleTimeRange, getOpacityRampForTimeStartOpacityEndOpacityTimeRange, getTransformRampForTimeStartTransformEndTransformTimeRange, mutableCopyWithZoneaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected AVMutableVideoCompositionLayerInstruction(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static AVMutableVideoCompositionLayerInstruction alloc()
public static AVMutableVideoCompositionLayerInstruction allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static AVMutableVideoCompositionLayerInstruction new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static long version_static()
public static AVMutableVideoCompositionLayerInstruction videoCompositionLayerInstruction()
Returns a new instance of AVMutableVideoCompositionLayerInstruction with no transform or opacity ramps and a trackID initialized to kCMPersistentTrackID_Invalid.
public static AVMutableVideoCompositionLayerInstruction videoCompositionLayerInstructionWithAssetTrack(AVAssetTrack track)
Returns a new instance of AVMutableVideoCompositionLayerInstruction with no transform or opacity ramps and a trackID set to the specified track's trackID.
track - A reference to an AVAssetTrack.public AVMutableVideoCompositionLayerInstruction init()
init in class AVVideoCompositionLayerInstructionpublic AVMutableVideoCompositionLayerInstruction initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class AVVideoCompositionLayerInstructionpublic void setCropRectangleAtTime(CGRect cropRectangle, CMTime time)
Sets a value of the crop rectangle at a time within the timeRange of the instruction.
The origin of the crop rectangle is the top-left corner of the buffer clean aperture rectangle. The crop rectangle is defined in square pixel space, i.e. without taking the pixel aspect ratio into account. Crop rectangles extending outside of the clean aperture, are cropped to the clean aperture.
Sets a fixed crop rectangle to apply from the specified time until the next time at which a crop rectangle is set; this is the same as setting a flat ramp for that time range. Before the first specified time for which a crop rectangle is set, the crop rectangle is held constant to CGRectInfinite after the last time for which a crop rectangle is set, the crop rectangle is held constant at that last value.
cropRectangle - The crop rectangle to be applied at the specified time. See the discussion below of how crop rectangles are applied to video frames.time - A time value within the timeRange of the composition instruction.public void setCropRectangleRampFromStartCropRectangleToEndCropRectangleTimeRange(CGRect startCropRectangle, CGRect endCropRectangle, CMTimeRange timeRange)
Sets an crop rectangle ramp to apply during the specified timerange.
The origin of the crop rectangle is the top-left corner of the buffer clean aperture rectangle. The crop rectangle is defined in square pixel space, i.e. without taking the pixel aspect ratio into account. Crop rectangles extending outside of the clean aperture, are cropped to the clean aperture.
During a crop rectangle ramp, the rectangle is interpolated between the values set at the ramp's start time and end time. When the starting or ending rectangle is empty, interpolations take into account the origin and size of the empty rectangle. Before the first specified time for which a crop rectangle is set, the crop rectangle is held constant to CGRectInfinite after the last time for which a crop rectangle is set, the crop rectangle is held constant at that last value.
startCropRectangle - The crop rectangle to be applied at the starting time of the timeRange. See the discussion below of how crop rectangles are applied to video frames.endCropRectangle - The crop rectangle to be applied at the end time of the timeRange.timeRange - The timeRange over which the value of the opacity will be interpolated between startCropRectangle and endCropRectangle.public void setOpacityAtTime(float opacity,
CMTime time)
Sets a value of the opacity at a time within the timeRange of the instruction.
Sets a fixed opacity to apply from the specified time until the next time at which an opacity is set; this is the same as setting a flat ramp for that time range. Before the first time for which an opacity is set, the opacity is held constant at 1.0; after the last specified time, the opacity is held constant at the last value.
opacity - The opacity to be applied at the specified time. The value must be between 0.0 and 1.0.time - A time value within the timeRange of the composition instruction.public void setOpacityRampFromStartOpacityToEndOpacityTimeRange(float startOpacity,
float endOpacity,
CMTimeRange timeRange)
Sets an opacity ramp to apply during the specified timerange.
During an opacity ramp, opacity is computed using a linear interpolation. Before the first time for which an opacity is set, the opacity is held constant at 1.0; after the last specified time, the opacity is held constant at the last value.
startOpacity - The opacity to be applied at the starting time of the timeRange. The value must be between 0.0 and 1.0.endOpacity - The opacity to be applied at the end time of the timeRange. The value must be between 0.0 and 1.0.timeRange - The timeRange over which the value of the opacity will be interpolated between startOpacity and endOpacity.public void setTrackID(int value)
public void setTransformAtTime(CGAffineTransform transform, CMTime time)
Sets a value of the transform at a time within the timeRange of the instruction.
For purposes of spatial positioning of video frames, the origin is in the top-left corner, so (a) positive translation values in an affine transform move a video frame right and down; and (b) with an identity transform a video frame is positioned with its top-left corner in the top-left corner of the composited frame. Video frames shall be interpreted at their display sizes (as described by CVImageBufferGetDisplaySize, ie, taking pixel aspect ratio attachments into account) before any affine transform is applied.
Sets a fixed transform to apply from the specified time until the next time at which a transform is set; this is the same as setting a flat ramp for that time range. Before the first specified time for which a transform is set, the affine transform is held constant at the value of CGAffineTransformIdentity; after the last time for which a transform is set, the affine transform is held constant at that last value;
transform - The transform to be applied at the specified time. See the discussion below of how transforms are applied to video frames.time - A time value within the timeRange of the composition instruction.public void setTransformRampFromStartTransformToEndTransformTimeRange(CGAffineTransform startTransform, CGAffineTransform endTransform, CMTimeRange timeRange)
Sets a transform ramp to apply during the specified timerange.
For purposes of spatial positioning of video frames, the origin is in the top-left corner, so (a) positive translation values in an affine transform move a video frame right and down; and (b) with an identity transform a video frame is positioned with its top-left corner in the top-left corner of the composited frame. Video frames shall be interpreted at their display sizes (as described by CVImageBufferGetDisplaySize, ie, taking pixel aspect ratio attachments into account) before any affine transform is applied.
During a transform ramp, the affine transform is interpolated between the values set at the ramp's start time and end time. Before the first specified time for which a transform is set, the affine transform is held constant at the value of CGAffineTransformIdentity; after the last time for which a transform is set, the affine transform is held constant at that last value;
startTransform - The transform to be applied at the starting time of the timeRange. See the discussion below of how transforms are applied to video frames.endTransform - The transform to be applied at the end time of the timeRange.timeRange - The timeRange over which the value of the transform will be interpolated between startTransform and endTransform.public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class AVVideoCompositionLayerInstructionpublic int trackID()
trackID in class AVVideoCompositionLayerInstruction