You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/Atom/Asset/ImageProcessingAtom/Code/Source
Tommy Walton 7de6bc5b23
Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h (#6989)
* Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Rename DivideByMultiple2 back to DivideByMultiple, now that I've confirmed it's not in use in the codebase. RHI::DivideByMultiple can be fully deprecated in favor of AZ::DivideAndRoundUp at a later date, once the deprecation strategy has been finalized.

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Update based on PR feedback

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Switched from std::numeric_limits to AZStd::numeric_limits and updated the header to indicate it works for non-power of two alignments, but that SizeAlignUp is more efficient if the alignment is a power of 2

Signed-off-by: Tommy Walton <waltont@amazon.com>

* Added missing arguments to the assert, and a missing namespace and include that failed to compile on non-unity builds

Signed-off-by: Tommy Walton <waltont@amazon.com>
4 years ago
..
BuilderSettings Moved the ImageProcessingDefines to the Include folder and added it to the header only target 4 years ago
Compressors Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h (#6989) 4 years ago
Converters Added support for several UNORM_SRGB formats 4 years ago
Editor Collection of miscellaneous PAL changes required for restricted platforms. (#6482) 4 years ago
ImageLoader LYN-8837 o3de Material Editor - Texture Settings Editor - Hangs when converting texture (#6359) 4 years ago
Platform GCC Support for Linux 4 years ago
Previewer Merge branch 'development' into cmake/SPEC-7179 4 years ago
Processing Add RoundUpToMultiple and DivideAndRoundUp functions to MathUtils.h (#6989) 4 years ago
Thumbnail Removing thumbnail context from thumbnail system 4 years ago
ImageBuilderBaseType.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ImageBuilderComponent.cpp Moved the ImageProcessingDefines to the Include folder and added it to the header only target 4 years ago
ImageBuilderComponent.h Deprecate profiler categories based on global enum 4 years ago
ImageProcessingModule.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
ImageProcessingSystemComponent.cpp Moved the ImageProcessingDefines to the Include folder and added it to the header only target 4 years ago
ImageProcessingSystemComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago