Commit 21bfed5b authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mpegvideo_enc: reduce space between blocks in emu_edge in encode_mb_internal

parent 5bca5f87
...@@ -2032,18 +2032,18 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s, ...@@ -2032,18 +2032,18 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s,
16, 16, mb_x * 16, mb_y * 16, 16, 16, mb_x * 16, mb_y * 16,
s->width, s->height); s->width, s->height);
ptr_y = ebuf; 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, wrap_c, wrap_c,
mb_block_width, mb_block_height, mb_block_width, mb_block_height,
mb_x * mb_block_width, mb_y * mb_block_height, mb_x * mb_block_width, mb_y * mb_block_height,
cw, ch); cw, ch);
ptr_cb = ebuf + 18 * wrap_y; ptr_cb = ebuf + 16 * wrap_y;
s->vdsp.emulated_edge_mc(ebuf + 18 * wrap_y + 16, ptr_cr, s->vdsp.emulated_edge_mc(ebuf + 16 * wrap_y + 16, ptr_cr,
wrap_c, wrap_c, wrap_c, wrap_c,
mb_block_width, mb_block_height, mb_block_width, mb_block_height,
mb_x * mb_block_width, mb_y * mb_block_height, mb_x * mb_block_width, mb_y * mb_block_height,
cw, ch); cw, ch);
ptr_cr = ebuf + 18 * wrap_y + 16; ptr_cr = ebuf + 16 * wrap_y + 16;
} }
if (s->mb_intra) { if (s->mb_intra) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment