void vnc_hextile_set_pixel_conversion(VncState *vs, int generic)

{

    if (!generic) {

        switch (vs->ds->surface->pf.bits_per_pixel) {

            case 8:

                vs->send_hextile_tile = send_hextile_tile_8;

                break;

            case 16:

                vs->send_hextile_tile = send_hextile_tile_16;

                break;

            case 32:

                vs->send_hextile_tile = send_hextile_tile_32;

                break;

        }

    } else {

        switch (vs->ds->surface->pf.bits_per_pixel) {

            case 8:

                vs->send_hextile_tile = send_hextile_tile_generic_8;

                break;

            case 16:

                vs->send_hextile_tile = send_hextile_tile_generic_16;

                break;

            case 32:

                vs->send_hextile_tile = send_hextile_tile_generic_32;

                break;

        }

    }

}

void vnc_hextile_set_pixel_conversion(VncState *vs, int generic)

{

    if (!generic) {

        switch (vs->ds->surface->pf.bits_per_pixel) {

            case 8:

                vs->send_hextile_tile = send_hextile_tile_8;

                break;

            case 16:

                vs->send_hextile_tile = send_hextile_tile_16;

                break;

            case 32:

                vs->send_hextile_tile = send_hextile_tile_32;

                break;

        }

    } else {

        switch (vs->ds->surface->pf.bits_per_pixel) {

            case 8:

                vs->send_hextile_tile = send_hextile_tile_generic_8;

                break;

            case 16:

                vs->send_hextile_tile = send_hextile_tile_generic_16;

                break;

            case 32:

                vs->send_hextile_tile = send_hextile_tile_generic_32;

                break;

        }

    }

}

void FUNC_0(VncState *VAR_0, int VAR_1)

{

    if (!VAR_1) {

        switch (VAR_0->ds->surface->pf.bits_per_pixel) {

            case 8:

                VAR_0->send_hextile_tile = send_hextile_tile_8;

                break;

            case 16:

                VAR_0->send_hextile_tile = send_hextile_tile_16;

                break;

            case 32:

                VAR_0->send_hextile_tile = send_hextile_tile_32;

                break;

        }

    } else {

        switch (VAR_0->ds->surface->pf.bits_per_pixel) {

            case 8:

                VAR_0->send_hextile_tile = send_hextile_tile_generic_8;

                break;

            case 16:

                VAR_0->send_hextile_tile = send_hextile_tile_generic_16;

                break;

            case 32:

                VAR_0->send_hextile_tile = send_hextile_tile_generic_32;

                break;

        }

    }

}

void FUNC_0(VncState *VAR_0, int VAR_1)
{ if (!VAR_1) { switch (VAR_0->ds->surface->pf.bits_per_pixel) { case 8:
VAR_0->send_hextile_tile = send_hextile_tile_8; break; case 16:
VAR_0->send_hextile_tile = send_hextile_tile_16; break; case 32:
VAR_0->send_hextile_tile = send_hextile_tile_32; break; } } else { switch (VAR_0->ds->surface->pf.bits_per_pixel) { case 8:
VAR_0->send_hextile_tile = send_hextile_tile_generic_8; break; case 16:
VAR_0->send_hextile_tile = send_hextile_tile_generic_16; break; case 32:
VAR_0->send_hextile_tile = send_hextile_tile_generic_32; break; } } }