Implement convert-to-RGB-frame for VideoFrame copyto method
Categories
(Core :: Audio/Video: Web Codecs, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: chunmin, Assigned: chunmin)
References
(Blocks 1 open bug)
Details
Attachments
(15 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
13.36 KB,
text/html
|
Details |
Currently most WPTs in videoFrame-copyTo-rgb fail. We make it work unless some underlying image formats are unsupported.
update: The display-p3 color conversion will be fixed in bug 1904471 instead.
Assignee | ||
Comment 1•9 months ago
•
|
||
VideoFrameCopyToOptions
has to be updated to meet the latest spec:
dictionary VideoFrameCopyToOptions {
DOMRectInit rect;
sequence<PlaneLayout> layout;
VideoPixelFormat format;
PredefinedColorSpace colorSpace;
};
The spec was changed in https://github.com/w3c/webcodecs/pull/754
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 2•9 months ago
|
||
This patch updates the error type in ParseVideoFrameCopyToOptions
to
MediaResult
. A subsequent patch will introduce the use of
NotSupportedError
for unsupported formats instead of TypeError
. This
change helps clarify the conditions under which NotSupportedError
will
be employed.
Assignee | ||
Comment 3•9 months ago
|
||
This patch updates the VideoFrameCopyToOptions
webidl to meet the
changes in WebCodecs PR 754 [1].
[1] https://github.com/w3c/webcodecs/pull/754
Depends on D213804
Assignee | ||
Comment 4•9 months ago
|
||
This patch updates the ParseVideoFrameCopyToOptions
to the changes
made in WebCodecs PR 754 [1].
[1] https://github.com/w3c/webcodecs/pull/754
Depends on D213805
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Assignee | ||
Comment 5•9 months ago
|
||
Depends on D213806
Assignee | ||
Comment 6•9 months ago
|
||
This patch implements the convert-to-RGB-frame algorithm [1] and
introduces it to copyto method to meet the latest spec [2].
[1] https://w3c.github.io/webcodecs/#videoframe-convert-to-rgb-frame
[2] https://w3c.github.io/webcodecs/#dom-videoframe-copyto
Depends on D214199
Assignee | ||
Comment 7•9 months ago
|
||
This patch implements a helper function for copyto method,
clone-configuration algorithm for VideoFrameCopyToOptions.
Depends on D214200
Assignee | ||
Comment 8•9 months ago
|
||
Depends on D214201
Assignee | ||
Comment 9•9 months ago
|
||
Depends on D214202
Updated•9 months ago
|
Assignee | ||
Comment 10•9 months ago
|
||
Depends on D214203
Assignee | ||
Comment 11•9 months ago
|
||
Depends on D214440
Assignee | ||
Comment 12•9 months ago
|
||
Depends on D214441
Assignee | ||
Comment 13•9 months ago
|
||
Depends on D214473
Updated•9 months ago
|
Assignee | ||
Comment 14•9 months ago
|
||
This patch refactors the tests in videoFrame-copyTo-rgb.any.js
by
separating them according to the color space specified in the
VideoFrame. Previously, VideoFrame instances with different color spaces
were combined into a single test. Now, each color space specified in a
VideoFrame has its own dedicated test. This division facilitates easier
identification of missing color conversion and provides cleared insights
into completed and pending work for the following patches.
Updated•9 months ago
|
Assignee | ||
Comment 15•9 months ago
|
||
In makeI420Frames
, there is a VideoFrame created without meaningful
YUV data. This redundant creation should be removed.
Depends on D214882
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Assignee | ||
Comment 16•9 months ago
|
||
This is a visualized test page I used to debug during the development.
Updated•9 months ago
|
Updated•9 months ago
|
Assignee | ||
Updated•9 months ago
|
Comment 17•8 months ago
|
||
Comment 19•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5083bce859c9
https://hg.mozilla.org/mozilla-central/rev/cb18d1d362be
https://hg.mozilla.org/mozilla-central/rev/e789b595dd0f
https://hg.mozilla.org/mozilla-central/rev/9fe5e83ee26c
https://hg.mozilla.org/mozilla-central/rev/97ae0a4994b5
https://hg.mozilla.org/mozilla-central/rev/8e23738fdfd5
https://hg.mozilla.org/mozilla-central/rev/95b839237bae
https://hg.mozilla.org/mozilla-central/rev/6aed2000e65f
https://hg.mozilla.org/mozilla-central/rev/085ecd57565b
https://hg.mozilla.org/mozilla-central/rev/f20aa24e0334
https://hg.mozilla.org/mozilla-central/rev/8388eea038fe
https://hg.mozilla.org/mozilla-central/rev/e4f215f2955b
https://hg.mozilla.org/mozilla-central/rev/22d5e85f3c3b
https://hg.mozilla.org/mozilla-central/rev/2da61495720a
Description
•