qapi: add QAPI dealloc visitor
[qemu/mdroth.git] / pflib.h
blobb70c313acfd5b27334a27df1a7e4e840dd89eb65
1 #ifndef __QEMU_PFLIB_H
2 #define __QEMU_PFLIB_H
4 /*
5 * PixelFormat conversion library.
7 * Author: Gerd Hoffmann <kraxel@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
14 typedef struct QemuPfConv QemuPfConv;
16 QemuPfConv *qemu_pf_conv_get(PixelFormat *dst, PixelFormat *src);
17 void qemu_pf_conv_run(QemuPfConv *conv, void *dst, void *src, uint32_t cnt);
18 void qemu_pf_conv_put(QemuPfConv *conv);
20 #endif