diff options
author | Mihael Koep <koep@schneide.com> | 2015-08-06 12:44:54 +0200 |
---|---|---|
committer | Mihael Koep <koep@schneide.com> | 2015-08-06 13:01:11 +0200 |
commit | 89ced9478f200facde423423df8c1718752f8a6c (patch) | |
tree | 61d9ea2b56590a884b063a363e2d907ffe9ac3b2 /plugins/dexela/software-roi.c | |
parent | f1cb055bdd2cd18ecd09c1f7504c825eb884aaf0 (diff) | |
download | libuca-89ced9478f200facde423423df8c1718752f8a6c.tar.gz libuca-89ced9478f200facde423423df8c1718752f8a6c.tar.bz2 libuca-89ced9478f200facde423423df8c1718752f8a6c.tar.xz libuca-89ced9478f200facde423423df8c1718752f8a6c.zip |
Remove ANKA plugins and change versioning scheme for bundled plugins
ANKA plugins are developed and distributed separately like other plugins
depending on vendor SDKs.
The bundled plugins use libuca version as their version and depend on it directly.
This ensures that they always match the libuca version and makes versioning more
transparent for the end users.
Conflicts:
plugins/mock/CMakeLists.txt
Diffstat (limited to 'plugins/dexela/software-roi.c')
-rw-r--r-- | plugins/dexela/software-roi.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/dexela/software-roi.c b/plugins/dexela/software-roi.c deleted file mode 100644 index 6056dec..0000000 --- a/plugins/dexela/software-roi.c +++ /dev/null @@ -1,12 +0,0 @@ -#include "software-roi.h" -#include <string.h> - -void apply_software_roi(const guchar* src, guint srcWidth, guint bytesPerPixel, guchar* dest, guint x, guint y, guint roiWidth, guint roiHeight) -{ - for (guint row = 0; row < roiHeight; row++) { - guint roiWidthInBytes = roiWidth * bytesPerPixel; - guint rowOffset = srcWidth * bytesPerPixel * (y + row); - guint offset = rowOffset + x * bytesPerPixel; - memcpy(dest + row * roiWidthInBytes, src + offset, roiWidthInBytes); - } -} |