-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fix issue 150 #202
Fix issue 150 #202
Conversation
Microsoft/Chimera_*_cropped_*.avif: - Truncated crop to integers - Stripped optional config OBUs Link-U/kimono*.crop.avif: - Reordered property associations so 'ispe' comes before transform properties - Rounded up crop to integers (that matches the PNGs) - Added NCLX with values 1,13,9,0 - Stripped optional config OBUs
@wantehchang @y-guyon |
I ran
It fails on
It works on It fails on
|
I looked into |
Ah. This is the old restriction on @y-guyon:
|
Should the MIAF version in the AVIF spec be bumped before this goes into effect? It does not even seem versioned at the moment: Line 65 in aa906e0
|
I don't think we're versioning any of the specs at the moment. I guess there are pros and cons to both approaches, but in general we try to make sure that MIAF changes don't cause issues for dependent specs. |
@leo-barnes wrote:
Is the new MIAF text you quoted in |
I was looking at ISO/IEC FDIS 23000-22, but can't remember if it actually got added to the earlier amendments or not. (I also thought the latest edition had proceeded further than the current stage... ISO is kind of slow.) |
Thank you, Leo. Since the two amendments were published in 2021, they do not have the new text you quoted in #202 (comment). |
@leo-barnes Leo: These two conditions for implicitly upsampling to 4:4:4 seem too strong for AVIF, because AV1 allows odd widths for 4:2:2 and 4:2:0 and odd heights for 4:2:0:
|
That seemed strange to me too, there is usually no issue with odd dimensions. However it matters for the offset coordinates so I did not think further about it. |
Pedantic interpretation: Pragmatically: |
@leo-barnes The issue of how to crop subsampled content to odd widths or heights also occurred to me. I worked out the details and concluded that the naive way to do that works, whether we will upsample by nearest neighbor or bilinear interpolation after cropping naively. Note: With clap, we crop the decoded image, so it does not matter whether AV1 internally pads odd subsampled content. I understand why MIAF has those conditions on |
@leo-barnes I just realized that I assumed the "center" chroma sample position in my analysis. I am not sure if my conclusions also apply if the chroma sample position is "left" or "top left". |
Microsoft/Chimera_cropped.avif:
Link-U/kimono*.crop.avif:
This closes issue #150