diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-19 16:07:30 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-19 16:07:30 +0100 |
commit | adef752f1b187a12c0bfdfc8ce1b1ee7e5a2fb22 (patch) | |
tree | 354653f132144d467aa2794da4d136334a8168cc /libavcodec/mpegvideoencdsp.c | |
parent | 95a29b1a820503950b8684b2c4242b916b0f29cc (diff) | |
parent | 0e285c2f908789e96e29bfd969ad5eaaa0eece65 (diff) | |
download | ffmpeg-adef752f1b187a12c0bfdfc8ce1b1ee7e5a2fb22.tar.gz |
Merge commit '0e285c2f908789e96e29bfd969ad5eaaa0eece65'
* commit '0e285c2f908789e96e29bfd969ad5eaaa0eece65':
mpegvideo: Kill some disabled code
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/mpegvideoencdsp.c')
-rw-r--r-- | libavcodec/mpegvideoencdsp.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/mpegvideoencdsp.c b/libavcodec/mpegvideoencdsp.c index a7c6102c36..0af3d8bef8 100644 --- a/libavcodec/mpegvideoencdsp.c +++ b/libavcodec/mpegvideoencdsp.c @@ -85,16 +85,6 @@ static int pix_norm1_c(uint8_t *pix, int line_size) for (i = 0; i < 16; i++) { for (j = 0; j < 16; j += 8) { -#if 0 - s += sq[pix[0]]; - s += sq[pix[1]]; - s += sq[pix[2]]; - s += sq[pix[3]]; - s += sq[pix[4]]; - s += sq[pix[5]]; - s += sq[pix[6]]; - s += sq[pix[7]]; -#else #if HAVE_FAST_64BIT register uint64_t x = *(uint64_t *) pix; s += sq[x & 0xff]; @@ -117,7 +107,6 @@ static int pix_norm1_c(uint8_t *pix, int line_size) s += sq[(x >> 16) & 0xff]; s += sq[(x >> 24) & 0xff]; #endif -#endif pix += 8; } pix += line_size - 16; |