diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-07-16 01:35:01 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-07-16 02:56:52 +0200 |
commit | 21aed0ed925e15c502135ed90dca68ba8a2e8471 (patch) | |
tree | 6b5b3df39261d565c093228d7a498cd5b0ca669b /libavcodec/ppc/dsputil_altivec.c | |
parent | 0523dc57ffd0032b572392b1acc353db651eb23f (diff) | |
download | ffmpeg-21aed0ed925e15c502135ed90dca68ba8a2e8471.tar.gz |
ppc: remove disabled code
Diffstat (limited to 'libavcodec/ppc/dsputil_altivec.c')
-rw-r--r-- | libavcodec/ppc/dsputil_altivec.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/ppc/dsputil_altivec.c b/libavcodec/ppc/dsputil_altivec.c index adce61b277..7bdd5705b9 100644 --- a/libavcodec/ppc/dsputil_altivec.c +++ b/libavcodec/ppc/dsputil_altivec.c @@ -627,16 +627,6 @@ void put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, // it's faster than -funroll-loops, but using // -funroll-loops w/ this is bad - 74 cycles again. // all this is on a 7450, tuning for the 7450 -#if 0 - for (i = 0; i < h; i++) { - pixelsv1 = vec_ld(0, pixels); - pixelsv2 = vec_ld(16, pixels); - vec_st(vec_perm(pixelsv1, pixelsv2, perm), - 0, block); - pixels+=line_size; - block +=line_size; - } -#else for (i = 0; i < h; i += 4) { pixelsv1 = vec_ld( 0, pixels); pixelsv2 = vec_ld(15, pixels); @@ -657,7 +647,6 @@ void put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, pixels+=line_size_4; block +=line_size_4; } -#endif } /* next one assumes that ((line_size % 16) == 0) */ |