FastLED 3.10.6
Loading...
Searching...
No Matches

◆ MP3D_DCT_PASS1

#define MP3D_DCT_PASS1 ( I)
Value:
do { \
const int32_t x0 = y[(I)*18]; \
const int32_t x1 = y[(15 - (I))*18]; \
const int32_t x2 = y[(16 + (I))*18]; \
const int32_t x3 = y[(31 - (I))*18]; \
const int32_t t0 = mp3d_add_sat(x0, x3); \
const int32_t t1 = mp3d_add_sat(x1, x2); \
const int32_t t2 = mp3d_mulshift_k<27, g_sec_q27[3*(I) + 0]>( \
mp3d_sub_sat(x1, x2)); \
const int32_t t3 = mp3d_mulshift_k<27, g_sec_q27[3*(I) + 1]>( \
mp3d_sub_sat(x0, x3)); \
t[0][I] = mp3d_add_sat(t0, t1); \
t[1][I] = mp3d_mulshift_k<27, g_sec_q27[3*(I) + 2]>( \
mp3d_sub_sat(t0, t1)); \
t[2][I] = mp3d_add_sat(t3, t2); \
t[3][I] = mp3d_mulshift_k<27, g_sec_q27[3*(I) + 2]>( \
mp3d_sub_sat(t3, t2)); \
} while (0)
int y
Definition simple.h:93
static uint32_t t
Definition Luminova.h:55
fl::i32 int32_t
Definition stdint.h:219

Referenced by mp3d_DCT_II().