diff --git a/libavcodec/sparc/dsputil_vis.c b/libavcodec/sparc/dsputil_vis.c index 434cf74ace..d0546c27a7 100644 --- a/libavcodec/sparc/dsputil_vis.c +++ b/libavcodec/sparc/dsputil_vis.c @@ -3986,21 +3986,6 @@ static void MC_avg_no_round_xy_8_vis (uint8_t * dest, const uint8_t * _ref, /* 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; @@ -4061,7 +4046,6 @@ void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx) 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;