diff --git a/src/avif/img/Crop.hpp b/src/avif/img/Crop.hpp index 6821bf0..d183791 100644 --- a/src/avif/img/Crop.hpp +++ b/src/avif/img/Crop.hpp @@ -13,6 +13,9 @@ namespace avif::img { template Image crop(Image const& src, CleanApertureBox const& clap) { + // ISO/IEC 14496-12:2015(E) + // p.157 + float const horizOff = static_cast(clap.horizOffN)/static_cast(clap.horizOffD); float const vertOff = static_cast(clap.vertOffN)/static_cast(clap.vertOffD);