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;
MODE_STANDARD,
MODE_NATURAL,
MODE_MOVIE,
+ MODE_AUTO,
+ MODE_MAX,
};
/* scenario - ui, gallery, video, vtcall, camera, browser, negative, bypass */
SCENARIO_CAMERA,
SCENARIO_BROWSER,
SCENARIO_NEGATIVE,
- SCENARIO_BYPASS,
+ SCENARIO_EMAIL,
+ SCENARIO_EBOOK,
+ SCEANRIO_GRAY,
+ SCENARIO_MAX,
};
/* tone - normal, warm, cold */
"tone",
"outdoor",
"tune",
- "color_blind",
+ "accessibility",
"cabc",
};
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);
"tone",
"outdoor",
"tune",
- "color_blind",
+ "accessibility",
"cabc",
};
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);