Class AVPlayerItemVideoOutput

    • Constructor Detail

      • AVPlayerItemVideoOutput

        protected AVPlayerItemVideoOutput​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • copyPixelBufferForItemTimeItemTimeForDisplay

        public CVBufferRef copyPixelBufferForItemTimeItemTimeForDisplay​(CMTime itemTime,
                                                                        CMTime outItemTimeForDisplay)
        copyPixelBufferForItemTime:itemTimeForDisplay: 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.
        Parameters:
        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.
      • delegateQueue

        public NSObject delegateQueue()
        [@property] delegateQueue The dispatch queue where the delegate is messaged.
      • hasNewPixelBufferForItemTime

        public boolean hasNewPixelBufferForItemTime​(CMTime itemTime)
        hasNewPixelBufferForItemTime: 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.
        Parameters:
        itemTime - The item time to query.
        Returns:
        A BOOL indicating if there is newer output.
      • initWithOutputSettings

        public AVPlayerItemVideoOutput initWithOutputSettings​(NSDictionary<java.lang.String,​?> outputSettings)
        initWithOutputSettings: Returns an instance of AVPlayerItemVideoOutput, initialized with the specified output settings, for video image output.
        Parameters:
        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
        Returns:
        An instance of AVPlayerItemVideoOutput.
      • initWithPixelBufferAttributes

        public AVPlayerItemVideoOutput initWithPixelBufferAttributes​(NSDictionary<java.lang.String,​?> pixelBufferAttributes)
        initWithPixelBufferAttributes: Returns an instance of AVPlayerItemVideoOutput, initialized with the specified pixel buffer attributes, for video image output.
        Parameters:
        pixelBufferAttributes - The client requirements for output CVPixelBuffers, expressed using the constants in .
        Returns:
        An instance of AVPlayerItemVideoOutput.
      • requestNotificationOfMediaDataChangeWithAdvanceInterval

        public void requestNotificationOfMediaDataChangeWithAdvanceInterval​(double interval)
        requestNotificationOfMediaDataChangeWithAdvanceInterval: 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.
        Parameters:
        interval - A wall clock time interval.
      • setDelegateQueue

        public void setDelegateQueue​(AVPlayerItemOutputPullDelegate delegate,
                                     NSObject delegateQueue)
        setDelegate:queue: Sets the receiver's delegate and a dispatch queue on which the delegate will be called.
        Parameters:
        delegate - An object conforming to AVPlayerItemOutputPullDelegate protocol.
        delegateQueue - A dispatch queue on which all delegate methods will be called.