Source code

Revision control

Copy as Markdown

Other Tools

[videoFrame-rotation.any.html]
[A VideoFrame has no rotation by default]
expected: FAIL
[A VideoFrame created from data with a rotation of 0]
expected: FAIL
[A VideoFrame created from data with a rotation of 90]
expected: FAIL
[A VideoFrame created from data with a rotation of 180]
expected: FAIL
[A VideoFrame created from data with a rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 0 and an init rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 0 and an init rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 0 and an init rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 0 and an init rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 90 and an init rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 90 and an init rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 90 and an init rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 90 and an init rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 180 and an init rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 180 and an init rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 180 and an init rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 180 and an init rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 270 and an init rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 270 and an init rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 270 and an init rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 270 and an init rotation of 270]
expected: FAIL
[A VideoFrame created from a rotated VideoFrame without an init rotation keeps the rotation]
expected: FAIL
[A VideoFrame created from a rotated VideoFrame with an empty init keeps the rotation]
expected: FAIL
[Several VideoFrames with different rotations can be created from the same VideoFrame]
expected: FAIL
[A rotated VideoFrame created from another VideoFrame outlives it]
expected: FAIL
[Rotations accumulate when creating a VideoFrame from a VideoFrame from a VideoFrame]
expected: FAIL
[An init rotation of -315 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -315]
expected: FAIL
[An init rotation of -360 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -360]
expected: FAIL
[An init rotation of -90 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -90]
expected: FAIL
[An init rotation of -45 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -45]
expected: FAIL
[An init rotation of -135 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -135]
expected: FAIL
[An init rotation of -1 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1]
expected: FAIL
[An init rotation of 44 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 44]
expected: FAIL
[An init rotation of 45 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 45]
expected: FAIL
[An init rotation of 89.9 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 89.9]
expected: FAIL
[An init rotation of 135 gives a VideoFrame rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 135]
expected: FAIL
[An init rotation of 315 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 315]
expected: FAIL
[An init rotation of 359 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 359]
expected: FAIL
[An init rotation of 360 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 360]
expected: FAIL
[An init rotation of 450 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 450]
expected: FAIL
[An init rotation of 720 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 720]
expected: FAIL
[An init rotation of 0.5 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 0.5]
expected: FAIL
[An init rotation of -0.5 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -0.5]
expected: FAIL
[An init rotation of 1080.5 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1080.5]
expected: FAIL
[An init rotation of -1080.5 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1080.5]
expected: FAIL
[An init rotation of 1124.99 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1124.99]
expected: FAIL
[An init rotation of -1124.99 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1124.99]
expected: FAIL
[An init rotation of 1125 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1125]
expected: FAIL
[An init rotation of -1125 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1125]
expected: FAIL
[An init rotation of 123456.789 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 123456.789]
expected: FAIL
[An init rotation of 1000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1000000]
expected: FAIL
[An init rotation of -1000000 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1000000]
expected: FAIL
[An init rotation of 9007199254740992 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 9007199254740992]
expected: FAIL
[An init rotation of 9007199254740994 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 9007199254740994]
expected: FAIL
[An init rotation of 1000000000000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1000000000000000]
expected: FAIL
[An init rotation of 10000000000000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 10000000000000000]
expected: FAIL
[An init rotation of 100000000000000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 100000000000000000]
expected: FAIL
[An init rotation of 100000000000000000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 100000000000000000000]
expected: FAIL
[An init rotation of 1e+300 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1e+300]
expected: FAIL
[An init rotation of -1e+300 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1e+300]
expected: FAIL
[An init rotation of 1.7976931348623157e+308 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1.7976931348623157e+308]
expected: FAIL
[An init rotation of -1.7976931348623157e+308 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1.7976931348623157e+308]
expected: FAIL
[An init rotation of 5e-324 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 5e-324]
expected: FAIL
[An init rotation of -5e-324 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -5e-324]
expected: FAIL
[A VideoFrame cannot be created from a VideoFrame with an init rotation of NaN]
expected: FAIL
[A VideoFrame cannot be created from a VideoFrame with an init rotation of Infinity]
expected: FAIL
[A VideoFrame cannot be created from a VideoFrame with an init rotation of -Infinity]
expected: FAIL
[A VideoFrame created from a VideoFrame can change both rotation and timestamp]
expected: FAIL
[An explicit display size is not swapped by the init rotation]
expected: FAIL
[A VideoFrame created from a rotated VideoFrame can also change the visible rect]
expected: FAIL
[Cloning a rotated VideoFrame keeps its rotation, and deriving from the clone does not change it]
expected: FAIL
[A closed VideoFrame has a rotation of 0]
expected: FAIL
[videoFrame-rotation.any.worker.html]
[A VideoFrame has no rotation by default]
expected: FAIL
[A VideoFrame created from data with a rotation of 0]
expected: FAIL
[A VideoFrame created from data with a rotation of 90]
expected: FAIL
[A VideoFrame created from data with a rotation of 180]
expected: FAIL
[A VideoFrame created from data with a rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 0 and an init rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 0 and an init rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 0 and an init rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 0 and an init rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 90 and an init rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 90 and an init rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 90 and an init rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 90 and an init rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 180 and an init rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 180 and an init rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 180 and an init rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 180 and an init rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 270 and an init rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 270 and an init rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 270 and an init rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame with a rotation of 270 and an init rotation of 270]
expected: FAIL
[A VideoFrame created from a rotated VideoFrame without an init rotation keeps the rotation]
expected: FAIL
[A VideoFrame created from a rotated VideoFrame with an empty init keeps the rotation]
expected: FAIL
[Several VideoFrames with different rotations can be created from the same VideoFrame]
expected: FAIL
[A rotated VideoFrame created from another VideoFrame outlives it]
expected: FAIL
[Rotations accumulate when creating a VideoFrame from a VideoFrame from a VideoFrame]
expected: FAIL
[An init rotation of -315 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -315]
expected: FAIL
[An init rotation of -360 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -360]
expected: FAIL
[An init rotation of -90 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -90]
expected: FAIL
[An init rotation of -45 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -45]
expected: FAIL
[An init rotation of -135 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -135]
expected: FAIL
[An init rotation of -1 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1]
expected: FAIL
[An init rotation of 44 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 44]
expected: FAIL
[An init rotation of 45 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 45]
expected: FAIL
[An init rotation of 89.9 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 89.9]
expected: FAIL
[An init rotation of 135 gives a VideoFrame rotation of 180]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 135]
expected: FAIL
[An init rotation of 315 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 315]
expected: FAIL
[An init rotation of 359 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 359]
expected: FAIL
[An init rotation of 360 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 360]
expected: FAIL
[An init rotation of 450 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 450]
expected: FAIL
[An init rotation of 720 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 720]
expected: FAIL
[An init rotation of 0.5 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 0.5]
expected: FAIL
[An init rotation of -0.5 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -0.5]
expected: FAIL
[An init rotation of 1080.5 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1080.5]
expected: FAIL
[An init rotation of -1080.5 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1080.5]
expected: FAIL
[An init rotation of 1124.99 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1124.99]
expected: FAIL
[An init rotation of -1124.99 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1124.99]
expected: FAIL
[An init rotation of 1125 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1125]
expected: FAIL
[An init rotation of -1125 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1125]
expected: FAIL
[An init rotation of 123456.789 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 123456.789]
expected: FAIL
[An init rotation of 1000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1000000]
expected: FAIL
[An init rotation of -1000000 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1000000]
expected: FAIL
[An init rotation of 9007199254740992 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 9007199254740992]
expected: FAIL
[An init rotation of 9007199254740994 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 9007199254740994]
expected: FAIL
[An init rotation of 1000000000000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1000000000000000]
expected: FAIL
[An init rotation of 10000000000000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 10000000000000000]
expected: FAIL
[An init rotation of 100000000000000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 100000000000000000]
expected: FAIL
[An init rotation of 100000000000000000000 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 100000000000000000000]
expected: FAIL
[An init rotation of 1e+300 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1e+300]
expected: FAIL
[An init rotation of -1e+300 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1e+300]
expected: FAIL
[An init rotation of 1.7976931348623157e+308 gives a VideoFrame rotation of 90]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 1.7976931348623157e+308]
expected: FAIL
[An init rotation of -1.7976931348623157e+308 gives a VideoFrame rotation of 270]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -1.7976931348623157e+308]
expected: FAIL
[An init rotation of 5e-324 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of 5e-324]
expected: FAIL
[An init rotation of -5e-324 gives a VideoFrame rotation of 0]
expected: FAIL
[A VideoFrame created from a VideoFrame rotated by 90 with an init rotation of -5e-324]
expected: FAIL
[A VideoFrame cannot be created from a VideoFrame with an init rotation of NaN]
expected: FAIL
[A VideoFrame cannot be created from a VideoFrame with an init rotation of Infinity]
expected: FAIL
[A VideoFrame cannot be created from a VideoFrame with an init rotation of -Infinity]
expected: FAIL
[A VideoFrame created from a VideoFrame can change both rotation and timestamp]
expected: FAIL
[An explicit display size is not swapped by the init rotation]
expected: FAIL
[A VideoFrame created from a rotated VideoFrame can also change the visible rect]
expected: FAIL
[Cloning a rotated VideoFrame keeps its rotation, and deriving from the clone does not change it]
expected: FAIL
[A closed VideoFrame has a rotation of 0]
expected: FAIL