This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
fast
/
mediastream
/
resize-trim-expected.txt
5 lines
85 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
[MediaStream] Scaled video frames should be resized in letterbox mode https://bugs.webkit.org/show_bug.cgi?id=192528 <rdar://problem/46576638> Reviewed by Darin Adler. Source/WebCore: Test: fast/mediastream/resize-letterbox.html * platform/graphics/cv/ImageTransferSessionVT.mm: (WebCore::ImageTransferSessionVT::ImageTransferSessionVT): Use letterbox resize mode, not trim. * platform/mock/MockRealtimeVideoSource.cpp: (WebCore::MockRealtimeVideoSource::captureSize const): "Capture" at the preset size, not necessarily at the requested size to be more like a physical camera. (WebCore::MockRealtimeVideoSource::settingsDidChange): (WebCore::MockRealtimeVideoSource::drawAnimation): (WebCore::MockRealtimeVideoSource::drawBoxes): (WebCore::MockRealtimeVideoSource::drawText): (WebCore::MockRealtimeVideoSource::generateFrame): (WebCore::MockRealtimeVideoSource::imageBuffer const): * platform/mock/MockRealtimeVideoSource.h: LayoutTests: * fast/mediastream/resize-letterbox-expected.txt: Added. * fast/mediastream/resize-letterbox.html: Added. Canonical link: https://commits.webkit.org/207111@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-12-09 05:36:43 +00:00
Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) https://bugs.webkit.org/show_bug.cgi?id=217016 Reviewed by Zalan Bujtas. Done with this command: find LayoutTests -name '*-expected.txt' | grep -v imported | xargs awk '/^CONSOLE MESSAGE:/ { next }; /^<\?xml/ { nextfile }; { print FILENAME; nextfile }' | xargs perl -i -pe 's/ +$//g' This affects many files, and it's not helpful to clog the change log with a list of them. Canonical link: https://commits.webkit.org/229803@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-27 02:15:19 +00:00
PASS Video frames are resized in letterbox-mode when captured at non-native size.
[MediaStream] Scaled video frames should be resized in letterbox mode https://bugs.webkit.org/show_bug.cgi?id=192528 <rdar://problem/46576638> Reviewed by Darin Adler. Source/WebCore: Test: fast/mediastream/resize-letterbox.html * platform/graphics/cv/ImageTransferSessionVT.mm: (WebCore::ImageTransferSessionVT::ImageTransferSessionVT): Use letterbox resize mode, not trim. * platform/mock/MockRealtimeVideoSource.cpp: (WebCore::MockRealtimeVideoSource::captureSize const): "Capture" at the preset size, not necessarily at the requested size to be more like a physical camera. (WebCore::MockRealtimeVideoSource::settingsDidChange): (WebCore::MockRealtimeVideoSource::drawAnimation): (WebCore::MockRealtimeVideoSource::drawBoxes): (WebCore::MockRealtimeVideoSource::drawText): (WebCore::MockRealtimeVideoSource::generateFrame): (WebCore::MockRealtimeVideoSource::imageBuffer const): * platform/mock/MockRealtimeVideoSource.h: LayoutTests: * fast/mediastream/resize-letterbox-expected.txt: Added. * fast/mediastream/resize-letterbox.html: Added. Canonical link: https://commits.webkit.org/207111@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-12-09 05:36:43 +00:00