2018-12-05 12:12:48 +00:00
|
|
|
#ifndef RGB_TO_HDMI_H
|
|
|
|
#define RGB_TO_HDMI_H
|
|
|
|
|
|
|
|
// Property setters/getters
|
2021-01-13 00:28:54 +00:00
|
|
|
void set_config_overscan(int l, int r, int t, int b);
|
2021-01-14 19:47:05 +00:00
|
|
|
void get_config_overscan(int *l, int *r, int *t, int *b);
|
2021-01-15 03:52:26 +00:00
|
|
|
void set_startup_overscan(int value);
|
|
|
|
int get_startup_overscan();
|
2020-09-22 23:42:56 +00:00
|
|
|
void set_force_genlock_range(int value);
|
2023-02-24 01:09:46 +00:00
|
|
|
void set_auto_workaround_path(char *value, int reboot);
|
|
|
|
void reboot(void);
|
2023-02-26 01:52:40 +00:00
|
|
|
|
|
|
|
void set_resolution(int mode, const char *name, int reboot);
|
2021-01-14 02:57:16 +00:00
|
|
|
void set_refresh(int value, int reboot);
|
2021-01-08 02:10:37 +00:00
|
|
|
void set_hdmi(int value, int reboot);
|
2023-10-26 02:15:13 +00:00
|
|
|
void set_hdmi_auto(int value, int reboot);
|
2019-11-24 09:19:35 +00:00
|
|
|
void set_scaling(int mode, int reboot);
|
2019-11-24 21:41:54 +00:00
|
|
|
void set_frontend(int value, int save);
|
2023-10-16 04:09:04 +00:00
|
|
|
void set_general_reboot();
|
2023-02-25 18:08:13 +00:00
|
|
|
void set_ntsccolour(int value);
|
|
|
|
void set_timingset(int value);
|
|
|
|
int get_adjusted_ntscphase();
|
2023-10-15 17:03:45 +00:00
|
|
|
int get_lines_per_vsync(int compensate);
|
|
|
|
int get_one_line_time_ns();
|
2023-10-26 13:03:33 +00:00
|
|
|
int get_vsync_width_lines();
|
2023-10-15 17:03:45 +00:00
|
|
|
int get_sync_detected();
|
2020-10-11 01:57:26 +00:00
|
|
|
int get_50hz_state();
|
2022-01-24 02:51:49 +00:00
|
|
|
int get_core_1_available();
|
2023-02-22 19:13:51 +00:00
|
|
|
|
|
|
|
void set_parameter(int parameter, int value);
|
|
|
|
int get_parameter(int parameter);
|
|
|
|
|
2019-11-30 04:21:57 +00:00
|
|
|
int show_detected_status(int line);
|
2020-03-06 23:22:11 +00:00
|
|
|
void delay_in_arm_cycles_cpu_adjust(int cycles);
|
2020-07-07 00:22:57 +00:00
|
|
|
void set_filtering(int filter);
|
2019-11-25 20:47:03 +00:00
|
|
|
int get_current_display_buffer();
|
2020-08-09 02:32:27 +00:00
|
|
|
void set_vsync_psync(int state);
|
2018-12-05 12:12:48 +00:00
|
|
|
// Actions
|
|
|
|
void action_calibrate_clocks();
|
|
|
|
void action_calibrate_auto();
|
2020-08-18 01:26:19 +00:00
|
|
|
void calculate_cpu_timings();
|
2020-09-01 22:21:33 +00:00
|
|
|
int read_cpld_version();
|
2018-12-05 12:12:48 +00:00
|
|
|
// Status
|
|
|
|
int is_genlocked();
|
2019-04-07 03:01:27 +00:00
|
|
|
void set_status_message(char *msg);
|
2019-04-10 01:04:29 +00:00
|
|
|
void force_reinit();
|
2020-03-01 17:07:20 +00:00
|
|
|
void set_helper_flag();
|
2020-06-30 23:59:37 +00:00
|
|
|
int eight_bit_detected();
|
2020-11-03 02:35:49 +00:00
|
|
|
int new_DAC_detected();
|
2023-04-16 12:46:52 +00:00
|
|
|
int any_DAC_detected();
|
2023-04-20 00:51:39 +00:00
|
|
|
int mono_board_detected();
|
2020-11-03 02:35:49 +00:00
|
|
|
int extra_flags();
|
2020-11-22 02:27:24 +00:00
|
|
|
int calibrate_sampling_clock(int profile_changed);
|
2021-05-13 17:02:44 +00:00
|
|
|
void DPMS(int dpms_state);
|
2021-11-15 01:51:31 +00:00
|
|
|
void start_vc_bench(int type);
|
2023-09-16 23:50:19 +00:00
|
|
|
void refresh_cpld();
|
2019-06-18 15:51:53 +00:00
|
|
|
// Reboot the system immediately
|
|
|
|
void reboot();
|
|
|
|
|
2018-12-05 12:12:48 +00:00
|
|
|
#endif
|