/* End of no rounding code */
-void get_pixels_vis(uint8_t *restrict dest, const uint8_t *_ref, int stride)
-{
- int i;
- uint8_t *ref = (uint8_t*)_ref;
- ref = vis_alignaddr(ref);
-
- for (i = 0; i < 8; i++)
- {
- vis_ld64(ref[0], TMP0);
- vis_st64(TMP0, dest[0]);
- dest += 8;
- ref += stride;
- }
-}
-
static sigjmp_buf jmpbuf;
static volatile sig_atomic_t canjump = 0;
int accel = vis_level ();
if (accel & ACCEL_SPARC_VIS) {
- c->get_pixels = get_pixels_vis;
c->put_pixels_tab[0][0] = MC_put_o_16_vis;
c->put_pixels_tab[0][1] = MC_put_x_16_vis;
c->put_pixels_tab[0][2] = MC_put_y_16_vis;