static int check_intra_pred_mode(int mode, int mb_x, int mb_y)

{

    if (mode == DC_PRED8x8) {

        if (!(mb_x|mb_y))

            mode = DC_128_PRED8x8;

        else if (!mb_y)

            mode = LEFT_DC_PRED8x8;

        else if (!mb_x)

            mode = TOP_DC_PRED8x8;

    }

    return mode;

}

static int check_intra_pred_mode(int mode, int mb_x, int mb_y)

{

    if (mode == DC_PRED8x8) {

        if (!(mb_x|mb_y))

            mode = DC_128_PRED8x8;

        else if (!mb_y)

            mode = LEFT_DC_PRED8x8;

        else if (!mb_x)

            mode = TOP_DC_PRED8x8;

    }

    return mode;

}

static int FUNC_0(int VAR_0, int VAR_1, int VAR_2)

{

    if (VAR_0 == DC_PRED8x8) {

        if (!(VAR_1|VAR_2))

            VAR_0 = DC_128_PRED8x8;

        else if (!VAR_2)

            VAR_0 = LEFT_DC_PRED8x8;

        else if (!VAR_1)

            VAR_0 = TOP_DC_PRED8x8;

    }

    return VAR_0;

}

static int FUNC_0(int VAR_0, int VAR_1, int VAR_2)
{ if (VAR_0 == DC_PRED8x8) { if (!(VAR_1|VAR_2))
VAR_0 = DC_128_PRED8x8; else if (!VAR_2)
VAR_0 = LEFT_DC_PRED8x8; else if (!VAR_1)
VAR_0 = TOP_DC_PRED8x8; } return VAR_0; }