Lines Matching refs:coefficients
35 static double coefficients[8 * 8];
46 coefficients[j] = sqrt(0.125);
48 coefficients[i + j] = 0.5 * cos(i * (j + 0.5) * M_PI / 64.0);
61 /* implement the equation: block = coefficients * block * coefficients' */
66 /* out = coefficients * block */
71 tmp += coefficients[i + k] * block[k * 8 + j];
77 /* block = out * (coefficients') */
82 tmp += out[i + k] * coefficients[j * 8 + k];
97 /* implement the equation: block = (coefficients') * block * coefficients */
102 /* out = block * coefficients */
107 tmp += block[i + k] * coefficients[k * 8 + j];
113 /* block = (coefficients') * out */
118 tmp += coefficients[k + i] * out[k + j];