Skip to content

Move VideoFrameMetadata dfn to WebCodecs #596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@
spec: webrtc-svc; urlPrefix: https://w3c.github.io/webrtc-svc/
type: dfn; text: scalability mode identifier; url:#scalabilitymodes*

spec: webcodecs-video-frame-metadata-registry; urlPrefix: https://w3c.github.io/webcodecs/video-frame-metadata-registry.html
type: dictionary; text: VideoFrameMetadata; url: dictdef-videoframemetadata

spec: ECMASCRIPT; urlPrefix: https://tc39.es/ecma262/
type: dfn; text: the current Realm; url: #current-realm
</pre>
Expand Down Expand Up @@ -3283,6 +3280,10 @@

VideoColorSpaceInit colorSpace;
};

dictionary VideoFrameMetadata {
// Possible members are recorded in the VideoFrame Metadata Registry.
};
</xmp>

### Internal Slots ###{#videoframe-internal-slots}
Expand Down Expand Up @@ -3339,8 +3340,8 @@

: <dfn attribute for=VideoFrame>\[[metadata]]</dfn>
:: The {{VideoFrameMetadata}} associated with this frame.
{{VideoFrameMetadata}} is defined in [[webcodecs-video-frame-metadata-registry]].
By design, all {{VideoFrameMetadata}} properties are serializable.
Possible members are recorded in [[webcodecs-video-frame-metadata-registry]].
By design, all {{VideoFrameMetadata}} properties are serializable.

### Constructors ###{#videoframe-constructors}

Expand Down
10 changes: 2 additions & 8 deletions video_frame_metadata_registry.src.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<pre class='metadata'>
Title: WebCodecs VideoFrame Metadata Registry
Repository: w3c/webcodecs
Status: DRY
Status: ED
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although it has "Draft" in the title, DRY is a status for documents published under /TR. All documents in the repo are "Editor's Drafts". There is no DRY-ED status in authoring tools for now to qualify an "Editor's Draft of a Registry", so using "ED" as fallback (I see the status of the Editor's Draft of the Codec registry is NOTE-ED for now, that's really treated the same way as ED internally and produces the same boilerplate).

Shortname: webcodecs-video-frame-metadata-registry
Level: none
Group: mediawg
Expand All @@ -24,6 +24,7 @@
spec: WEBCODECS; urlPrefix: https://w3c.github.io/webcodecs/#
type: dictionary
text: VideoFrame; url: dictdef-videoframe
text: VideoFrameMetadata; url: dictdef-videoframemetadata
</pre>


Expand All @@ -46,13 +47,6 @@
to register the candidate. The registry editors will review and merge the
pull request.

VideoFrameMetadata definition {#videoframemetadata-definition}
=============================================================
<xmp class='idl'>
dictionary VideoFrameMetadata {
};
</xmp>

VideoFrameMetadata members {#videoframemetadata-members}
========================================================

Expand Down