Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-05-05 14:15:51 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-05-05 14:16:56 +0300
commitc795d31a1faf15853a1e8315bb60f73f9a534df5 (patch)
tree377331b06cf52a52e1e1524b728baa49aae88fa8 /source/blender/imbuf/IMB_imbuf.h
parentf5dcb137f1fb90d80b03ce4db8217be13232dfa5 (diff)
Simplify scanline threaded processor used by GPU_verify_image
Just avoid some unneeded initialization functions when the threaded processor is simple enough to only depend on current chunk start scanline and number of scanlines.
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r--source/blender/imbuf/IMB_imbuf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h
index 043f1602a76..bd19271ff65 100644
--- a/source/blender/imbuf/IMB_imbuf.h
+++ b/source/blender/imbuf/IMB_imbuf.h
@@ -580,6 +580,14 @@ void IMB_processor_apply_threaded(int buffer_lines, int handle_size, void *init_
void *customdata),
void *(do_thread) (void *));
+typedef void (*ScanlineThreadFunc) (void *custom_data,
+ int start_scanline,
+ int num_scanlines);
+void IMB_processor_apply_threaded_scanlines(int buffer_lines,
+ ScanlineThreadFunc do_thread,
+ void *custom_data);
+
+
/* ffmpeg */
void IMB_ffmpeg_init(void);
const char *IMB_ffmpeg_last_error(void);