xref: /haiku/src/add-ons/accelerants/radeon_hd/encoder.h (revision 0044a8c39ab5721051b6279506d1a8c511e20453)
1 /*
2  * Copyright 2006-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 RADEON_HD_ENCODER_H
9 #define RADEON_HD_ENCODER_H
10 
11 
12 void encoder_assign_crtc(uint8 crt_id);
13 void encoder_apply_quirks(uint8 crtcID);
14 void encoder_mode_set(uint8 id, uint32 pixelClock);
15 status_t encoder_digital_setup(uint8 id, uint32 pixelClock, int command);
16 status_t encoder_analog_setup(uint8 id, uint32 pixelClock, int command);
17 status_t encoder_dig_setup(uint8 id, uint32 pixelClock, int command);
18 status_t encoder_tv_setup(uint8 id, uint32 pixelClock, int command);
19 bool encoder_analog_load_detect(uint8 connectorIndex);
20 void encoder_output_lock(bool lock);
21 void encoder_crtc_scratch(uint8 crtcID);
22 void encoder_dpms_scratch(uint8 crtcID, bool power);
23 void encoder_dpms_set(uint8 crtcID, uint8 encoderID, int mode);
24 
25 
26 #endif /* RADEON_HD_ENCODER_H */
27