============================================================================ ASTC compressed file loading ============================================================================ */
| 2571 | ASTC compressed file loading |
| 2572 | ============================================================================ */ |
| 2573 | struct astc_header |
| 2574 | { |
| 2575 | uint8_t magic[4]; |
| 2576 | uint8_t block_x; |
| 2577 | uint8_t block_y; |
| 2578 | uint8_t block_z; |
| 2579 | uint8_t dim_x[3]; // Dims = dim[0] + (dim[1] << 8) + (dim[2] << 16) |
| 2580 | uint8_t dim_y[3]; // Sizes are in texels |
| 2581 | uint8_t dim_z[3]; // Block count is inferred |
| 2582 | }; |
| 2583 | |
| 2584 | static const uint32_t ASTC_MAGIC_ID = 0x5CA1AB13; |
| 2585 |
nothing calls this directly
no outgoing calls
no test coverage detected