| 1182 | std::string type; |
| 1183 | |
| 1184 | void clear() { |
| 1185 | channels.clear(); |
| 1186 | attributes.clear(); |
| 1187 | |
| 1188 | data_window.min_x = 0; |
| 1189 | data_window.min_y = 0; |
| 1190 | data_window.max_x = 0; |
| 1191 | data_window.max_y = 0; |
| 1192 | line_order = 0; |
| 1193 | display_window.min_x = 0; |
| 1194 | display_window.min_y = 0; |
| 1195 | display_window.max_x = 0; |
| 1196 | display_window.max_y = 0; |
| 1197 | screen_window_center[0] = 0.0f; |
| 1198 | screen_window_center[1] = 0.0f; |
| 1199 | screen_window_width = 0.0f; |
| 1200 | pixel_aspect_ratio = 0.0f; |
| 1201 | |
| 1202 | chunk_count = 0; |
| 1203 | |
| 1204 | // Tiled format |
| 1205 | tiled = 0; |
| 1206 | tile_size_x = 0; |
| 1207 | tile_size_y = 0; |
| 1208 | tile_level_mode = 0; |
| 1209 | tile_rounding_mode = 0; |
| 1210 | |
| 1211 | header_len = 0; |
| 1212 | compression_type = 0; |
| 1213 | |
| 1214 | name.clear(); |
| 1215 | type.clear(); |
| 1216 | } |
| 1217 | }; |
| 1218 | |
| 1219 | static bool ReadChannelInfo(std::vector<ChannelInfo> &channels, |
no outgoing calls
no test coverage detected