ipptest: add fimc and rotator test applications
[platform/upstream/libdrm.git] / tests / ipptest / util.h
1 #ifndef __UTIL_H__
2 #define __UTIL_H__
3
4 extern int util_gem_create_mmap(int fd, struct drm_exynos_gem_create *gem,
5                                         struct drm_exynos_gem_mmap *mmap,
6                                         unsigned int size);
7 extern void util_draw_buffer(void *addr, unsigned int stripe,
8                                 unsigned int width, unsigned int height,
9                                 unsigned int stride, unsigned int size);
10 extern int util_write_bmp(const char *file, const void *data,
11                                 unsigned int width, unsigned int height);
12 #endif