diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-06 00:33:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-06 00:47:22 +0300 |
commit | 9b89071c9cdd2a341ba16db44cd4625303fb6e2f (patch) | |
tree | d7cc4e415a8df68f080705051b9cb64b72b46399 /source/blender/imbuf/IMB_imbuf.h | |
parent | 3064270e132693d1dce1f273381a3120b3953d90 (diff) |
Multi-thread generated image creation
Gives about 2x speedup on laptop when creating new hires generated image,
regardless of it's type (color, color grid, uv grid).
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 2c97d9bc21f..383a5f19c4a 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -439,6 +439,9 @@ void IMB_buffer_float_from_byte(float *rect_to, const unsigned char *rect_from, void IMB_buffer_float_from_float(float *rect_to, const float *rect_from, int channels_from, int profile_to, int profile_from, bool predivide, int width, int height, int stride_to, int stride_from); +void IMB_buffer_float_from_float_threaded(float *rect_to, const float *rect_from, + int channels_from, int profile_to, int profile_from, bool predivide, + int width, int height, int stride_to, int stride_from); void IMB_buffer_float_from_float_mask(float *rect_to, const float *rect_from, int channels_from, int width, int height, int stride_to, int stride_from, char *mask); void IMB_buffer_byte_from_byte(unsigned char *rect_to, const unsigned char *rect_from, |