1 /* 2 * Copyright 2011, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Alexander von Gluck, kallisti5@unixzen.com 7 */ 8 #ifndef _VIDEO_CONFIGURATION_H 9 #define _VIDEO_CONFIGURATION_H 10 11 12 #include <SupportDefs.h> 13 14 15 // Video connector types 16 #define VIDEO_CONNECTOR_UNKNOWN 0x00 17 #define VIDEO_CONNECTOR_VGA 0x01 18 #define VIDEO_CONNECTOR_DVII 0x02 19 #define VIDEO_CONNECTOR_DVID 0x03 20 #define VIDEO_CONNECTOR_DVIA 0x04 21 #define VIDEO_CONNECTOR_COMPOSITE 0x05 22 #define VIDEO_CONNECTOR_SVIDEO 0x06 23 #define VIDEO_CONNECTOR_LVDS 0x07 24 #define VIDEO_CONNECTOR_COMPONENT 0x08 25 #define VIDEO_CONNECTOR_9DIN 0x09 26 #define VIDEO_CONNECTOR_DP 0x0A 27 #define VIDEO_CONNECTOR_EDP 0x0B 28 #define VIDEO_CONNECTOR_HDMIA 0x0C 29 #define VIDEO_CONNECTOR_HDMIB 0x0D 30 #define VIDEO_CONNECTOR_TV 0x0E 31 32 33 // Video encoder types 34 #define VIDEO_ENCODER_NONE 0x00 35 #define VIDEO_ENCODER_DAC 0x01 36 #define VIDEO_ENCODER_TMDS 0x02 37 #define VIDEO_ENCODER_LVDS 0x03 38 #define VIDEO_ENCODER_TVDAC 0x04 39 40 41 // to ensure compatibility with C accelerants 42 #ifdef __cplusplus 43 extern "C" { 44 #endif 45 46 47 // mostly for debugging detected monitors 48 const char* get_connector_name(uint32 connector); 49 const char* get_encoder_name(uint32 encoder); 50 51 52 #ifdef __cplusplus 53 } 54 #endif 55 56 57 #endif /* _VIDEO_CONFIGURATION_H */ 58