summaryrefslogtreecommitdiff
path: root/v4l2-mfc-example/drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'v4l2-mfc-example/drm.h')
-rw-r--r--v4l2-mfc-example/drm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/v4l2-mfc-example/drm.h b/v4l2-mfc-example/drm.h
index ab2e4f0..5a6725c 100644
--- a/v4l2-mfc-example/drm.h
+++ b/v4l2-mfc-example/drm.h
@@ -23,12 +23,17 @@
#ifndef INCLUDE_DRM_H
#define INCLUDE_DRM_H
+#include <drm/drm_fourcc.h>
+#include <linux/videodev2.h>
+
#ifdef DRM
/* Open and mmap DRM buffer. Also read its properties */
int drm_open(struct instance *i);
/* Unmap and close the buffer */
void drm_close(struct instance *i);
+extern int exynos_drm_ipp_init(struct instance *i);
+void exynos_drm_ipp_close(struct instance *inst);
struct connector {
uint32_t id;
@@ -42,6 +47,8 @@ struct connector {
int swap_count;
};
+
+
#endif /* DRM */
#endif /* INCLUDE_DRM_H */