Changeset 236350 in webkit
- Timestamp:
- Sep 21, 2018, 1:00:03 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
PAL/ChangeLog (modified) (1 diff)
-
PAL/pal/spi/mac/AVFoundationSPI.h (modified) (3 diffs)
-
platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r236348 r236350 1 2018-09-21 Jer Noble <jer.noble@apple.com> 2 3 Move AVVideoPerformanceMetrics into AVFoundationSPI.h 4 https://bugs.webkit.org/show_bug.cgi?id=189842 5 6 Reviewed by Jon Lee. 7 8 * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: 9 1 10 2018-09-21 Chris Dumez <cdumez@apple.com> 2 11 -
trunk/Source/WebCore/PAL/ChangeLog
r236337 r236350 1 2018-09-21 Jer Noble <jer.noble@apple.com> 2 3 Move AVVideoPerformanceMetrics into AVFoundationSPI.h 4 https://bugs.webkit.org/show_bug.cgi?id=189842 5 6 Reviewed by Jon Lee. 7 8 * pal/spi/mac/AVFoundationSPI.h: 9 1 10 2018-09-21 Jonathan Bedard <jbedard@apple.com> 2 11 -
trunk/Source/WebCore/PAL/pal/spi/mac/AVFoundationSPI.h
r233501 r236350 157 157 158 158 #endif // !PLATFORM(IOS) 159 160 @interface AVVideoPerformanceMetrics : NSObject 161 @property (nonatomic, readonly) unsigned long totalNumberOfVideoFrames; 162 @property (nonatomic, readonly) unsigned long numberOfDroppedVideoFrames; 163 @property (nonatomic, readonly) unsigned long numberOfCorruptedVideoFrames; 164 @property (nonatomic, readonly) unsigned long numberOfNonDisplayCompositedVideoFrames; 165 @property (nonatomic, readonly) double totalFrameDelay; 166 @end 167 159 168 #endif // USE(APPLE_INTERNAL_SDK) 160 169 … … 228 237 #if ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MAX_ALLOWED < 110000)) && __has_include(<AVFoundation/AVQueuedSampleBufferRendering.h>) 229 238 #import <AVFoundation/AVQueuedSampleBufferRendering.h> 239 #elif __has_include(<AVFoundation/AVSampleBufferDisplayLayer_Private.h>) 240 #import <AVFoundation/AVSampleBufferDisplayLayer_Private.h> 230 241 #elif __has_include(<AVFoundation/AVSampleBufferDisplayLayer.h>) 231 242 #import <AVFoundation/AVSampleBufferDisplayLayer.h> 243 NS_ASSUME_NONNULL_BEGIN 244 @interface AVSampleBufferDisplayLayer (VideoPerformanceMetrics) 245 - (AVVideoPerformanceMetrics *)videoPerformanceMetrics; 246 @end 247 NS_ASSUME_NONNULL_END 232 248 #else 233 249 … … 246 262 - (void)requestMediaDataWhenReadyOnQueue:(dispatch_queue_t)queue usingBlock:(void (^)(void))block; 247 263 - (void)stopRequestingMediaData; 248 @end 249 250 NS_ASSUME_NONNULL_END 251 264 - (AVVideoPerformanceMetrics *)videoPerformanceMetrics; 265 @end 266 NS_ASSUME_NONNULL_END 252 267 #endif // __has_include(<AVFoundation/AVSampleBufferDisplayLayer.h>) 253 268 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
r236204 r236350 81 81 82 82 #pragma mark - 83 #pragma mark AVVideoPerformanceMetrics84 85 @interface AVVideoPerformanceMetrics : NSObject86 - (unsigned long)totalNumberOfVideoFrames;87 - (unsigned long)numberOfDroppedVideoFrames;88 - (unsigned long)numberOfCorruptedVideoFrames;89 - (double)totalFrameDelay;90 @end91 92 @interface AVSampleBufferDisplayLayer (WebCoreAVSampleBufferDisplayLayerPrivate)93 - (AVVideoPerformanceMetrics *)videoPerformanceMetrics;94 @end95 96 #pragma mark -97 83 #pragma mark AVStreamSession 98 84
Note:
See TracChangeset
for help on using the changeset viewer.