ipptest: add fimc and rotator test applications
[platform/upstream/libdrm.git] / tests / rottest / 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                                         void **addr,
7                                         unsigned int size);
8 extern void util_draw_buffer(void *addr, unsigned int stripe,
9                                 unsigned int width, unsigned int height,
10                                 unsigned int stride, unsigned int size);
11 extern int util_write_bmp(const char *file, const void *data,
12                                 unsigned int width, unsigned int height);
13 #endif