FastLED 3.9.15
Loading...
Searching...
No Matches

◆ ref_scale_u8_16()

void autoresearch::simd_check::ref_scale_u8_16 ( const uint8_t * v,
uint8_t scale,
uint8_t * out )
inline

Definition at line 782 of file AutoResearchSimd.h.

782 {
783 for (int i = 0; i < 16; i++) {
784 out[i] = (uint8_t)(((uint16_t)v[i] * scale) >> 8);
785 }
786}
fl::UISlider scale("Scale", 4,.1, 4,.1)

References scale.

Referenced by test_crossval_scale_u8_16().

+ Here is the caller graph for this function: