From 962e9adc2f281b0669fbec2e7f8b011beb726d8c Mon Sep 17 00:00:00 2001 From: Wonsik Kim Date: Sat, 19 Jul 2014 16:01:57 +0900 Subject: [PATCH] Reorder hardware types & remove verbose comments Reorder hardware types so that older types comes first roughly. This would make it more natural to add newer hardware types as they come. In addition, remove verbose comments where the meaning is obvious from the name. Change-Id: I275e9e608c8c2392e3f7ec2c5d81743059f2d36b --- include/hardware/tv_input.h | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/include/hardware/tv_input.h b/include/hardware/tv_input.h index e721caa..a94e4ea 100644 --- a/include/hardware/tv_input.h +++ b/include/hardware/tv_input.h @@ -63,14 +63,19 @@ typedef struct tv_input_module { /*****************************************************************************/ enum { - /* HDMI */ - TV_INPUT_TYPE_HDMI = 1, - - /* Built-in tuners. */ - TV_INPUT_TYPE_BUILT_IN_TUNER = 2, - - /* Passthrough */ - TV_INPUT_TYPE_PASSTHROUGH = 3, + /* Generic hardware. */ + TV_INPUT_TYPE_OTHER_HARDWARE = 1, + /* Tuner. (e.g. built-in terrestrial tuner) */ + TV_INPUT_TYPE_TUNER = 2, + TV_INPUT_TYPE_COMPOSITE = 3, + TV_INPUT_TYPE_SVIDEO = 4, + TV_INPUT_TYPE_SCART = 5, + TV_INPUT_TYPE_COMPONENT = 6, + TV_INPUT_TYPE_VGA = 7, + TV_INPUT_TYPE_DVI = 8, + /* Physical HDMI port. (e.g. HDMI 1) */ + TV_INPUT_TYPE_HDMI = 9, + TV_INPUT_TYPE_DISPLAY_PORT = 10, }; typedef uint32_t tv_input_type_t; -- 2.11.0