summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authortaeyoung <ty317.kim@samsung.com>2016-11-30 17:02:08 +0900
committertaeyoung <ty317.kim@samsung.com>2016-11-30 18:58:39 +0900
commit1a390a1c5d09cf94ea0aa76038b959e965f4d86c (patch)
tree782d7c96b506a0d6b3683bf8bdd7f09cb4b35f86 /hw
parent4a99885731063078090b78460003a18b51a796fe (diff)
downloadlibdevice-node-1a390a1c5d09cf94ea0aa76038b959e965f4d86c.tar.gz
libdevice-node-1a390a1c5d09cf94ea0aa76038b959e965f4d86c.tar.bz2
libdevice-node-1a390a1c5d09cf94ea0aa76038b959e965f4d86c.zip
Change-Id: Ia6e66afdd517f9678c5dd2923c19cf5a7f7e54ee Signed-off-by: taeyoung <ty317.kim@samsung.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/display_internal.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/hw/display_internal.h b/hw/display_internal.h
new file mode 100644
index 0000000..c07ba3b
--- /dev/null
+++ b/hw/display_internal.h
@@ -0,0 +1,74 @@
+/*
+ * libdevice-node
+ *
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*******************************************/
+/* THIS IS THE HAL FOR EXPERIMENTAL USAGES */
+/*******************************************/
+
+
+#ifndef __HW_DISPLAY_INTERNAL_H__
+#define __HW_DISPLAY_INTERNAL_H__
+
+#include <hw/common.h>
+
+/**
+ * The id of this device
+ */
+#define DISPLAY_INTERNAL_HARDWARE_DEVICE_ID "display_internal"
+
+/**
+ * The version of this device
+ */
+#define DISPLAY_INTERNAL_HARDWARE_DEVICE_VERSION MAKE_VERSION(0,2)
+
+typedef enum display_internal_enhance_mode {
+ ENHANCE_MODE_NONE = 1001,
+ ENHANCE_MODE_DYNAMIC,
+ ENHANCE_MODE_STANDARD,
+ ENHANCE_MODE_NATURAL,
+ ENHANCE_MODE_GRAYSCALE,
+ ENHANCE_MODE_MOVIE,
+ ENHANCE_MODE_AUTO,
+} display_internal_enhance_mode_e;
+
+typedef enum display_internal_enhance_scenario {
+ ENHANCE_SCENARIO_NONE = 2001,
+ ENHANCE_SCENARIO_NORMAL,
+ ENHANCE_SCENARIO_GALLERY,
+ ENHANCE_SCENARIO_VIDEO,
+ ENHANCE_SCENARIO_VTCALL,
+ ENHANCE_SCENARIO_CAMERA,
+ ENHANCE_SCENARIO_BROWSER,
+ ENHANCE_SCENARIO_NEGATIVE,
+ ENHANCE_SCENARIO_EMAIL,
+ ENHANCE_SCENARIO_EBOOK,
+ ENHANCE_SCENARIO_GRAYSCALE,
+} display_intermal_enhance_scenario_e;
+
+struct display_internal_device {
+ struct hw_common common;
+
+ int (*set_enhance_mode)(display_internal_enhance_mode_e mode);
+ int (*get_enhance_mode)(display_internal_enhance_mode_e *mode);
+
+ int (*set_enhance_scenario)(display_internal_enhance_scenario_e scenario);
+ int (*get_enhance_scenario)(display_internal_enhance_scenario_e *scenario);
+
+};
+
+#endif