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

Function mask

Source/astcenc_vecmathlib_none_4.h:413–419  ·  view source on GitHub ↗

* @brief Return a 1-bit mask code indicating mask status. * * bit0 = lane 0 */

Source from the content-addressed store, hash-verified

411 * bit0 = lane 0
412 */
413ASTCENC_SIMD_INLINE unsigned int mask(vmask4 a)
414{
415 return (a.m[0] & 0x1) |
416 (a.m[1] & 0x2) |
417 (a.m[2] & 0x4) |
418 (a.m[3] & 0x8);
419}
420
421/**
422 * @brief True if any lanes are enabled, false otherwise.

Callers 2

anyFunction · 0.70
allFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected