-
Notifications
You must be signed in to change notification settings - Fork 12
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
added dWLm chunk #391
base: main
Are you sure you want to change the base?
added dWLm chunk #391
Changes from all commits
e93a3e4
5977829
8301e02
178ad13
fd0fc79
7a0a4bf
cdcaf2f
fa30e77
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -291,8 +291,19 @@ | |||||
publisher: "ITU", | ||||||
date: "2021-04", | ||||||
href: "https://www.itu.int/ITU-T/recommendations/rec.aspx?rec=14652" | ||||||
} | ||||||
} | ||||||
}, | ||||||
"ITU-R BT.2408": { | ||||||
title: "Guidance for operational practices in HDR television production", | ||||||
publisher: "ITU", | ||||||
rawDate: "2023-09", | ||||||
href: "https://www.itu.int/pub/R-REP-BT.2408" | ||||||
}, | ||||||
"ISO/TS 22028-5": { | ||||||
title: "Part 5: High dynamic range and wide colour gamut encoding for still images (HDR/WCG)", | ||||||
publisher: "ISO", | ||||||
rawDate: "2023-06", | ||||||
href: "https://www.iso.org/standard/81863.html" | ||||||
} | ||||||
} | ||||||
</script> | ||||||
</head> | ||||||
|
@@ -4233,6 +4244,60 @@ <h2><span class="chunk">cLLi</span> Content Light Level Information</h2> | |||||
</section> | ||||||
</section> | ||||||
|
||||||
<section id="dWLm-chunk"> | ||||||
<h2><span class="chunk">dWLm</span> Diffuse white luminance metadata</h2> | ||||||
<p>The two-byte chunk type field contains the hexadecimal values</p> | ||||||
|
||||||
<pre> | ||||||
<!-- xx xx xx xx | ||||||
</pre> | ||||||
svgeesus marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
<p>If present, the <span class="chunk">dWLm</span> chunk stores the luminance value | ||||||
of the images nominal diffuse white, in cd/m<sup>2</sup> as defined in [ISO/TS 22028-5]:</p> | ||||||
|
||||||
<p>If the luminance of the diffuse white differs from the nominal luminance for an HDR reference display's | ||||||
diffuse white as defined in [[ITU-R-BT.2408]], the contents diffuse white luminance level | ||||||
should be indicated using this metadata.</p> | ||||||
|
||||||
<p>The following specifies the syntax of the <span class="chunk">dWLn</span> chunk:</p> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
<table id="dWLn-chunk-syntax" class="numbered simple"> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<caption>dWLn chunk components</caption> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
<tr> | ||||||
<th>Name</th> | ||||||
<th>Size</th> | ||||||
<th>Divisor value</th> | ||||||
</tr> | ||||||
|
||||||
<tr> | ||||||
<td>Diffuse white luminance metadata</td> | ||||||
<td>4 bytes</td> | ||||||
<td>1 cd/m<sup>2</sup></td> | ||||||
</tr> | ||||||
|
||||||
</table> | ||||||
|
||||||
<aside class="example"> | ||||||
Example <span class="chunk">dWLn</span> Diffuse white luminance metadata: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
<table id="dWLn-diffuse-white-luminance-metadata-example" class="numbered simple"> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<tr> | ||||||
<th>Actual value</th> | ||||||
<th>Stored Decimal value</th> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
(although I would prefer to remove this column, as it's redundant because it shows the same information as Actual value) |
||||||
<th>Stored 2-byte unsigned value</th> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
We don't need to say how a uint32_t works, do we? The other chunks don't. |
||||||
</tr> | ||||||
|
||||||
<tr> | ||||||
<td>203 cd/m<sup>2</sup></td> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 203 is a poor example because this metadata is to be used when the diffuse white luminance is not 203!
Suggested change
|
||||||
<td>203</td> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<td>CB 00</td> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I need to double check the endianness here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should be a PNG unsigned four byte integer anyway, like cLLi There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
We don't need to say how a uint32_t works, do we? |
||||||
</tr> | ||||||
</table> | ||||||
</aside> | ||||||
</section> | ||||||
</section> | ||||||
|
||||||
|
||||||
<!-- Maintain a fragment named "11textinfo" to preserve incoming links to it --> | ||||||
<section id="11textinfo"> | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest renaming dWLm chunk to conform with HEIF effort which labels it ndwt (Nominal Diffuse White)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I support this idea: nDWt.