2 * Copyright 2011, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Alexander von Gluck, kallisti5@unixzen.com
10 #include <KernelExport.h>
13 #include "video_configuration.h"
17 get_connector_name(uint32 connector
)
20 case VIDEO_CONNECTOR_VGA
:
22 case VIDEO_CONNECTOR_DVII
:
23 return "DVI-I (Digital and Analog)";
24 case VIDEO_CONNECTOR_DVID
:
25 return "DVI-D (Digital Only)";
26 case VIDEO_CONNECTOR_DVIA
:
27 return "DVI-A (Analog Only)";
28 case VIDEO_CONNECTOR_COMPOSITE
:
30 case VIDEO_CONNECTOR_SVIDEO
:
32 case VIDEO_CONNECTOR_LVDS
:
34 case VIDEO_CONNECTOR_COMPONENT
:
36 case VIDEO_CONNECTOR_9DIN
:
38 case VIDEO_CONNECTOR_DP
:
40 case VIDEO_CONNECTOR_EDP
:
41 return "Embedded DisplayPort";
42 case VIDEO_CONNECTOR_HDMIA
:
44 case VIDEO_CONNECTOR_HDMIB
:
46 case VIDEO_CONNECTOR_TV
:
48 case VIDEO_CONNECTOR_UNKNOWN
:
56 get_encoder_name(uint32 encoder
)
59 case VIDEO_ENCODER_NONE
:
61 case VIDEO_ENCODER_DAC
:
63 case VIDEO_ENCODER_TMDS
:
65 case VIDEO_ENCODER_LVDS
:
67 case VIDEO_ENCODER_TVDAC
: