1 /* 2 * Copyright 2011-2023, 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 #define VIDEO_CONNECTOR_USBC 0x0F 32 33 34 // Video encoder types 35 #define VIDEO_ENCODER_NONE 0x00 36 #define VIDEO_ENCODER_DAC 0x01 37 #define VIDEO_ENCODER_TMDS 0x02 38 #define VIDEO_ENCODER_LVDS 0x03 39 #define VIDEO_ENCODER_TVDAC 0x04 40 41 42 // to ensure compatibility with C accelerants 43 #ifdef __cplusplus 44 extern "C" { 45 #endif 46 47 48 // mostly for debugging detected monitors 49 const char* get_connector_name(uint32 connector); 50 const char* get_encoder_name(uint32 encoder); 51 52 53 #ifdef __cplusplus 54 } 55 #endif 56 57 58 #endif /* _VIDEO_CONFIGURATION_H */ 59