summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWonsik Kim <wonsik@google.com>2014-07-19 16:01:57 +0900
committerWonsik Kim <wonsik@google.com>2014-07-19 16:17:46 +0900
commit962e9adc2f281b0669fbec2e7f8b011beb726d8c (patch)
treef1a8710be2c840c324e49509650ed9ae21f40d66
parent842b906dd44bf874e17334d0343ede76d3e87c50 (diff)
downloadhardware_libhardware-962e9adc2f281b0669fbec2e7f8b011beb726d8c.zip
hardware_libhardware-962e9adc2f281b0669fbec2e7f8b011beb726d8c.tar.gz
hardware_libhardware-962e9adc2f281b0669fbec2e7f8b011beb726d8c.tar.bz2
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
-rw-r--r--include/hardware/tv_input.h21
1 files 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;