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

Function get_format

Source/astcenccli_image_load_store.cpp:842–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

840}};
841
842static const format_entry* get_format(
843 unsigned int format
844) {
845 for (auto& it : ASTC_FORMATS)
846 {
847 if (it.format == format)
848 {
849 return ⁢
850 }
851 }
852 return nullptr;
853}
854
855static unsigned int get_format(
856 unsigned int x,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected