Age | Commit message (Collapse) | Author |
|
|
|
|
|
else if's
|
|
|
|
|
|
* correct cmake/clang warning.
* use same include guard names as everywhere else for BLI math inline.
* correct define for madd_sh_shfl
|
|
|
|
made some small edits
- removed changes to AVI reading since the data types are apart of the format spec.
- absf -> abs for a double value in render code.
|
|
many, also don't check uchar range after casting to int, this can still cause
overflow with large float values.
|
|
rgb_uchar_to_float and swap args (math functions mostly have dest arg first like strcpy).
|
|
linearrgb_to_srgb_uchar3, was being done inline.
|
|
* Accelerated sRGB <=> linear conversion using lookup table, this can speed up
loading of images in the compositor and simple renders quite a bit.
* Dithering now uses the Floyd-Steinberg algorithm. Previously it would simply
randomize each pixel slightly, adding noise, now that should be reduced.
Patch #29309 by David M.
|
|
byte => float, float => float, byte => byte conversions with profile, dither
and predivide. Previously code for this was spread out too much.
There should be no functional changes, this is so the predivide/table/dither
patches can work correctly.
|