MCPcopy Create free account
hub / github.com/FastLED/FastLED / set1

Method set1

src/fl/math/fixed_point/s0x32x4.h:39–41  ·  view source on GitHub ↗

Broadcast single s0x32 value to all 4 lanes

Source from the content-addressed store, hash-verified

37
38 // Broadcast single s0x32 value to all 4 lanes
39 static FASTLED_FORCE_INLINE s0x32x4 set1(s0x32 value) {
40 return from_raw(simd::platforms::set1_u32_4(static_cast<u32>(value.raw())));
41 }
42
43 // ---- SIMD multiply: s0x32x4 × s16x16x4 → s16x16x4 ----------------------
44 // Math: Q31 × Q16 = Q47 → shift right 31 → Q16

Callers

nothing calls this directly

Calls 1

rawMethod · 0.45

Tested by

no test coverage detected