diff options
author | Mihael Koep <koep@schneide.com> | 2014-09-09 13:57:32 +0200 |
---|---|---|
committer | Mihael Koep <koep@schneide.com> | 2014-09-17 09:45:13 +0200 |
commit | f39be2686446c41a5fbf93eba7fb40ca99efcc3a (patch) | |
tree | e0c2a7d67a6677013fb176b2d374b468c7dcd470 /plugins/dexela/software-roi.h | |
parent | 05523b118bf396f33528b7aa59db5ad1b7378d54 (diff) | |
download | libuca-f39be2686446c41a5fbf93eba7fb40ca99efcc3a.tar.gz libuca-f39be2686446c41a5fbf93eba7fb40ca99efcc3a.tar.bz2 libuca-f39be2686446c41a5fbf93eba7fb40ca99efcc3a.tar.xz libuca-f39be2686446c41a5fbf93eba7fb40ca99efcc3a.zip |
Add software roi feature to dexela plugin
Diffstat (limited to 'plugins/dexela/software-roi.h')
-rw-r--r-- | plugins/dexela/software-roi.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/dexela/software-roi.h b/plugins/dexela/software-roi.h new file mode 100644 index 0000000..e2916f0 --- /dev/null +++ b/plugins/dexela/software-roi.h @@ -0,0 +1,18 @@ +#ifndef SOFTWAREROI_H +#define SOFTWAREROI_H +#include <glib.h> + +/** + * @brief apply_software_roi Extracts the pixels defined by x, y, roiWidth, roiHeight from + * the src array and writes them into the dest buffer + * @param src + * @param srcWidth + * @param dest + * @param x + * @param y + * @param roiWidth + * @param roiHeight + */ +void apply_software_roi(const guchar* src, guint srcWidth, guchar* dest, guint x, guint y, guint roiWidth, guint roiHeight); + +#endif // SOFTWAREROI_H |