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

◆ test_scale_u8_16_zero()

bool autoresearch::simd_check::test_scale_u8_16_zero ( )
inline

Definition at line 187 of file AutoResearchSimd.h.

187 {
188 uint8_t a[16] = {255,128,64,32, 255,128,64,32, 255,128,64,32, 255,128,64,32};
189 uint8_t expected[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0};
190 uint8_t output[16] = {0};
191 store_u8_16(output, scale_u8_16(load_u8_16(a), 0));
192 return compare_u8(expected, output, 16);
193}
bool compare_u8(const uint8_t *a, const uint8_t *b, size_t n)

References compare_u8().

Referenced by getTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: