diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-05 15:18:11 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-05 15:18:11 +0300 |
commit | c81d9fda46665ebf2b2b98624c4c7ad01088a346 (patch) | |
tree | b84da38f9b4130b043035f0b2294ae8caa55f49b /source/blender/imbuf/IMB_imbuf.h | |
parent | c795d31a1faf15853a1e8315bb60f73f9a534df5 (diff) |
Optimize threaded scanline processor
Avoid memory allocation for task data.
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index bd19271ff65..2c97d9bc21f 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -583,7 +583,7 @@ void IMB_processor_apply_threaded(int buffer_lines, int handle_size, void *init_ typedef void (*ScanlineThreadFunc) (void *custom_data, int start_scanline, int num_scanlines); -void IMB_processor_apply_threaded_scanlines(int buffer_lines, +void IMB_processor_apply_threaded_scanlines(int total_scanlines, ScanlineThreadFunc do_thread, void *custom_data); |