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

Method load

Source/astcenc_vecmathlib_none_4.h:273–278  ·  view source on GitHub ↗

* @brief Factory that returns a vector loaded from unaligned memory. */

Source from the content-addressed store, hash-verified

271 * @brief Factory that returns a vector loaded from unaligned memory.
272 */
273 static ASTCENC_SIMD_INLINE vint4 load(const uint8_t* p)
274 {
275 vint4 data;
276 std::memcpy(&data.m, p, 4 * sizeof(int));
277 return data;
278 }
279
280 /**
281 * @brief Factory that returns a vector loaded from 16B aligned memory.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected