Revision d23e3e5f libavcodec/h264.c

View differences:

libavcodec/h264.c
361 361
       || full_my < 0-extra_height
362 362
       || full_mx + 16/*FIXME*/ > pic_width + extra_width
363 363
       || full_my + 16/*FIXME*/ > pic_height + extra_height){
364
        ff_emulated_edge_mc(s->edge_emu_buffer, src_y - 2 - 2*h->mb_linesize, h->mb_linesize, 16+5, 16+5/*FIXME*/, full_mx-2, full_my-2, pic_width, pic_height);
364
        s->dsp.emulated_edge_mc(s->edge_emu_buffer, src_y - 2 - 2*h->mb_linesize, h->mb_linesize, 16+5, 16+5/*FIXME*/, full_mx-2, full_my-2, pic_width, pic_height);
365 365
            src_y= s->edge_emu_buffer + 2 + 2*h->mb_linesize;
366 366
        emu=1;
367 367
    }
......
382 382
    src_cr= pic->data[2] + (mx>>3) + (my>>3)*h->mb_uvlinesize;
383 383

  
384 384
    if(emu){
385
        ff_emulated_edge_mc(s->edge_emu_buffer, src_cb, h->mb_uvlinesize, 9, 9/*FIXME*/, (mx>>3), (my>>3), pic_width>>1, pic_height>>1);
385
        s->dsp.emulated_edge_mc(s->edge_emu_buffer, src_cb, h->mb_uvlinesize, 9, 9/*FIXME*/, (mx>>3), (my>>3), pic_width>>1, pic_height>>1);
386 386
            src_cb= s->edge_emu_buffer;
387 387
    }
388 388
    chroma_op(dest_cb, src_cb, h->mb_uvlinesize, chroma_height, mx&7, my&7);
389 389

  
390 390
    if(emu){
391
        ff_emulated_edge_mc(s->edge_emu_buffer, src_cr, h->mb_uvlinesize, 9, 9/*FIXME*/, (mx>>3), (my>>3), pic_width>>1, pic_height>>1);
391
        s->dsp.emulated_edge_mc(s->edge_emu_buffer, src_cr, h->mb_uvlinesize, 9, 9/*FIXME*/, (mx>>3), (my>>3), pic_width>>1, pic_height>>1);
392 392
            src_cr= s->edge_emu_buffer;
393 393
    }
394 394
    chroma_op(dest_cr, src_cr, h->mb_uvlinesize, chroma_height, mx&7, my&7);

Also available in: Unified diff