Update from product codes
authorJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 16 Nov 2015 08:18:10 +0000 (17:18 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 17 Nov 2015 01:42:02 +0000 (10:42 +0900)
Until commit aba2aa12985eef4765caa09dcfee6efd0f93fa33

Change-Id: I7c2230b51d05d959ee16b83b913c95cd0cd891fd
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
include/devman_plugin_intf.h
src/device_manager_plugin_sc7727.c
src/test_devices.c

index 0d5a308..0048391 100644 (file)
@@ -76,8 +76,18 @@ enum {
        WM_MODE_MAX = WM_MODE_OUTDOOR
 };
 
+enum accessibility {
+       ACCESSIBILITY_OFF,
+       NEGATIVE,
+       COLOR_BLIND,
+       SCREEN_CURTAIN,
+       GRAYSCALE,
+       GRAYSCALE_NEGATIVE,
+       ACCESSIBILITY_MAX
+};
+
 struct color_blind_info {
-       bool power;
+       enum accessibility mode;
        unsigned short RrCr;
        unsigned short RgCg;
        unsigned short RbCb;
index ab0308e..cabb85b 100644 (file)
@@ -655,6 +655,8 @@ enum image_enhance_mode {
        MODE_STANDARD,
        MODE_NATURAL,
        MODE_MOVIE,
+       MODE_AUTO,
+       MODE_MAX,
 };
 
 /* scenario - ui, gallery, video, vtcall, camera, browser, negative, bypass */
@@ -666,7 +668,10 @@ enum image_enhance_scenario {
        SCENARIO_CAMERA,
        SCENARIO_BROWSER,
        SCENARIO_NEGATIVE,
-       SCENARIO_BYPASS,
+       SCENARIO_EMAIL,
+       SCENARIO_EBOOK,
+       SCEANRIO_GRAY,
+       SCENARIO_MAX,
 };
 
 /* tone - normal, warm, cold */
@@ -707,7 +712,7 @@ const char *image_enhance_str[INDEX_MAX] = {
        "tone",
        "outdoor",
        "tune",
-       "color_blind",
+       "accessibility",
        "cabc",
 };
 
@@ -867,7 +872,7 @@ int OEM_sys_set_image_enhance_color_blind(void *value)
 
        snprintf(path, MAX_NAME, IMAGE_ENHANCE_PATH, image_enhance_str[INDEX_COLOR_BLIND]);
        sprintf(value_string, "%d 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",\
-               color_blind_value->power,\
+               color_blind_value->mode,\
                color_blind_value->RrCr, color_blind_value->RgCg, color_blind_value->RbCb,\
                color_blind_value->GrMr, color_blind_value->GgMg, color_blind_value->GbMb,\
                color_blind_value->BrYr, color_blind_value->BgYg, color_blind_value->BbYb);
index 2b137da..515da46 100644 (file)
@@ -619,7 +619,7 @@ const char *image_enhance_str[INDEX_MAX] = {
        "tone",
        "outdoor",
        "tune",
-       "color_blind",
+       "accessibility",
        "cabc",
 };
 
@@ -779,7 +779,7 @@ int OEM_sys_set_image_enhance_color_blind(void *value)
 
        snprintf(path, MAX_NAME, IMAGE_ENHANCE_PATH, image_enhance_str[INDEX_COLOR_BLIND]);
        sprintf(value_string, "%d 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",\
-               color_blind_value->power,\
+               color_blind_value->mode,\
                color_blind_value->RrCr, color_blind_value->RgCg, color_blind_value->RbCb,\
                color_blind_value->GrMr, color_blind_value->GgMg, color_blind_value->GbMb,\
                color_blind_value->BrYr, color_blind_value->BgYg, color_blind_value->BbYb);