void ff_clean_intra_table_entries(MpegEncContext *s)
{
    int wrap = s->b8_stride;
    int xy = s->block_index[0];
    s->dc_val[0][xy           ] =
    s->dc_val[0][xy + 1       ] =
    s->dc_val[0][xy     + wrap] =
    s->dc_val[0][xy + 1 + wrap] = 1024;
    memset(s->ac_val[0][xy       ], 0, 32 * sizeof(int16_t));
    memset(s->ac_val[0][xy + wrap], 0, 32 * sizeof(int16_t));
    if (s->msmpeg4_version>=3) {
        s->coded_block[xy           ] =
        s->coded_block[xy + 1       ] =
        s->coded_block[xy     + wrap] =
        s->coded_block[xy + 1 + wrap] = 0;
    }
    wrap = s->mb_stride;
    xy = s->mb_x + s->mb_y * wrap;
    s->dc_val[1][xy] =
    s->dc_val[2][xy] = 1024;
    memset(s->ac_val[1][xy], 0, 16 * sizeof(int16_t));
    memset(s->ac_val[2][xy], 0, 16 * sizeof(int16_t));
    s->mbintra_table[xy]= 0;
}
['void ff_clean_intra_table_entries(MpegEncContext *s)\n{\n    int wrap = s->b8_stride;\n    int xy = s->block_index[0];\n    s->dc_val[0][xy           ] =\n    s->dc_val[0][xy + 1       ] =\n    s->dc_val[0][xy     + wrap] =\n    s->dc_val[0][xy + 1 + wrap] = 1024;\n    memset(s->ac_val[0][xy       ], 0, 32 * sizeof(int16_t));\n    memset(s->ac_val[0][xy + wrap], 0, 32 * sizeof(int16_t));\n    if (s->msmpeg4_version>=3) {\n        s->coded_block[xy           ] =\n        s->coded_block[xy + 1       ] =\n        s->coded_block[xy     + wrap] =\n        s->coded_block[xy + 1 + wrap] = 0;\n    }\n    wrap = s->mb_stride;\n    xy = s->mb_x + s->mb_y * wrap;\n    s->dc_val[1][xy] =\n    s->dc_val[2][xy] = 1024;\n    memset(s->ac_val[1][xy], 0, 16 * sizeof(int16_t));\n    memset(s->ac_val[2][xy], 0, 16 * sizeof(int16_t));\n    s->mbintra_table[xy]= 0;\n}']