diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-28 06:27:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-28 06:27:15 +0200 |
commit | 21bfed5b06f01c26734132d5d672db03594152c0 (patch) | |
tree | f12194f5480464c620c13d09bdf6dcddecc22e89 | |
parent | 5bca5f87d1a32669e0357790e0d0ad8a5c9c998b (diff) | |
download | ffmpeg-21bfed5b06f01c26734132d5d672db03594152c0.tar.gz |
avcodec/mpegvideo_enc: reduce space between blocks in emu_edge in encode_mb_internal
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index e257f4dcfc..925721aa38 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -2032,18 +2032,18 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s, 16, 16, mb_x * 16, mb_y * 16, s->width, s->height); ptr_y = ebuf; - s->vdsp.emulated_edge_mc(ebuf + 18 * wrap_y, ptr_cb, + s->vdsp.emulated_edge_mc(ebuf + 16 * wrap_y, ptr_cb, wrap_c, wrap_c, mb_block_width, mb_block_height, mb_x * mb_block_width, mb_y * mb_block_height, cw, ch); - ptr_cb = ebuf + 18 * wrap_y; - s->vdsp.emulated_edge_mc(ebuf + 18 * wrap_y + 16, ptr_cr, + ptr_cb = ebuf + 16 * wrap_y; + s->vdsp.emulated_edge_mc(ebuf + 16 * wrap_y + 16, ptr_cr, wrap_c, wrap_c, mb_block_width, mb_block_height, mb_x * mb_block_width, mb_y * mb_block_height, cw, ch); - ptr_cr = ebuf + 18 * wrap_y + 16; + ptr_cr = ebuf + 16 * wrap_y + 16; } if (s->mb_intra) { |