xref: /haiku/headers/private/graphics/common/compute_display_timing.h (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
1 /*
2  * Copyright 2011, Axel Dörfler, axeld@pinc-software.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _COMPUTE_DISPLAY_TIMING_H
6 #define _COMPUTE_DISPLAY_TIMING_H
7 
8 
9 #include <Accelerant.h>
10 #include <GraphicsDefs.h>
11 
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 status_t compute_display_timing(uint32 width, uint32 height, float refresh,
18 	bool interlaced, display_timing* timing);
19 
20 #ifdef __cplusplus
21 }
22 #endif
23 
24 
25 #endif	/* _COMPUTE_DISPLAY_TIMING_H */
26