/* Initialize the double precision discrete cosine transform functions fdct & idct.  */
av_cold void ff_ref_dct_init(void)
/* Initialize the double precision discrete cosine transform functions fdct & idct.  */
av_cold void ff_ref_dct_init(void)
{
    unsigned int i, j;
    for (j = 0; j < 8; ++j) {
        coefficients[j] = sqrt(0.125);
        for (i = 8; i < 64; i += 8) {
            coefficients[i + j] = 0.5 * cos(i * (j + 0.5) * M_PI / 64.0);
        }
    }
}