MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / astc_header

Class astc_header

Source/astcenccli_image_load_store.cpp:2573–2582  ·  view source on GitHub ↗

============================================================================ ASTC compressed file loading ============================================================================ */

Source from the content-addressed store, hash-verified

2571 ASTC compressed file loading
2572============================================================================ */
2573struct 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
2584static const uint32_t ASTC_MAGIC_ID = 0x5CA1AB13;
2585

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected