Changes between Version 2 and Version 3 of docs_architecture


Ignore:
Timestamp:
Feb 20, 2011, 9:35:52 AM (14 years ago)
Author:
Matthias Vogelgesang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • docs_architecture

    v2 v3  
    2929  * Filtering
    3030  * Back-projection
     31* Laminography-related
    3132
    3233== Design ==
     
    5859=== Plugins ===
    5960
    60 A plugin is a shared object with well-defined entry functions and a set of filter functions. A plugin must provide
     61A plugin is a shared object with well-defined entry functions and a set of filter functions. The main purpose is interfacing with other graphics processing libraries or languages without having access to the sources of the core library, for example
    6162
    62 * `plugin_init(void)` initializing the plugin if needed,
    63 * `plugin_destroy(void)` freeing any structures created by the plugin,
    64 * `plugin_get_filter_names(void)` returning an array of filter names that are provided by the plugins and are also the corresponding function names to call,
    65 * `plugin_get_filter_description(char *filter_name)` returning a human-readable description of the purpose of filter `filter_name` and
     63* OpenCV,
     64* ImageMagick.
     65
     66A plugin must provide
     67
     68* `plugin_init(void)` to initialize the plugin if needed,
     69* `plugin_destroy(void)` to free any structures created by the plugin,
     70* `plugin_get_filter_names(void)` to return an array of filter names that are provided by the plugins and are also the corresponding function names to call,
     71* `plugin_get_filter_description(char *filter_name)` to return a human-readable description of the purpose of filter `filter_name` and
    6672* `filter_foo(char *data, int32_t width, int32_t height, int32_t bytes_per_pixel)` to call the filter.
    6773