Revision b482e2d1 libavcodec/dsputil.c

View differences:

libavcodec/dsputil.c
2570 2570
    }
2571 2571
}
2572 2572

  
2573
/* AVS specific */
2574
void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx);
2575

  
2576
void ff_put_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride) {
2577
    put_pixels8_c(dst, src, stride, 8);
2578
}
2579
void ff_avg_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride) {
2580
    avg_pixels8_c(dst, src, stride, 8);
2581
}
2582
void ff_put_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride) {
2583
    put_pixels16_c(dst, src, stride, 16);
2584
}
2585
void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride) {
2586
    avg_pixels16_c(dst, src, stride, 16);
2587
}
2588

  
2573 2589
static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){
2574 2590
    uint8_t *cm = cropTbl + MAX_NEG_CROP;
2575 2591
    int i;
......
3989 4005
    c->biweight_h264_pixels_tab[8]= biweight_h264_pixels2x4_c;
3990 4006
    c->biweight_h264_pixels_tab[9]= biweight_h264_pixels2x2_c;
3991 4007

  
4008
    ff_cavsdsp_init(c,avctx);
4009

  
3992 4010
    c->put_mspel_pixels_tab[0]= put_mspel8_mc00_c;
3993 4011
    c->put_mspel_pixels_tab[1]= put_mspel8_mc10_c;
3994 4012
    c->put_mspel_pixels_tab[2]= put_mspel8_mc20_c;

Also available in: Unified diff