Lines Matching defs:block
54 * Transform 8x8 block of data with a double precision forward DCT <br>
57 * @param block pointer to 8x8 block of data to transform
59 void ff_ref_fdct(short *block)
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') */
84 block[i + j] = floor(tmp + 0.499999999999);
90 * Transform 8x8 block of data with a double precision inverse DCT <br>
93 * @param block pointer to 8x8 block of data to transform
95 void ff_ref_idct(short *block)
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 */
120 block[i * 8 + j] = floor(tmp + 0.5);