libdisplay_info_sys/
auto.rs

1macro_rules! auto_import {
2    ($mod_name:ident) => {
3        #[cfg_attr(docsrs, cfg(feature = "v0_1"))]
4        #[cfg_attr(
5            not(docsrs),
6            cfg(all(feature = "v0_1", not(feature = "v0_2"), not(feature = "v0_3")))
7        )]
8        pub use crate::v0_1::$mod_name::*;
9        #[cfg_attr(docsrs, cfg(feature = "v0_2"))]
10        #[cfg_attr(not(docsrs), cfg(all(feature = "v0_2", not(feature = "v0_3"))))]
11        pub use crate::v0_2::$mod_name::*;
12        #[cfg(feature = "v0_3")]
13        pub use crate::v0_3::$mod_name::*;
14    };
15}
16
17macro_rules! auto_mod {
18    ($mod_name:ident) => {
19        pub mod $mod_name {
20            auto_import!($mod_name);
21        }
22    };
23}
24
25pub mod cta {
26    auto_import!(cta);
27
28    #[cfg(feature = "v0_3")]
29    pub use polyfills::*;
30    #[cfg(feature = "v0_3")]
31    mod polyfills {
32        use super::*;
33
34        pub unsafe fn di_cta_data_block_get_sads(
35            data_block: *const di_cta_data_block,
36        ) -> *const *const di_cta_sad {
37            let audio_block = di_cta_data_block_get_audio(data_block);
38            if audio_block.is_null() {
39                return std::ptr::null();
40            }
41            (*audio_block).sads
42        }
43
44        pub type di_cta_vesa_dddb = di_cta_vesa_display_device_block;
45        pub unsafe fn di_cta_data_block_get_vesa_dddb(
46            block: *const di_cta_data_block,
47        ) -> *const di_cta_vesa_dddb {
48            di_cta_data_block_get_vesa_display_device(block)
49        }
50
51        pub unsafe fn di_cta_data_block_get_svds(
52            block: *const di_cta_data_block,
53        ) -> *const *const di_cta_svd {
54            let video_block = di_cta_data_block_get_video(block);
55            if video_block.is_null() {
56                return std::ptr::null();
57            }
58            (*video_block).svds
59        }
60
61        pub unsafe fn di_cta_data_block_get_ycbcr420_svds(
62            block: *const di_cta_data_block,
63        ) -> *const *const di_cta_svd {
64            let video_block = di_cta_data_block_get_ycbcr420_video(block);
65            if video_block.is_null() {
66                return std::ptr::null();
67            }
68            (*video_block).svds
69        }
70
71        pub unsafe fn di_cta_data_block_get_svrs(
72            block: *const di_cta_data_block,
73        ) -> *const *const di_cta_svr {
74            let video_format_pref_block = di_cta_data_block_get_video_format_pref(block);
75            if video_format_pref_block.is_null() {
76                return std::ptr::null();
77            }
78            (*video_format_pref_block).svrs
79        }
80
81        pub type di_cta_vesa_dddb_interface_type = di_cta_vesa_display_device_interface_type;
82        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_VGA:
83            di_cta_vesa_dddb_interface_type =
84            di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_VGA;
85        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_NAVI_V:
86            di_cta_vesa_dddb_interface_type =
87            di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_NAVI_V;
88        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_NAVI_D:
89            di_cta_vesa_dddb_interface_type =
90            di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_NAVI_D;
91        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_LVDS:
92            di_cta_vesa_dddb_interface_type =
93            di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_LVDS;
94        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_RSDS:
95            di_cta_vesa_dddb_interface_type =
96            di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_RSDS;
97        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_DVI_D:
98            di_cta_vesa_dddb_interface_type =
99            di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_DVI_D;
100        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_DVI_I_ANALOG:
101        di_cta_vesa_dddb_interface_type =
102        di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_DVI_I_ANALOG;
103        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_DVI_I_DIGITAL:
104    di_cta_vesa_dddb_interface_type =
105    di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_DVI_I_DIGITAL;
106        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_HDMI_A:
107            di_cta_vesa_dddb_interface_type =
108            di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_HDMI_A;
109        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_HDMI_B:
110            di_cta_vesa_dddb_interface_type =
111            di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_HDMI_B;
112        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_MDDI:
113            di_cta_vesa_dddb_interface_type =
114            di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_MDDI;
115        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_DISPLAYPORT:
116        di_cta_vesa_dddb_interface_type =
117        di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_DISPLAYPORT;
118        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_IEEE_1394:
119        di_cta_vesa_dddb_interface_type =
120        di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_IEEE_1394;
121        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_M1_ANALOG:
122        di_cta_vesa_dddb_interface_type =
123        di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_M1_ANALOG;
124        pub const di_cta_vesa_dddb_interface_type_DI_CTA_VESA_DDDB_INTERFACE_M1_DIGITAL:
125        di_cta_vesa_dddb_interface_type =
126        di_cta_vesa_display_device_interface_type_DI_CTA_VESA_DISPLAY_DEVICE_INTERFACE_M1_DIGITAL;
127
128        pub type di_cta_vesa_dddb_content_protection =
129            di_cta_vesa_display_device_content_protection;
130        pub const di_cta_vesa_dddb_content_protection_DI_CTA_VESA_DDDB_CONTENT_PROTECTION_NONE: di_cta_vesa_dddb_content_protection = di_cta_vesa_display_device_content_protection_DI_CTA_VESA_DISPLAY_DEVICE_CONTENT_PROTECTION_NONE;
131        pub const di_cta_vesa_dddb_content_protection_DI_CTA_VESA_DDDB_CONTENT_PROTECTION_HDCP: di_cta_vesa_dddb_content_protection = di_cta_vesa_display_device_content_protection_DI_CTA_VESA_DISPLAY_DEVICE_CONTENT_PROTECTION_HDCP;
132        pub const di_cta_vesa_dddb_content_protection_DI_CTA_VESA_DDDB_CONTENT_PROTECTION_DTCP: di_cta_vesa_dddb_content_protection = di_cta_vesa_display_device_content_protection_DI_CTA_VESA_DISPLAY_DEVICE_CONTENT_PROTECTION_DTCP;
133        pub const di_cta_vesa_dddb_content_protection_DI_CTA_VESA_DDDB_CONTENT_PROTECTION_DPCP: di_cta_vesa_dddb_content_protection = di_cta_vesa_display_device_content_protection_DI_CTA_VESA_DISPLAY_DEVICE_CONTENT_PROTECTION_DPCP;
134
135        pub type di_cta_vesa_dddb_default_orientation =
136            di_cta_vesa_display_device_default_orientation;
137        pub const di_cta_vesa_dddb_default_orientation_DI_CTA_VESA_DDDB_DEFAULT_ORIENTATION_LANDSCAPE: di_cta_vesa_dddb_default_orientation = di_cta_vesa_display_device_default_orientation_DI_CTA_VESA_DISPLAY_DEVICE_DEFAULT_ORIENTATION_LANDSCAPE;
138        pub const di_cta_vesa_dddb_default_orientation_DI_CTA_VESA_DDDB_DEFAULT_ORIENTATION_PORTAIT: di_cta_vesa_dddb_default_orientation = di_cta_vesa_display_device_default_orientation_DI_CTA_VESA_DISPLAY_DEVICE_DEFAULT_ORIENTATION_PORTAIT;
139        pub const di_cta_vesa_dddb_default_orientation_DI_CTA_VESA_DDDB_DEFAULT_ORIENTATION_UNFIXED: di_cta_vesa_dddb_default_orientation = di_cta_vesa_display_device_default_orientation_DI_CTA_VESA_DISPLAY_DEVICE_DEFAULT_ORIENTATION_UNFIXED;
140        pub const di_cta_vesa_dddb_default_orientation_DI_CTA_VESA_DDDB_DEFAULT_ORIENTATION_UNDEFINED: di_cta_vesa_dddb_default_orientation = di_cta_vesa_display_device_default_orientation_DI_CTA_VESA_DISPLAY_DEVICE_DEFAULT_ORIENTATION_UNDEFINED;
141
142        pub type di_cta_vesa_dddb_rotation_cap = di_cta_vesa_display_device_rotation_cap;
143        pub const di_cta_vesa_dddb_rotation_cap_DI_CTA_VESA_DDDB_ROTATION_CAP_NONE:
144            di_cta_vesa_dddb_rotation_cap =
145            di_cta_vesa_display_device_rotation_cap_DI_CTA_VESA_DISPLAY_DEVICE_ROTATION_CAP_NONE;
146        pub const di_cta_vesa_dddb_rotation_cap_DI_CTA_VESA_DDDB_ROTATION_CAP_90DEG_CLOCKWISE:
147    di_cta_vesa_dddb_rotation_cap =
148    di_cta_vesa_display_device_rotation_cap_DI_CTA_VESA_DISPLAY_DEVICE_ROTATION_CAP_90DEG_CLOCKWISE;
149        pub const di_cta_vesa_dddb_rotation_cap_DI_CTA_VESA_DDDB_ROTATION_CAP_90DEG_COUNTERCLOCKWISE: di_cta_vesa_dddb_rotation_cap = di_cta_vesa_display_device_rotation_cap_DI_CTA_VESA_DISPLAY_DEVICE_ROTATION_CAP_90DEG_COUNTERCLOCKWISE;
150        pub const di_cta_vesa_dddb_rotation_cap_DI_CTA_VESA_DDDB_ROTATION_CAP_90DEG_EITHER:
151    di_cta_vesa_dddb_rotation_cap =
152    di_cta_vesa_display_device_rotation_cap_DI_CTA_VESA_DISPLAY_DEVICE_ROTATION_CAP_90DEG_EITHER;
153
154        pub type di_cta_vesa_dddb_zero_pixel_location =
155            di_cta_vesa_display_device_zero_pixel_location;
156        pub const di_cta_vesa_dddb_zero_pixel_location_DI_CTA_VESA_DDDB_ZERO_PIXEL_UPPER_LEFT:
157    di_cta_vesa_dddb_zero_pixel_location =
158    di_cta_vesa_display_device_zero_pixel_location_DI_CTA_VESA_DISPLAY_DEVICE_ZERO_PIXEL_UPPER_LEFT;
159        pub const di_cta_vesa_dddb_zero_pixel_location_DI_CTA_VESA_DDDB_ZERO_PIXEL_UPPER_RIGHT: di_cta_vesa_dddb_zero_pixel_location = di_cta_vesa_display_device_zero_pixel_location_DI_CTA_VESA_DISPLAY_DEVICE_ZERO_PIXEL_UPPER_RIGHT;
160        pub const di_cta_vesa_dddb_zero_pixel_location_DI_CTA_VESA_DDDB_ZERO_PIXEL_LOWER_LEFT:
161    di_cta_vesa_dddb_zero_pixel_location =
162    di_cta_vesa_display_device_zero_pixel_location_DI_CTA_VESA_DISPLAY_DEVICE_ZERO_PIXEL_LOWER_LEFT;
163        pub const di_cta_vesa_dddb_zero_pixel_location_DI_CTA_VESA_DDDB_ZERO_PIXEL_LOWER_RIGHT: di_cta_vesa_dddb_zero_pixel_location = di_cta_vesa_display_device_zero_pixel_location_DI_CTA_VESA_DISPLAY_DEVICE_ZERO_PIXEL_LOWER_RIGHT;
164
165        pub type di_cta_vesa_dddb_scan_direction = di_cta_vesa_display_device_scan_direction;
166        pub const di_cta_vesa_dddb_scan_direction_DI_CTA_VESA_DDDB_SCAN_DIRECTION_UNDEFINED:
167    di_cta_vesa_dddb_scan_direction =
168    di_cta_vesa_display_device_scan_direction_DI_CTA_VESA_DISPLAY_DEVICE_SCAN_DIRECTION_UNDEFINED;
169        pub const di_cta_vesa_dddb_scan_direction_DI_CTA_VESA_DDDB_SCAN_DIRECTION_FAST_LONG_SLOW_SHORT: di_cta_vesa_dddb_scan_direction = di_cta_vesa_display_device_scan_direction_DI_CTA_VESA_DISPLAY_DEVICE_SCAN_DIRECTION_FAST_LONG_SLOW_SHORT;
170        pub const di_cta_vesa_dddb_scan_direction_DI_CTA_VESA_DDDB_SCAN_DIRECTION_FAST_SHORT_SLOW_LONG: di_cta_vesa_dddb_scan_direction = di_cta_vesa_display_device_scan_direction_DI_CTA_VESA_DISPLAY_DEVICE_SCAN_DIRECTION_FAST_SHORT_SLOW_LONG;
171
172        pub type di_cta_vesa_dddb_subpixel_layout = di_cta_vesa_display_device_subpixel_layout;
173        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_UNDEFINED:
174        di_cta_vesa_dddb_subpixel_layout =
175        di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_UNDEFINED;
176        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_RGB_VERT:
177            di_cta_vesa_dddb_subpixel_layout =
178            di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_RGB_VERT;
179        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_RGB_HORIZ:
180        di_cta_vesa_dddb_subpixel_layout =
181        di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_RGB_HORIZ;
182        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_EDID_CHROM_VERT:
183    di_cta_vesa_dddb_subpixel_layout =
184    di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_EDID_CHROM_VERT;
185        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_EDID_CHROM_HORIZ:
186    di_cta_vesa_dddb_subpixel_layout =
187    di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_EDID_CHROM_HORIZ;
188        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_QUAD_RGGB:
189        di_cta_vesa_dddb_subpixel_layout =
190        di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_QUAD_RGGB;
191        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_QUAD_GBRG:
192        di_cta_vesa_dddb_subpixel_layout =
193        di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_QUAD_GBRG;
194        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_DELTA_RGB:
195        di_cta_vesa_dddb_subpixel_layout =
196        di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_DELTA_RGB;
197        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_MOSAIC:
198            di_cta_vesa_dddb_subpixel_layout =
199            di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_MOSAIC;
200        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_QUAD_ANY:
201            di_cta_vesa_dddb_subpixel_layout =
202            di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_QUAD_ANY;
203        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_FIVE:
204            di_cta_vesa_dddb_subpixel_layout =
205            di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_FIVE;
206        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_SIX:
207            di_cta_vesa_dddb_subpixel_layout =
208            di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_SIX;
209        pub const di_cta_vesa_dddb_subpixel_layout_DI_CTA_VESA_DDDB_SUBPIXEL_CLAIRVOYANTE_PENTILE: di_cta_vesa_dddb_subpixel_layout = di_cta_vesa_display_device_subpixel_layout_DI_CTA_VESA_DISPLAY_DEVICE_SUBPIXEL_CLAIRVOYANTE_PENTILE;
210
211        pub type di_cta_vesa_dddb_dithering_type = di_cta_vesa_display_device_dithering_type;
212        pub const di_cta_vesa_dddb_dithering_type_DI_CTA_VESA_DDDB_DITHERING_NONE:
213            di_cta_vesa_dddb_dithering_type =
214            di_cta_vesa_display_device_dithering_type_DI_CTA_VESA_DISPLAY_DEVICE_DITHERING_NONE;
215        pub const di_cta_vesa_dddb_dithering_type_DI_CTA_VESA_DDDB_DITHERING_SPACIAL:
216            di_cta_vesa_dddb_dithering_type =
217            di_cta_vesa_display_device_dithering_type_DI_CTA_VESA_DISPLAY_DEVICE_DITHERING_SPACIAL;
218        pub const di_cta_vesa_dddb_dithering_type_DI_CTA_VESA_DDDB_DITHERING_TEMPORAL:
219            di_cta_vesa_dddb_dithering_type =
220            di_cta_vesa_display_device_dithering_type_DI_CTA_VESA_DISPLAY_DEVICE_DITHERING_TEMPORAL;
221        pub const di_cta_vesa_dddb_dithering_type_DI_CTA_VESA_DDDB_DITHERING_SPATIAL_AND_TEMPORAL: di_cta_vesa_dddb_dithering_type = di_cta_vesa_display_device_dithering_type_DI_CTA_VESA_DISPLAY_DEVICE_DITHERING_SPATIAL_AND_TEMPORAL;
222
223        pub type di_cta_vesa_dddb_additional_primary_chromaticity =
224            di_cta_vesa_display_device_additional_primary_chromaticity;
225
226        pub type di_cta_vesa_dddb_frame_rate_conversion =
227            di_cta_vesa_display_device_frame_rate_conversion;
228        pub const di_cta_vesa_dddb_frame_rate_conversion_DI_CTA_VESA_DDDB_FRAME_RATE_CONVERSION_NONE: di_cta_vesa_dddb_frame_rate_conversion = di_cta_vesa_display_device_frame_rate_conversion_DI_CTA_VESA_DISPLAY_DEVICE_FRAME_RATE_CONVERSION_NONE;
229        pub const di_cta_vesa_dddb_frame_rate_conversion_DI_CTA_VESA_DDDB_FRAME_RATE_CONVERSION_SINGLE_BUFFERING : di_cta_vesa_dddb_frame_rate_conversion = di_cta_vesa_display_device_frame_rate_conversion_DI_CTA_VESA_DISPLAY_DEVICE_FRAME_RATE_CONVERSION_SINGLE_BUFFERING ;
230        pub const di_cta_vesa_dddb_frame_rate_conversion_DI_CTA_VESA_DDDB_FRAME_RATE_CONVERSION_DOUBLE_BUFFERING : di_cta_vesa_dddb_frame_rate_conversion = di_cta_vesa_display_device_frame_rate_conversion_DI_CTA_VESA_DISPLAY_DEVICE_FRAME_RATE_CONVERSION_DOUBLE_BUFFERING ;
231        pub const di_cta_vesa_dddb_frame_rate_conversion_DI_CTA_VESA_DDDB_FRAME_RATE_CONVERSION_ADVANCED: di_cta_vesa_dddb_frame_rate_conversion = di_cta_vesa_display_device_frame_rate_conversion_DI_CTA_VESA_DISPLAY_DEVICE_FRAME_RATE_CONVERSION_ADVANCED;
232
233        pub type di_cta_vesa_dddb_resp_time_transition =
234            di_cta_vesa_display_device_resp_time_transition;
235        pub const di_cta_vesa_dddb_resp_time_transition_DI_CTA_VESA_DDDB_RESP_TIME_BLACK_TO_WHITE: di_cta_vesa_dddb_resp_time_transition = di_cta_vesa_display_device_resp_time_transition_DI_CTA_VESA_DISPLAY_DEVICE_RESP_TIME_BLACK_TO_WHITE;
236        pub const di_cta_vesa_dddb_resp_time_transition_DI_CTA_VESA_DDDB_RESP_TIME_WHITE_TO_BLACK: di_cta_vesa_dddb_resp_time_transition = di_cta_vesa_display_device_resp_time_transition_DI_CTA_VESA_DISPLAY_DEVICE_RESP_TIME_WHITE_TO_BLACK;
237
238        pub type di_cta_hdr_static_metadata_block_eotfs = di_cta_hdr_static_metadata_eotfs;
239        pub type di_cta_hdr_static_metadata_block_descriptors =
240            di_cta_hdr_static_metadata_descriptors;
241
242        pub type di_cta_hdr_dynamic_metadata_block_type1 = di_cta_hdr_dynamic_metadata_type1;
243        pub type di_cta_hdr_dynamic_metadata_block_type2 = di_cta_hdr_dynamic_metadata_type2;
244        pub type di_cta_hdr_dynamic_metadata_block_type3 = di_cta_hdr_dynamic_metadata_type3;
245        pub type di_cta_hdr_dynamic_metadata_block_type4 = di_cta_hdr_dynamic_metadata_type4;
246        pub type di_cta_hdr_dynamic_metadata_block_type256 = di_cta_hdr_dynamic_metadata_type256;
247
248        pub type di_cta_vesa_transfer_characteristics = di_cta_vesa_transfer_characteristics_block;
249
250        pub type di_cta_ycbcr420_cap_map = di_cta_ycbcr420_cap_map_block;
251
252        pub type di_cta_speaker_locations = di_cta_speaker_location_descriptor;
253
254        pub type di_cta_room_configuration = di_cta_room_configuration_block;
255    }
256}
257auto_mod!(cvt);
258auto_mod!(displayid);
259pub mod displayid2 {
260    #[cfg(feature = "v0_3")]
261    pub use crate::v0_3::displayid2::*;
262}
263auto_mod!(dmt);
264auto_mod!(edid);
265auto_mod!(gtf);
266auto_mod!(info);