public class AVPlayerItemVideoOutput extends AVPlayerItemOutput
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
AVPlayerItemVideoOutput(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static AVPlayerItemVideoOutput |
alloc() |
static AVPlayerItemVideoOutput |
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() |
CVBufferRef |
copyPixelBufferForItemTimeItemTimeForDisplay(CMTime itemTime,
CMTime outItemTimeForDisplay)
copyPixelBufferForItemTime:itemTimeForDisplay:
|
static java.lang.String |
debugDescription_static() |
AVPlayerItemOutputPullDelegate |
delegate()
[@property] delegate
|
NSObject |
delegateQueue()
[@property] delegateQueue
|
static java.lang.String |
description_static() |
static long |
hash_static() |
boolean |
hasNewPixelBufferForItemTime(CMTime itemTime)
hasNewPixelBufferForItemTime:
|
AVPlayerItemVideoOutput |
init() |
AVPlayerItemVideoOutput |
initWithOutputSettings(NSDictionary<java.lang.String,?> outputSettings)
initWithOutputSettings:
|
AVPlayerItemVideoOutput |
initWithPixelBufferAttributes(NSDictionary<java.lang.String,?> pixelBufferAttributes)
initWithPixelBufferAttributes:
|
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 AVPlayerItemVideoOutput |
new_objc() |
void |
requestNotificationOfMediaDataChangeWithAdvanceInterval(double interval)
requestNotificationOfMediaDataChangeWithAdvanceInterval:
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setDelegateQueue(AVPlayerItemOutputPullDelegate delegate,
NSObject delegateQueue)
setDelegate:queue:
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
itemTimeForHostTime, itemTimeForMachAbsoluteTime, setSuppressesPlayerRendering, suppressesPlayerRenderingaccessibilityActivate, 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 AVPlayerItemVideoOutput(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static AVPlayerItemVideoOutput alloc()
public static AVPlayerItemVideoOutput 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 AVPlayerItemVideoOutput 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 long version_static()
public CVBufferRef copyPixelBufferForItemTimeItemTimeForDisplay(CMTime itemTime, CMTime outItemTimeForDisplay)
Retrieves an image that is appropriate for display at the specified item time, and marks the image as acquired.
The client is responsible for calling CVBufferRelease on the returned CVPixelBuffer when finished with it.
Typically you would call this method in response to a CVDisplayLink callback or CADisplayLink delegate invocation and if hasNewPixelBufferForItemTime: also returns YES.
The buffer reference retrieved from copyPixelBufferForItemTime:itemTimeForDisplay: may itself be NULL. A reference to a NULL pixel buffer communicates that nothing should be displayed for the supplied item time.
itemTime - A CMTime that expresses a desired item time.itemTimeForDisplay - A CMTime pointer whose value will contain the true display deadline for the copied pixel buffer. Can be NULL.public AVPlayerItemOutputPullDelegate delegate()
The receiver's delegate.
public NSObject delegateQueue()
The dispatch queue where the delegate is messaged.
public boolean hasNewPixelBufferForItemTime(CMTime itemTime)
Query if any new video output is available for an item time.
This method returns YES if there is available video output, appropriate for display, at the specified item time not marked as acquired. If you require multiple objects to acquire video output from the same AVPlayerItem, you should instantiate more than one AVPlayerItemVideoOutput and add each via addOutput:. Each AVPlayerItemVideoOutput maintains a separate record of client acquisition.
itemTime - The item time to query.public AVPlayerItemVideoOutput init()
init in class AVPlayerItemOutputpublic AVPlayerItemVideoOutput initWithOutputSettings(NSDictionary<java.lang.String,?> outputSettings)
Returns an instance of AVPlayerItemVideoOutput, initialized with the specified output settings, for video image output.
outputSettings - The client requirements for output CVPixelBuffers, expressed using the constants in AVVideoSettings.h.
For uncompressed video output, start with kCVPixelBuffer* keys in
In addition to the keys in CVPixelBuffer.h, uncompressed video settings dictionaries may also contain the following keys:
AVVideoAllowWideColorKey
public AVPlayerItemVideoOutput initWithPixelBufferAttributes(NSDictionary<java.lang.String,?> pixelBufferAttributes)
Returns an instance of AVPlayerItemVideoOutput, initialized with the specified pixel buffer attributes, for video image output.
pixelBufferAttributes - The client requirements for output CVPixelBuffers, expressed using the constants in public void requestNotificationOfMediaDataChangeWithAdvanceInterval(double interval)
Informs the receiver that the AVPlayerItemVideoOutput client is entering a quiescent state.
Message this method before you suspend your use of a CVDisplayLink or CADisplayLink. The interval you provide will be used to message your delegate, in advance, that it should resume the display link. If the interval you provide is large, effectively requesting wakeup earlier than the AVPlayerItemVideoOutput is prepared to act, the delegate will be invoked as soon as possible. Do not use this method to force a delegate invocation for each sample.
interval - A wall clock time interval.public void setDelegateQueue(AVPlayerItemOutputPullDelegate delegate, NSObject delegateQueue)
Sets the receiver's delegate and a dispatch queue on which the delegate will be called.
delegate - An object conforming to AVPlayerItemOutputPullDelegate protocol.delegateQueue - A dispatch queue on which all delegate methods will be called.