@@ -47,16 +47,12 @@ class DllBcmHostInterface
47
47
virtual void bcm_host_init () = 0;
48
48
virtual void bcm_host_deinit () = 0;
49
49
virtual int32_t graphics_get_display_size ( const uint16_t display_number, uint32_t *width, uint32_t *height) = 0;
50
- virtual int vc_tv_hdmi_power_on_best (uint32_t width, uint32_t height, uint32_t frame_rate,
51
- HDMI_INTERLACED_T scan_mode, EDID_MODE_MATCH_FLAG_T match_flags) = 0;
52
- virtual int vc_tv_hdmi_power_on_best_3d (uint32_t width, uint32_t height, uint32_t frame_rate,
53
- HDMI_INTERLACED_T scan_mode, EDID_MODE_MATCH_FLAG_T match_flags) = 0;
54
-
55
- virtual int vc_tv_hdmi_get_supported_modes (HDMI_RES_GROUP_T group, TV_SUPPORTED_MODE_T *supported_modes,
50
+ virtual int vc_tv_hdmi_get_supported_modes_new (HDMI_RES_GROUP_T group, TV_SUPPORTED_MODE_NEW_T *supported_modes,
56
51
uint32_t max_supported_modes, HDMI_RES_GROUP_T *preferred_group,
57
52
uint32_t *preferred_mode) = 0;
58
- virtual int vc_tv_hdmi_power_on_explicit (HDMI_MODE_T mode, HDMI_RES_GROUP_T group, uint32_t code) = 0;
59
- virtual int vc_tv_get_state (TV_GET_STATE_RESP_T *tvstate) = 0;
53
+ virtual int vc_tv_hdmi_power_on_explicit_new (HDMI_MODE_T mode, HDMI_RES_GROUP_T group, uint32_t code) = 0;
54
+ virtual int vc_tv_hdmi_set_property (const HDMI_PROPERTY_PARAM_T *property) = 0;
55
+ virtual int vc_tv_get_display_state (TV_DISPLAY_STATE_T *tvstate) = 0;
60
56
virtual int vc_tv_show_info (uint32_t show) = 0;
61
57
virtual int vc_gencmd (char *response, int maxlen, const char *string) = 0;
62
58
virtual void vc_tv_register_callback (TVSERVICE_CALLBACK_T callback, void *callback_data) = 0;
@@ -90,20 +86,16 @@ class DllBcmHost : public DllDynamic, DllBcmHostInterface
90
86
{ return ::bcm_host_deinit (); };
91
87
virtual int32_t graphics_get_display_size ( const uint16_t display_number, uint32_t *width, uint32_t *height)
92
88
{ return ::graphics_get_display_size (display_number, width, height); };
93
- virtual int vc_tv_hdmi_power_on_best (uint32_t width, uint32_t height, uint32_t frame_rate,
94
- HDMI_INTERLACED_T scan_mode, EDID_MODE_MATCH_FLAG_T match_flags)
95
- { return ::vc_tv_hdmi_power_on_best (width, height, frame_rate, scan_mode, match_flags); };
96
- virtual int vc_tv_hdmi_power_on_best_3d (uint32_t width, uint32_t height, uint32_t frame_rate,
97
- HDMI_INTERLACED_T scan_mode, EDID_MODE_MATCH_FLAG_T match_flags)
98
- { return ::vc_tv_hdmi_power_on_best_3d (width, height, frame_rate, scan_mode, match_flags); };
99
- virtual int vc_tv_hdmi_get_supported_modes (HDMI_RES_GROUP_T group, TV_SUPPORTED_MODE_T *supported_modes,
89
+ virtual int vc_tv_hdmi_get_supported_modes_new (HDMI_RES_GROUP_T group, TV_SUPPORTED_MODE_NEW_T *supported_modes,
100
90
uint32_t max_supported_modes, HDMI_RES_GROUP_T *preferred_group,
101
91
uint32_t *preferred_mode)
102
- { return ::vc_tv_hdmi_get_supported_modes (group, supported_modes, max_supported_modes, preferred_group, preferred_mode); };
103
- virtual int vc_tv_hdmi_power_on_explicit (HDMI_MODE_T mode, HDMI_RES_GROUP_T group, uint32_t code)
104
- { return ::vc_tv_hdmi_power_on_explicit (mode, group, code); };
105
- virtual int vc_tv_get_state (TV_GET_STATE_RESP_T *tvstate)
106
- { return ::vc_tv_get_state (tvstate); };
92
+ { return ::vc_tv_hdmi_get_supported_modes_new (group, supported_modes, max_supported_modes, preferred_group, preferred_mode); };
93
+ virtual int vc_tv_hdmi_power_on_explicit_new (HDMI_MODE_T mode, HDMI_RES_GROUP_T group, uint32_t code)
94
+ { return ::vc_tv_hdmi_power_on_explicit_new (mode, group, code); };
95
+ virtual int vc_tv_hdmi_set_property (const HDMI_PROPERTY_PARAM_T *property)
96
+ { return ::vc_tv_hdmi_set_property (property); }
97
+ virtual int vc_tv_get_display_state (TV_DISPLAY_STATE_T *tvstate)
98
+ { return ::vc_tv_get_display_state (tvstate); };
107
99
virtual int vc_tv_show_info (uint32_t show)
108
100
{ return ::vc_tv_show_info (show); };
109
101
virtual int vc_gencmd (char *response, int maxlen, const char *string)
@@ -157,16 +149,13 @@ class DllBcmHost : public DllDynamic, DllBcmHostInterface
157
149
DEFINE_METHOD0 (void , bcm_host_init)
158
150
DEFINE_METHOD0 (void , bcm_host_deinit)
159
151
DEFINE_METHOD3 (int32_t , graphics_get_display_size, (const uint16_t p1, uint32_t *p2, uint32_t *p3))
160
- DEFINE_METHOD5 (int , vc_tv_hdmi_power_on_best, (uint32_t p1, uint32_t p2, uint32_t p3,
161
- HDMI_INTERLACED_T p4, EDID_MODE_MATCH_FLAG_T p5))
162
- DEFINE_METHOD5 (int , vc_tv_hdmi_power_on_best_3d, (uint32_t p1, uint32_t p2, uint32_t p3,
163
- HDMI_INTERLACED_T p4, EDID_MODE_MATCH_FLAG_T p5))
164
- DEFINE_METHOD5 (int , vc_tv_hdmi_get_supported_modes, (HDMI_RES_GROUP_T p1, TV_SUPPORTED_MODE_T *p2,
152
+ DEFINE_METHOD5 (int , vc_tv_hdmi_get_supported_modes_new, (HDMI_RES_GROUP_T p1, TV_SUPPORTED_MODE_NEW_T *p2,
165
153
uint32_t p3, HDMI_RES_GROUP_T *p4, uint32_t *p5))
166
- DEFINE_METHOD3 (int , vc_tv_hdmi_power_on_explicit, (HDMI_MODE_T p1, HDMI_RES_GROUP_T p2, uint32_t p3))
167
- DEFINE_METHOD1 (int , vc_tv_get_state, (TV_GET_STATE_RESP_T *p1))
168
- DEFINE_METHOD1 (int , vc_tv_show_info, (uint32_t p1))
169
- DEFINE_METHOD3 (int , vc_gencmd, (char *p1, int p2, const char *p3))
154
+ DEFINE_METHOD3 (int , vc_tv_hdmi_power_on_explicit_new, (HDMI_MODE_T p1, HDMI_RES_GROUP_T p2, uint32_t p3))
155
+ DEFINE_METHOD1 (int , vc_tv_hdmi_set_property, (const HDMI_PROPERTY_PARAM_T *property))
156
+ DEFINE_METHOD1 (int , vc_tv_get_display_state, (TV_DISPLAY_STATE_T *p1))
157
+ DEFINE_METHOD1 (int , vc_tv_show_info, (uint32_t p1))
158
+ DEFINE_METHOD3 (int , vc_gencmd, (char *p1, int p2, const char *p3))
170
159
171
160
DEFINE_METHOD2 (void , vc_tv_register_callback, (TVSERVICE_CALLBACK_T p1, void *p2))
172
161
DEFINE_METHOD1 (void , vc_tv_unregister_callback, (TVSERVICE_CALLBACK_T p1))
@@ -192,11 +181,10 @@ class DllBcmHost : public DllDynamic, DllBcmHostInterface
192
181
RESOLVE_METHOD (bcm_host_init)
193
182
RESOLVE_METHOD (bcm_host_deinit)
194
183
RESOLVE_METHOD (graphics_get_display_size)
195
- RESOLVE_METHOD (vc_tv_hdmi_power_on_best)
196
- RESOLVE_METHOD (vc_tv_hdmi_power_on_best_3d)
197
- RESOLVE_METHOD (vc_tv_hdmi_get_supported_modes)
198
- RESOLVE_METHOD (vc_tv_hdmi_power_on_explicit)
199
- RESOLVE_METHOD (vc_tv_get_state)
184
+ RESOLVE_METHOD (vc_tv_hdmi_get_supported_modes_new)
185
+ RESOLVE_METHOD (vc_tv_hdmi_power_on_explicit_new)
186
+ RESOLVE_METHOD (vc_tv_hdmi_set_property)
187
+ RESOLVE_METHOD (vc_tv_get_display_state)
200
188
RESOLVE_METHOD (vc_tv_show_info)
201
189
RESOLVE_METHOD (vc_gencmd)
202
190
RESOLVE_METHOD (vc_tv_register_callback)
0 commit comments