Revision d23e3e5f libavcodec/cavs.c

View differences:

libavcodec/cavs.c
353 353
          || full_my < 0-extra_height
354 354
          || full_mx + 16/*FIXME*/ > pic_width + extra_width
355 355
          || full_my + 16/*FIXME*/ > pic_height + extra_height){
356
        ff_emulated_edge_mc(s->edge_emu_buffer, src_y - 2 - 2*h->l_stride, h->l_stride,
356
        s->dsp.emulated_edge_mc(s->edge_emu_buffer, src_y - 2 - 2*h->l_stride, h->l_stride,
357 357
                            16+5, 16+5/*FIXME*/, full_mx-2, full_my-2, pic_width, pic_height);
358 358
        src_y= s->edge_emu_buffer + 2 + 2*h->l_stride;
359 359
        emu=1;
......
365 365
    }
366 366

  
367 367
    if(emu){
368
        ff_emulated_edge_mc(s->edge_emu_buffer, src_cb, h->c_stride,
368
        s->dsp.emulated_edge_mc(s->edge_emu_buffer, src_cb, h->c_stride,
369 369
                            9, 9/*FIXME*/, (mx>>3), (my>>3), pic_width>>1, pic_height>>1);
370 370
        src_cb= s->edge_emu_buffer;
371 371
    }
372 372
    chroma_op(dest_cb, src_cb, h->c_stride, chroma_height, mx&7, my&7);
373 373

  
374 374
    if(emu){
375
        ff_emulated_edge_mc(s->edge_emu_buffer, src_cr, h->c_stride,
375
        s->dsp.emulated_edge_mc(s->edge_emu_buffer, src_cr, h->c_stride,
376 376
                            9, 9/*FIXME*/, (mx>>3), (my>>3), pic_width>>1, pic_height>>1);
377 377
        src_cr= s->edge_emu_buffer;
378 378
    }

Also available in: Unified diff