-
Notifications
You must be signed in to change notification settings - Fork 206
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
Experimental reduced HEIF header #1432
Conversation
ac3be3e
to
bc92180
Compare
I tried this patch on 889 random PNG images from the web.
generates headers of 282 bytes and 42 bytes without and with |
f47f892
to
cb0e1b8
Compare
dcfbdb5
to
23066f8
Compare
|
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.
Just a few minor comments!
37d75bc
to
288ac03
Compare
Rebased to include #1506. |
288ac03
to
c497e89
Compare
Rebased because |
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.
Thanks for the changes!
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.
Yannis: I only reviewed the public header avif.h. I suggest a change in anticipation of the libavif 1.0.0 release.
a9041af
to
0159461
Compare
0159461
to
06d9d09
Compare
Add AVIF_ENABLE_EXPERIMENTAL_AVIR flag. Remove a few hundred bytes of container boilerplate for simple images. This prototype uses a small box that expands in meaning to a full meta box with all defined items and properties. Warning: This feature is experimental and forbidden by the current AVIF specification.
Split avifEncoderWriteFileTypeBoxAndCondensedImageBox() into avifEncoderWriteCondensedImageBox() for simpler extendedMeta freeing.
[skip ci]
06d9d09
to
c1cf4d4
Compare
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.
Yannis: I verified that the pull request is essentially a no-op if AVIF_ENABLE_EXPERIMENTAL_GAIN_MAP
is not defined. I didn't review the code inside #if defined(AVIF_ENABLE_EXPERIMENTAL_AVIR)
.
Just three more minor comments.
Remove a few hundred bytes of container boilerplate for simple images. This prototype uses a small box that expands in meaning to a full meta box with all defined items and properties.
Warning: This feature is experimental and forbidden by the current AVIF specification.