comparison cavsdsp.c @ 11379:4b0cc1b97def libavcodec

Move some dsp func prototypes to dsputil.h; they are defined in dsputil.c
author mru
date Sat, 06 Mar 2010 22:36:59 +0000
parents bf309c7ce615
children 1241c824de46
comparison
equal deleted inserted replaced
11378:f46b68960464 11379:4b0cc1b97def
508 CAVS_MC(put_, 8) 508 CAVS_MC(put_, 8)
509 CAVS_MC(put_, 16) 509 CAVS_MC(put_, 16)
510 CAVS_MC(avg_, 8) 510 CAVS_MC(avg_, 8)
511 CAVS_MC(avg_, 16) 511 CAVS_MC(avg_, 16)
512 512
513 void ff_put_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride);
514 void ff_avg_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride);
515 void ff_put_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride);
516 void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride);
517
518 av_cold void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx) { 513 av_cold void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx) {
519 #define dspfunc(PFX, IDX, NUM) \ 514 #define dspfunc(PFX, IDX, NUM) \
520 c->PFX ## _pixels_tab[IDX][ 0] = ff_ ## PFX ## NUM ## _mc00_c; \ 515 c->PFX ## _pixels_tab[IDX][ 0] = ff_ ## PFX ## NUM ## _mc00_c; \
521 c->PFX ## _pixels_tab[IDX][ 1] = ff_ ## PFX ## NUM ## _mc10_c; \ 516 c->PFX ## _pixels_tab[IDX][ 1] = ff_ ## PFX ## NUM ## _mc10_c; \
522 c->PFX ## _pixels_tab[IDX][ 2] = ff_ ## PFX ## NUM ## _mc20_c; \ 517 c->PFX ## _pixels_tab[IDX][ 2] = ff_ ## PFX ## NUM ## _mc20_c; \