Reuse Maybe-utils in VideoDecoder for VideoFrame and EncodedVideoChunk
Categories
(Core :: Audio/Video: Web Codecs, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox117 | --- | fixed |
People
(Reporter: chunmin, Assigned: chunmin)
References
(Blocks 2 open bugs)
Details
Attachments
(6 external files, 1 obsolete file)
The utils converting types among Maybe, Nullable, and Optional added in VideoDecoder should be reused in VideoFrame (e.g., VideoFrame::GetDuration()) and EncodedVideoChunk (e.g., EncodedVideoChunk::GetDuration()).
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
The utils for conversion among Maybe, Nullable, and Optional added in
VideoDecoder should be moved to WebCodecsUtils so other files like
VideoFrame and EncodedVideoChunk can reuse those functions
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D182834
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D182835
| Assignee | ||
Comment 4•3 years ago
|
||
Depends on D182837
| Assignee | ||
Comment 5•3 years ago
|
||
This patch add some empty lines right after some utils implementation
sections so now all the utils implementations start from one empty line
after their section descriptions
Depends on D182834
| Assignee | ||
Comment 6•3 years ago
|
||
EncodedVideoChunk serialization will take a reference to the data
stored in the chunk. Using MediaByteBuffer is a better choice for data
storage since it implies it can be shared.
Depends on D182838
Comment 7•3 years ago
|
||
Comment on attachment 9342479 [details]
Bug 1841903 - Store EncodedVideoChunk data in MediaByteBuffer
Revision D182843 was moved to bug 1838984. Setting attachment 9342479 [details] to obsolete.
Comment 9•3 years ago
•
|
||
| Assignee | ||
Comment 10•3 years ago
|
||
Per https://google.github.io/styleguide/cppguide.html#The__define_Guard,
the define guard should be formed by the path
Depends on D182838
| Assignee | ||
Comment 11•3 years ago
|
||
I've updated D182834 and now it should work: https://treeherder.mozilla.org/jobs?repo=try&revision=df661d3c95da2b05b45bed0cce217548b4e0394f&selectedTaskRun=IWQxqm4mRqqUrGxdTB9o9w.0
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/065ed7d4aa36
https://hg.mozilla.org/mozilla-central/rev/85ed2643fa93
https://hg.mozilla.org/mozilla-central/rev/f46d9f80e879
https://hg.mozilla.org/mozilla-central/rev/25df3d359143
https://hg.mozilla.org/mozilla-central/rev/472a16c1f7dd
https://hg.mozilla.org/mozilla-central/rev/b336a3ad3e0e
Description
•