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

Function main

Utils/astc_quant_generator.cpp:391–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391int main(void)
392{
393 printf("const uint8_t color_unquant_to_uquant_tables[17][512] {\n");
394 for (size_t i = 0; i < quant_configs.size(); i++)
395 {
396 const auto& config = quant_configs[i];
397 std::set<unsigned int> set;
398
399 printf("\t{ // QUANT_%u\n", get_quant_level(config.quant));
400 generate_unpacked_quant(config, set);
401 generate_unquant_to_unpacked_quant(config, set);
402 printf("\t},\n");
403 }
404 printf("};\n");
405 return 0;
406}

Callers

nothing calls this directly

Calls 3

generate_unpacked_quantFunction · 0.85
get_quant_levelFunction · 0.70

Tested by

no test coverage detected