25 #define MAX_ABS (512 >> (SCALE_OFFSET>0 ? SCALE_OFFSET : 0)) 36 "pxor %%mm7, %%mm7 \n\t" 38 "punpcklwd %%mm5, %%mm5 \n\t" 39 "punpcklwd %%mm5, %%mm5 \n\t" 42 "movq (%1, %0), %%mm0 \n\t" 43 "movq 8(%1, %0), %%mm1 \n\t" 44 PMULHRW(%%mm0, %%mm1, %%mm5, %%mm6)
45 "paddw (%2, %0), %%mm0 \n\t" 46 "paddw 8(%2, %0), %%mm1 \n\t" 47 "psraw $6, %%mm0 \n\t" 48 "psraw $6, %%mm1 \n\t" 49 "pmullw (%3, %0), %%mm0 \n\t" 50 "pmullw 8(%3, %0), %%mm1 \n\t" 51 "pmaddwd %%mm0, %%mm0 \n\t" 52 "pmaddwd %%mm1, %%mm1 \n\t" 53 "paddd %%mm1, %%mm0 \n\t" 54 "psrld $4, %%mm0 \n\t" 55 "paddd %%mm0, %%mm7 \n\t" 60 "psrld $2, %%mm7 \n\t" 78 "punpcklwd %%mm5, %%mm5 \n\t" 79 "punpcklwd %%mm5, %%mm5 \n\t" 82 "movq (%1, %0), %%mm0 \n\t" 83 "movq 8(%1, %0), %%mm1 \n\t" 84 PMULHRW(%%mm0, %%mm1, %%mm5, %%mm6)
85 "paddw (%2, %0), %%mm0 \n\t" 86 "paddw 8(%2, %0), %%mm1 \n\t" 87 "movq %%mm0, (%2, %0) \n\t" 88 "movq %%mm1, 8(%2, %0) \n\t" static int DEF() try_8x8basis(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale)
#define av_assert2(cond)
assert() equivalent, that does lie in speed critical code.
#define DEF(type, name, bytes, read, write)
static void DEF() add_8x8basis(int16_t rem[64], int16_t basis[64], int scale)
synthesis window for stochastic i
static int weight(int i, int blen, int offset)
static int16_t basis[64][64]