diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-12-20 14:20:24 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-01-09 12:41:19 +0400 |
commit | ebfe622bb1ca57cecb932e42926745cba7161913 (patch) | |
tree | a63aa02a42854db02d71b05b97123ddc400e8df7 /libavcodec/mpegvideo_enc.c | |
parent | 952d3187d8eda7067fcd73f1d5f17837fa65eb34 (diff) |
mpegvideo: drop support for real (non-emulated) edges
Several decoders disable those anyway and they are not measurably faster
on x86. They might be somewhat faster on other platforms due to missing
emu edge SIMD, but the gain is not large enough (and those decoders
relevant enough) to justify the added complexity.
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 90da3f465c..f04926ace3 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -1079,7 +1079,7 @@ static int estimate_best_b_count(MpegEncContext *s) c->width = s->width >> scale; c->height = s->height >> scale; c->flags = CODEC_FLAG_QSCALE | CODEC_FLAG_PSNR | - CODEC_FLAG_INPUT_PRESERVED /*| CODEC_FLAG_EMU_EDGE*/; + CODEC_FLAG_INPUT_PRESERVED; c->flags |= s->avctx->flags & CODEC_FLAG_QPEL; c->mb_decision = s->avctx->mb_decision; c->me_cmp = s->avctx->me_cmp; |