#define ION_IOC_PRELOAD_ALLOC _IOW(ION_IOC_MAGIC, 8, struct ion_preload_data)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define ION_IOC_CUSTOM _IOWR(ION_IOC_MAGIC, 6, struct ion_custom_data)
+
+struct ion_handle;
+
+int ion_open();
+int ion_close(int fd);
+int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
+ unsigned int flags, ion_user_handle_t *handle);
+int ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask,
+ unsigned int flags, int *handle_fd);
+int ion_sync_fd(int fd, int handle_fd);
+int ion_sync_fd_partial(int fd, int handle_fd, off_t offset, size_t len);
+int ion_free(int fd, ion_user_handle_t handle);
+int ion_map(int fd, ion_user_handle_t handle, size_t length, int prot,
+ int flags, off_t offset, unsigned char **ptr, int *map_fd);
+int ion_share(int fd, ion_user_handle_t handle, int *share_fd);
+int ion_import(int fd, int share_fd, ion_user_handle_t *handle);
#endif
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-I$(CURDIR)/mfc_headers \
-I$(top_srcdir)/openmax/include/khronos \
-I$(top_srcdir)/openmax/osal \
+ -I$(top_srcdir)/exynos/libion/kernel-headers/linux \
$(EXYNOSCOMMON_CFLAGS)
libExynosVideoApi_la_CFLAGS += -DCID_SUPPORT -DUSE_DEFINE_H264_SEI_TYPE -DUSE_MFC_MEDIA -DUSE_ORIGINAL_HEADER \
-I$(top_srcdir)/openmax/core \
-I$(top_srcdir)/openmax/osal \
-I$(top_srcdir)/openmax/component/common \
+ -I$(top_srcdir)/exynos/libion/kernel-headers/linux \
-I$(top_srcdir)/exynos/libvideocodec/include
libExynosOMX_OSAL_la_CFLAGS += -DUSE_KHRONOS_OMX_HEADER -DUSE_DMA_BUF -DUSE_METADATABUFFERTYPE -DUSE_STOREMETADATA
libExynosOMX_OSAL_la_CFLAGS += -Wno-unused-label