Skip to content
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

Add a NOTE to clarify the 'mdcv' box #141

Closed

Conversation

wantehchang
Copy link
Collaborator

@wantehchang wantehchang commented Mar 21, 2022

In "their values SHALL match", change the word "match" to
"equal (except for precision issues, see note below)".

Exchange METADATA_TYPE_HDR_CLL and METADATA_TYPE_HDR_MDCV so that they
correspond to mdcv and clli in the right order.

Fix #138.


Preview | Diff

@cconcolato cconcolato marked this pull request as draft May 2, 2022 17:38
@cconcolato
Copy link
Collaborator

Please add an entry to the change log as well

In "their values SHALL match", change the word "match" to
"equal (except for precision issues, see note below)".

Exchange METADATA_TYPE_HDR_CLL and METADATA_TYPE_HDR_MDCV so that they
correspond to mdcv and clli in the right order.

Fix AOMediaCodec#138.
@wantehchang wantehchang marked this pull request as ready for review October 3, 2022 18:23
index.bs Outdated
@@ -646,3 +648,4 @@ If any character that is not '.', digits, part of the AV1 4CC, or a tier value i

Changes since v1.2.0 release {#changelist}
==========================================
- <a href="https://github.com/AOMediaCodec/av1-isobmff/pull/141"> Add a NOTE to clarify the mdcv box.</a>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I wanted to single-quote mdcv here, i.e., 'mdcv'. But the single quotes make the link generated by Bikeshed end at the word 'mdcv'. Do you know how to get around this?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we have to add something like:
Markup Shorthands: css no

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't know what that Markup Shorthands: css no does, but it solves the problem. I will write a separate pull request to add it.

@@ -360,10 +360,12 @@ The presentation times of AV1 samples are given by the ISOBMFF structures. <asse

<assert>The CleanApertureBox 'clap' SHOULD not be present.</assert>

<assert>For sample entries corresponding to HDR content, the MasteringDisplayColourVolumeBox 'mdcv' and ContentLightLevelBox 'clli' SHOULD be present</assert>, and <assert>their values SHALL match the values contained in the [=Metadata OBUs=] of type METADATA_TYPE_HDR_CLL and METADATA_TYPE_HDR_MDCV, if present (in the configOBUs or in the samples)</assert>.
<assert>For sample entries corresponding to HDR content, the MasteringDisplayColourVolumeBox 'mdcv' and ContentLightLevelBox 'clli' SHOULD be present</assert>, and <assert>their values SHALL equal (except for precision issues, see the second note below) the values contained in the [=Metadata OBUs=] of type METADATA_TYPE_HDR_MDCV and METADATA_TYPE_HDR_CLL, if present (in the configOBUs or in the samples)</assert>.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note that I exchanged METADATA_TYPE_HDR_CLL and METADATA_TYPE_HDR_MDCV here, so that they correspond to 'mdcv' and 'clli' in the right order.

This requires adding "Markup Shorthands: css no" to the metadata at the
top of this file.
The field names in 'mdcv' and METADATA_TYPE_HDR_MDCV are not the same.
@wantehchang
Copy link
Collaborator Author

I messed up this pull request in my fork of the repo, so I replaced this with a new pull request: #156. Sorry about the inconvenience.

@wantehchang wantehchang deleted the issue-13-add-note-on-mdcv branch October 11, 2022 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarifications on mdcv box
2 participants