aboutsummaryrefslogtreecommitdiff
path: root/pflib.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-14 09:54:27 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-09-21 18:35:30 +0200
commitd6d94fc327af7e7c1343c091317e1ed8786906ad (patch)
tree1ec15987b844cc6c1661ab3e669607ffbd94b7e2 /pflib.h
parent526c523781fd3684a1902322b1d67785eae15f5b (diff)
downloadqemu-d6d94fc327af7e7c1343c091317e1ed8786906ad.zip
qemu-d6d94fc327af7e7c1343c091317e1ed8786906ad.tar.gz
qemu-d6d94fc327af7e7c1343c091317e1ed8786906ad.tar.bz2
add pflib: PixelFormat conversion library.
Diffstat (limited to 'pflib.h')
-rw-r--r--pflib.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/pflib.h b/pflib.h
new file mode 100644
index 0000000..b70c313
--- /dev/null
+++ b/pflib.h
@@ -0,0 +1,20 @@
+#ifndef __QEMU_PFLIB_H
+#define __QEMU_PFLIB_H
+
+/*
+ * PixelFormat conversion library.
+ *
+ * Author: Gerd Hoffmann <kraxel@redhat.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2. See
+ * the COPYING file in the top-level directory.
+ *
+ */
+
+typedef struct QemuPfConv QemuPfConv;
+
+QemuPfConv *qemu_pf_conv_get(PixelFormat *dst, PixelFormat *src);
+void qemu_pf_conv_run(QemuPfConv *conv, void *dst, void *src, uint32_t cnt);
+void qemu_pf_conv_put(QemuPfConv *conv);
+
+#endif