Title: [236350] trunk/Source/WebCore
- Revision
- 236350
- Author
- jer.no...@apple.com
- Date
- 2018-09-21 13:00:03 -0700 (Fri, 21 Sep 2018)
Log Message
Move AVVideoPerformanceMetrics into AVFoundationSPI.h
https://bugs.webkit.org/show_bug.cgi?id=189842
Reviewed by Jon Lee.
Source/WebCore:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
Source/WebCore/PAL:
* pal/spi/mac/AVFoundationSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (236349 => 236350)
--- trunk/Source/WebCore/ChangeLog 2018-09-21 19:59:52 UTC (rev 236349)
+++ trunk/Source/WebCore/ChangeLog 2018-09-21 20:00:03 UTC (rev 236350)
@@ -1,3 +1,12 @@
+2018-09-21 Jer Noble <jer.no...@apple.com>
+
+ Move AVVideoPerformanceMetrics into AVFoundationSPI.h
+ https://bugs.webkit.org/show_bug.cgi?id=189842
+
+ Reviewed by Jon Lee.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+
2018-09-21 Chris Dumez <cdu...@apple.com>
WebSQL: User cannot grant quota increase if the JS provides an expected usage value that is too low
Modified: trunk/Source/WebCore/PAL/ChangeLog (236349 => 236350)
--- trunk/Source/WebCore/PAL/ChangeLog 2018-09-21 19:59:52 UTC (rev 236349)
+++ trunk/Source/WebCore/PAL/ChangeLog 2018-09-21 20:00:03 UTC (rev 236350)
@@ -1,3 +1,12 @@
+2018-09-21 Jer Noble <jer.no...@apple.com>
+
+ Move AVVideoPerformanceMetrics into AVFoundationSPI.h
+ https://bugs.webkit.org/show_bug.cgi?id=189842
+
+ Reviewed by Jon Lee.
+
+ * pal/spi/mac/AVFoundationSPI.h:
+
2018-09-21 Jonathan Bedard <jbed...@apple.com>
Bring up queues for iOS 12 (Build fix)
Modified: trunk/Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h (236349 => 236350)
--- trunk/Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h 2018-09-21 19:59:52 UTC (rev 236349)
+++ trunk/Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h 2018-09-21 20:00:03 UTC (rev 236350)
@@ -156,6 +156,15 @@
#endif
#endif // !PLATFORM(IOS)
+
+@interface AVVideoPerformanceMetrics : NSObject
+@property (nonatomic, readonly) unsigned long totalNumberOfVideoFrames;
+@property (nonatomic, readonly) unsigned long numberOfDroppedVideoFrames;
+@property (nonatomic, readonly) unsigned long numberOfCorruptedVideoFrames;
+@property (nonatomic, readonly) unsigned long numberOfNonDisplayCompositedVideoFrames;
+@property (nonatomic, readonly) double totalFrameDelay;
+@end
+
#endif // USE(APPLE_INTERNAL_SDK)
#if PLATFORM(MAC) && !USE(APPLE_INTERNAL_SDK)
@@ -227,8 +236,15 @@
#if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MAX_ALLOWED < 110000)) && __has_include(<AVFoundation/AVQueuedSampleBufferRendering.h>)
#import <AVFoundation/AVQueuedSampleBufferRendering.h>
+#elif __has_include(<AVFoundation/AVSampleBufferDisplayLayer_Private.h>)
+#import <AVFoundation/AVSampleBufferDisplayLayer_Private.h>
#elif __has_include(<AVFoundation/AVSampleBufferDisplayLayer.h>)
#import <AVFoundation/AVSampleBufferDisplayLayer.h>
+NS_ASSUME_NONNULL_BEGIN
+@interface AVSampleBufferDisplayLayer (VideoPerformanceMetrics)
+- (AVVideoPerformanceMetrics *)videoPerformanceMetrics;
+@end
+NS_ASSUME_NONNULL_END
#else
NS_ASSUME_NONNULL_BEGIN
@@ -245,10 +261,9 @@
- (BOOL)isReadyForMoreMediaData;
- (void)requestMediaDataWhenReadyOnQueue:(dispatch_queue_t)queue usingBlock:(void (^)(void))block;
- (void)stopRequestingMediaData;
+- (AVVideoPerformanceMetrics *)videoPerformanceMetrics;
@end
-
NS_ASSUME_NONNULL_END
-
#endif // __has_include(<AVFoundation/AVSampleBufferDisplayLayer.h>)
#if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MAX_ALLOWED < 110000)) && __has_include(<AVFoundation/AVQueuedSampleBufferRendering.h>)
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm (236349 => 236350)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm 2018-09-21 19:59:52 UTC (rev 236349)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm 2018-09-21 20:00:03 UTC (rev 236350)
@@ -80,20 +80,6 @@
#define AVAudioTimePitchAlgorithmVarispeed getAVAudioTimePitchAlgorithmVarispeed()
#pragma mark -
-#pragma mark AVVideoPerformanceMetrics
-
-@interface AVVideoPerformanceMetrics : NSObject
-- (unsigned long)totalNumberOfVideoFrames;
-- (unsigned long)numberOfDroppedVideoFrames;
-- (unsigned long)numberOfCorruptedVideoFrames;
-- (double)totalFrameDelay;
-@end
-
-@interface AVSampleBufferDisplayLayer (WebCoreAVSampleBufferDisplayLayerPrivate)
-- (AVVideoPerformanceMetrics *)videoPerformanceMetrics;
-@end
-
-#pragma mark -
#pragma mark AVStreamSession
@interface AVStreamSession : NSObject
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes