haikuwebkit/LayoutTests/webrtc/vp9-vtb-expected.txt

11 lines
276 B
Plaintext
Raw Permalink Normal View History

WebRTC VP9 Decoder should be able to use VTB https://bugs.webkit.org/show_bug.cgi?id=217811 Reviewed by Eric Carlson. Source/ThirdParty/libwebrtc: Add RTCVideoDecoderVTBVP9 as a VP9 decoder using the VTB API. Enable this code path by default if VP9 is enabled and hardware VP9 decoding is supported. Allow to override this setting for testing purposes. Add SPI header files in case they are not available. * Configurations/libwebrtc.iOS.exp: * Configurations/libwebrtc.iOSsim.exp: * Configurations/libwebrtc.mac.exp: * Source/webrtc/sdk/WebKit/CMBaseObjectSPI.h: Added. * Source/webrtc/sdk/WebKit/VTVideoDecoderSPI.h: Added. * Source/webrtc/sdk/WebKit/WebKitDecoder.mm: (webrtc::createWebKitDecoderFactory): * Source/webrtc/sdk/WebKit/WebKitUtilities.h: * Source/webrtc/sdk/WebKit/WebKitVP9Decoder.cpp: (webrtc::createWebKitVP9Decoder): * Source/webrtc/sdk/objc/api/video_codec/RTCWrappedNativeVideoDecoder.mm: (-[RTCWrappedNativeVideoDecoder implementationName]): * Source/webrtc/sdk/objc/components/video_codec/RTCDefaultVideoDecoderFactory.h: * Source/webrtc/sdk/objc/components/video_codec/RTCDefaultVideoDecoderFactory.m: (-[RTCDefaultVideoDecoderFactory initWithH265:vp9:vp9VTB:]): (-[RTCDefaultVideoDecoderFactory createDecoder:]): * Source/webrtc/sdk/objc/components/video_codec/RTCVideoDecoderVTBVP9.h: Added. * Source/webrtc/sdk/objc/components/video_codec/RTCVideoDecoderVTBVP9.mm: Added. (RTCFrameDecodeParams::RTCFrameDecodeParams): (VP9BufferToCMSampleBuffer): (vp9DecompressionOutputCallback): (-[RTCVideoDecoderVTBVP9 dealloc]): (-[RTCVideoDecoderVTBVP9 startDecodeWithNumberOfCores:]): (-[RTCVideoDecoderVTBVP9 decode:missingFrames:codecSpecificInfo:renderTimeMs:]): (-[RTCVideoDecoderVTBVP9 decodeData:size:timeStamp:]): (-[RTCVideoDecoderVTBVP9 setCallback:]): (-[RTCVideoDecoderVTBVP9 setError:]): (-[RTCVideoDecoderVTBVP9 releaseDecoder]): (-[RTCVideoDecoderVTBVP9 resetDecompressionSession]): (-[RTCVideoDecoderVTBVP9 configureDecompressionSession]): (-[RTCVideoDecoderVTBVP9 destroyDecompressionSession]): (-[RTCVideoDecoderVTBVP9 setVideoFormat:]): (-[RTCVideoDecoderVTBVP9 implementationName]): * Source/webrtc/sdk/objc/native/src/objc_video_decoder_factory.mm: (webrtc::ObjCVideoDecoderFactory::CreateVideoDecoder): * libwebrtc.xcodeproj/project.pbxproj: Source/WebCore: Add testing support to enable VP9 decoding through VTB for WebRTC. Test: webrtc/vp9-vtb.html * platform/mediastream/libwebrtc/LibWebRTCProvider.h: * platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.cpp: (WebCore::LibWebRTCProviderCocoa::createDecoderFactory): * testing/Internals.cpp: (WebCore::Internals::setWebRTCVP9VTBSupport): * testing/Internals.h: * testing/Internals.idl: LayoutTests: * TestExpectations: * platform/mac-wk1/TestExpectations: * platform/mac-wk2/TestExpectations: * webrtc/vp9-vtb-expected.txt: Added. * webrtc/vp9-vtb.html: Added. Canonical link: https://commits.webkit.org/230745@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 17:14:25 +00:00
PASS VP9 in getCapabilities
PASS Verify VP9 activation
PASS Setting video exchange
PASS Ensuring connection state is connected
PASS Track is enabled, video should not be black
PASS Track is disabled, video should be black
PASS Track is enabled, video should not be black 2