forked from AcademySoftwareFoundation/OpenImageIO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: imagebufalgo.h mark, warn, or remove various deprecations (Acade…
…mySoftwareFoundation#4344) * The old versions (deprecated since 2.0) of IBA::compare() and computePixelStats() that took a reference to the CompareResults or PixelStats structure now have deprecation warnings. Use the versions that return the structure instead. * The deprecated (often since as far back as 2.0) versions of functions that took raw pointers to color values now have deprecations warnings. Use the versions that take `span<>` or `cspan<>` instead. These include versions of: isConstantColor, isConstantChannel, isMonochrome, isConstantChannel, colorconvert, fill, checker, add, sub, absdiff, mul, div, mad, pow, channel_sum, channels, clamp, color_count, color_range_check, render_text. * The `histogram()` function that takes a reference to a result vector (deprecated since 2.0 and previously warned) has been removed. Use the version that returns the vector instead. The `histogram_draw()` (deprecated since 2.0 and previously warned) has been removed and has no replacement since it was always silly. * The versions of ociodisplay that lacked an `inverse` parameter, which were marked as deprecated since 2.5, now have deprecation warnings. Use the version that takes an `inverse` bool. * The OpenCV-related functions that take old-style IplImage pointers (deprecated since 2.0) have been removed. Use the modern ones that use cv::Mat. * The pre-KWArgs versions of resize, warp, and fit now have deprecation warnings. Use the versions that take KWArgs instead. * IBA::type_merge, deprecated since 2.3, now has a deprecation warning. Instead, use TypeDesc::basetype_merge(). All of the IBA functions with deprecation warnings are additionally implemented inline, so that they can be easily removed later if necessary without an ABI break at that time. Signed-off-by: Larry Gritz <lg@larrygritz.com>
- Loading branch information
Showing
27 changed files
with
400 additions
and
885 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.