static void send_framebuffer_update_raw(VncState *vs, int x, int y, int w, int h)

{

    int i;

    uint8_t *row;



    row = ds_get_data(vs->ds) + y * ds_get_linesize(vs->ds) + x * ds_get_bytes_per_pixel(vs->ds);

    for (i = 0; i < h; i++) {

        vs->write_pixels(vs, row, w * ds_get_bytes_per_pixel(vs->ds));

        row += ds_get_linesize(vs->ds);

    }

}

static void send_framebuffer_update_raw(VncState *vs, int x, int y, int w, int h)

{

    int i;

    uint8_t *row;



    row = ds_get_data(vs->ds) + y * ds_get_linesize(vs->ds) + x * ds_get_bytes_per_pixel(vs->ds);

    for (i = 0; i < h; i++) {

        vs->write_pixels(vs, row, w * ds_get_bytes_per_pixel(vs->ds));

        row += ds_get_linesize(vs->ds);

    }

}

    row = ds_get_data(vs->ds) + y * ds_get_linesize(vs->ds) + x * ds_get_bytes_per_pixel(vs->ds);
static void FUNC_0(VncState *VAR_0, int VAR_1, int VAR_2, int VAR_3, int VAR_4)

{

    int VAR_5;

    uint8_t *row;



    row = ds_get_data(VAR_0->ds) + VAR_2 * ds_get_linesize(VAR_0->ds) + VAR_1 * ds_get_bytes_per_pixel(VAR_0->ds);

    for (VAR_5 = 0; VAR_5 < VAR_4; VAR_5++) {

        VAR_0->write_pixels(VAR_0, row, VAR_3 * ds_get_bytes_per_pixel(VAR_0->ds));

        row += ds_get_linesize(VAR_0->ds);

    }

}

static void FUNC_0(VncState *VAR_0, int VAR_1, int VAR_2, int VAR_3, int VAR_4)
{ int VAR_5; uint8_t *row; row = ds_get_data(VAR_0->ds) + VAR_2 * ds_get_linesize(VAR_0->ds) + VAR_1 * ds_get_bytes_per_pixel(VAR_0->ds); for (VAR_5 = 0; VAR_5 < VAR_4; VAR_5++) { VAR_0->write_pixels(VAR_0, row, VAR_3 * ds_get_bytes_per_pixel(VAR_0->ds)); row += ds_get_linesize(VAR_0->ds); } }