Revision d23e3e5f libavcodec/mpegvideo_enc.c

View differences:

libavcodec/mpegvideo_enc.c
1548 1548

  
1549 1549
    if(mb_x*16+16 > s->width || mb_y*16+16 > s->height){
1550 1550
        uint8_t *ebuf= s->edge_emu_buffer + 32;
1551
        ff_emulated_edge_mc(ebuf            , ptr_y , wrap_y,16,16,mb_x*16,mb_y*16, s->width   , s->height);
1551
        s->dsp.emulated_edge_mc(ebuf            , ptr_y , wrap_y,16,16,mb_x*16,mb_y*16, s->width   , s->height);
1552 1552
        ptr_y= ebuf;
1553
        ff_emulated_edge_mc(ebuf+18*wrap_y  , ptr_cb, wrap_c, 8, mb_block_height, mb_x*8, mb_y*8, s->width>>1, s->height>>1);
1553
        s->dsp.emulated_edge_mc(ebuf+18*wrap_y  , ptr_cb, wrap_c, 8, mb_block_height, mb_x*8, mb_y*8, s->width>>1, s->height>>1);
1554 1554
        ptr_cb= ebuf+18*wrap_y;
1555
        ff_emulated_edge_mc(ebuf+18*wrap_y+8, ptr_cr, wrap_c, 8, mb_block_height, mb_x*8, mb_y*8, s->width>>1, s->height>>1);
1555
        s->dsp.emulated_edge_mc(ebuf+18*wrap_y+8, ptr_cr, wrap_c, 8, mb_block_height, mb_x*8, mb_y*8, s->width>>1, s->height>>1);
1556 1556
        ptr_cr= ebuf+18*wrap_y+8;
1557 1557
    }
1558 1558

  

Also available in: Unified diff