diff options
author | Mateusz Krawczuk <m.krawczuk@samsung.com> | 2015-06-12 20:17:26 +0200 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2015-07-09 15:55:04 +0200 |
commit | e0679a35cb7d216948ddd4cd8c17940fdb872a9e (patch) | |
tree | 461356432e5331ef6e2330ca57660cded3b81bdc /v4l2-mfc-example/drm.h | |
parent | 2915635a0a4d03fe442399a679a42a92b33c8b99 (diff) |
v4l2-mfc-example: Adding DRM IPP code and refactoring old DRM
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
Diffstat (limited to 'v4l2-mfc-example/drm.h')
-rw-r--r-- | v4l2-mfc-example/drm.h | 7 |
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 */ |