WIP: IMB: Allow BW images in byte to float conversion #118622

Draft
Omar Emara wants to merge 8 commits from OmarEmaraDev/blender:refactor-imbuf-byte-to-float into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

8 Commits

Author SHA1 Message Date
Omar Emara 8788ef8ea2 Address review
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-03-15 08:43:46 +02:00
Omar Emara c6838e8d2c Correct pixel stride 2024-03-14 11:06:37 +02:00
Omar Emara 137268b60f Merge branch 'main' into refactor-imbuf-byte-to-float 2024-03-14 11:02:48 +02:00
Omar Emara 6a9a46abef Correct allocation size 2024-03-08 16:29:25 +02:00
Omar Emara 18cc38c15e Address comments 2024-03-08 16:26:53 +02:00
Omar Emara e9bf508901 Address some comments 2024-03-08 10:57:40 +02:00
Omar Emara 7c26e41787 Merge branch 'main' into refactor-imbuf-byte-to-float 2024-03-08 09:55:22 +02:00
Omar Emara cd07fe75d1 IMB: Allow BW images in byte to float conversion
This patch refactors the IMB_float_from_rect function to work with any
number of channels, which is useful for RGB and BW images. This
consequently also refactors the IMB_float_from_rect_ex, and
IMB_buffer_float_from_byte function to allow any number of channels.
2024-02-22 16:38:50 +02:00