2011-08-21 20:00:45 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2011, Haiku, Inc. All Rights Reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Alexander von Gluck, kallisti5@unixzen.com
|
|
|
|
*/
|
2011-09-06 20:01:33 +04:00
|
|
|
#ifndef _VIDEO_CONFIGURATION_H
|
|
|
|
#define _VIDEO_CONFIGURATION_H
|
2011-08-21 20:00:45 +04:00
|
|
|
|
|
|
|
|
2011-12-10 03:35:49 +04:00
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
|
2011-08-21 20:00:45 +04:00
|
|
|
// Video connector types
|
|
|
|
#define VIDEO_CONNECTOR_UNKNOWN 0x00
|
|
|
|
#define VIDEO_CONNECTOR_VGA 0x01
|
|
|
|
#define VIDEO_CONNECTOR_DVII 0x02
|
|
|
|
#define VIDEO_CONNECTOR_DVID 0x03
|
|
|
|
#define VIDEO_CONNECTOR_DVIA 0x04
|
|
|
|
#define VIDEO_CONNECTOR_COMPOSITE 0x05
|
|
|
|
#define VIDEO_CONNECTOR_SVIDEO 0x06
|
|
|
|
#define VIDEO_CONNECTOR_LVDS 0x07
|
|
|
|
#define VIDEO_CONNECTOR_COMPONENT 0x08
|
|
|
|
#define VIDEO_CONNECTOR_9DIN 0x09
|
|
|
|
#define VIDEO_CONNECTOR_DP 0x0A
|
|
|
|
#define VIDEO_CONNECTOR_EDP 0x0B
|
|
|
|
#define VIDEO_CONNECTOR_HDMIA 0x0C
|
|
|
|
#define VIDEO_CONNECTOR_HDMIB 0x0D
|
|
|
|
#define VIDEO_CONNECTOR_TV 0x0E
|
|
|
|
|
|
|
|
|
|
|
|
// Video encoder types
|
|
|
|
#define VIDEO_ENCODER_NONE 0x00
|
|
|
|
#define VIDEO_ENCODER_DAC 0x01
|
|
|
|
#define VIDEO_ENCODER_TMDS 0x02
|
|
|
|
#define VIDEO_ENCODER_LVDS 0x03
|
|
|
|
#define VIDEO_ENCODER_TVDAC 0x04
|
|
|
|
|
|
|
|
|
2011-08-21 21:30:55 +04:00
|
|
|
// to ensure compatibility with C accelerants
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// mostly for debugging detected monitors
|
2011-09-06 20:01:33 +04:00
|
|
|
const char* get_connector_name(uint32 connector);
|
|
|
|
const char* get_encoder_name(uint32 encoder);
|
2011-08-21 21:30:55 +04:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2011-08-21 20:00:45 +04:00
|
|
|
|
|
|
|
|
2011-09-06 20:01:33 +04:00
|
|
|
#endif /* _VIDEO_CONFIGURATION_H */
|