Gerd Hoffmann | d6d94fc | 2010-06-14 09:54:27 +0200 | [diff] [blame] | 1 | #ifndef __QEMU_PFLIB_H |
| 2 | #define __QEMU_PFLIB_H |
| 3 | |
| 4 | /* |
| 5 | * PixelFormat conversion library. |
| 6 | * |
| 7 | * Author: Gerd Hoffmann <kraxel@redhat.com> |
| 8 | * |
| 9 | * This work is licensed under the terms of the GNU GPL, version 2. See |
| 10 | * the COPYING file in the top-level directory. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | typedef struct QemuPfConv QemuPfConv; |
| 15 | |
| 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); |
| 19 | |
| 20 | #endif |