[COMMON] tsmux: add header file
authorshinwon.lee <shinwon.lee@samsung.com>
Fri, 20 Jul 2018 07:47:35 +0000 (16:47 +0900)
committerJanghyuck Kim <janghyuck.kim@samsung.com>
Mon, 23 Jul 2018 05:39:08 +0000 (14:39 +0900)
Change-Id: Ifcf87f240479dcbec56ebf0efa8e6b81a81a52d6
Signed-off-by: shinwon.lee <shinwon.lee@samsung.com>
include/media/exynos_tsmux.h [new file with mode: 0644]

diff --git a/include/media/exynos_tsmux.h b/include/media/exynos_tsmux.h
new file mode 100644 (file)
index 0000000..6cbf2ee
--- /dev/null
@@ -0,0 +1,52 @@
+/*
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ *              http://www.samsung.com
+ *
+ * Header file for Exynos TSMUX driver
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef EXYNOS_TSMUX_H
+#define EXYNOS_TSMUX_H
+
+struct packetizing_param {
+       long time_stamp;
+};
+
+#ifdef CONFIG_VIDEO_EXYNOS_TSMUX
+int g2d_blending_start(int32_t index);
+int g2d_blending_end(int32_t index);
+int mfc_encoding_start(int32_t index);
+int mfc_encoding_end(void);
+int packetize(struct packetizing_param *param);
+void set_es_size(unsigned int size);
+#else
+int g2d_blending_start(int32_t index)
+{
+       return -1;
+}
+int g2d_blending_end(int32_t index)
+{
+       return -1;
+}
+int mfc_encoding_start(int32_t index)
+{
+       return -1;
+}
+int mfc_encoding_end(void)
+{
+       return -1;
+}
+static inline int packetize(struct packetizing_param *param)
+{
+       return -1;
+}
+static inline void set_es_size(unsigned int size)
+{
+}
+#endif
+
+#endif