diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-07 20:47:46 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-07 20:47:46 +0400 |
commit | 6cf1a9834b82ce18d5b5358fe431b48037f1bca4 (patch) | |
tree | 5f26a61e25eb477261994a5fb38d909813cff157 /source/blender/imbuf/IMB_imbuf.h | |
parent | 258b4a8dad5b357b465a14a3e3a32fe6fafcd767 (diff) |
Made image buffer threaded processor generic function,
so color management could use the same routines.
Should be no functional changes.
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 1a68d3c1f09..8d7c4bd55bf 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -498,5 +498,11 @@ void imb_freemipmapImBuf(struct ImBuf *ibuf); short imb_addtilesImBuf(struct ImBuf *ibuf); void imb_freetilesImBuf(struct ImBuf *ibuf); +/* threaded processors */ +void IMB_processor_apply_threaded(int buffer_lines, int handle_size, void *init_customdata, + void (init_handle) (void *handle, int start_line, int tot_line, + void *customdata), + void *(do_thread) (void *)); + #endif |