diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2004-07-23 20:10:44 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2004-07-23 20:10:44 +0000 |
commit | 510eae8baeb5f371bb6f749806886eaa37c1d02b (patch) | |
tree | 3b9a5300e11549990600a8238fce62b93126f6a8 /libavcodec/sparc/dsputil_vis.c | |
parent | e2a3cd590aebdce035757d28e60b1b56e563fc88 (diff) | |
download | ffmpeg-510eae8baeb5f371bb6f749806886eaa37c1d02b.tar.gz |
* patch from James Morrison (getting rid of broken code)
Originally committed as revision 3336 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sparc/dsputil_vis.c')
-rw-r--r-- | libavcodec/sparc/dsputil_vis.c | 16 |
1 files changed, 0 insertions, 16 deletions
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; |