Mercurial > libavcodec.hg
comparison dsputil.c @ 3432:ab49baf4adad libavcodec
Fix compilation with --disable-decoders.
patch by Emiliano Parasassi, millallo --at-- gmail --dot-- com
author | diego |
---|---|
date | Fri, 07 Jul 2006 11:08:58 +0000 |
parents | adccbf4a1040 |
children | 7dc8e4a12105 |
comparison
equal
deleted
inserted
replaced
3431:ef69fc364d98 | 3432:ab49baf4adad |
---|---|
2568 dst+=dstStride; | 2568 dst+=dstStride; |
2569 src+=srcStride; | 2569 src+=srcStride; |
2570 } | 2570 } |
2571 } | 2571 } |
2572 | 2572 |
2573 #ifdef CONFIG_CAVS_DECODER | |
2573 /* AVS specific */ | 2574 /* AVS specific */ |
2574 void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx); | 2575 void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx); |
2575 | 2576 |
2576 void ff_put_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride) { | 2577 void ff_put_cavs_qpel8_mc00_c(uint8_t *dst, uint8_t *src, int stride) { |
2577 put_pixels8_c(dst, src, stride, 8); | 2578 put_pixels8_c(dst, src, stride, 8); |
2583 put_pixels16_c(dst, src, stride, 16); | 2584 put_pixels16_c(dst, src, stride, 16); |
2584 } | 2585 } |
2585 void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride) { | 2586 void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride) { |
2586 avg_pixels16_c(dst, src, stride, 16); | 2587 avg_pixels16_c(dst, src, stride, 16); |
2587 } | 2588 } |
2589 #endif /* CONFIG_CAVS_DECODER */ | |
2588 | 2590 |
2589 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ | 2591 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ |
2590 uint8_t *cm = cropTbl + MAX_NEG_CROP; | 2592 uint8_t *cm = cropTbl + MAX_NEG_CROP; |
2591 int i; | 2593 int i; |
2592 | 2594 |
4003 c->biweight_h264_pixels_tab[6]= biweight_h264_pixels4x4_c; | 4005 c->biweight_h264_pixels_tab[6]= biweight_h264_pixels4x4_c; |
4004 c->biweight_h264_pixels_tab[7]= biweight_h264_pixels4x2_c; | 4006 c->biweight_h264_pixels_tab[7]= biweight_h264_pixels4x2_c; |
4005 c->biweight_h264_pixels_tab[8]= biweight_h264_pixels2x4_c; | 4007 c->biweight_h264_pixels_tab[8]= biweight_h264_pixels2x4_c; |
4006 c->biweight_h264_pixels_tab[9]= biweight_h264_pixels2x2_c; | 4008 c->biweight_h264_pixels_tab[9]= biweight_h264_pixels2x2_c; |
4007 | 4009 |
4010 #ifdef CONFIG_CAVS_DECODER | |
4008 ff_cavsdsp_init(c,avctx); | 4011 ff_cavsdsp_init(c,avctx); |
4012 #endif | |
4009 | 4013 |
4010 c->put_mspel_pixels_tab[0]= put_mspel8_mc00_c; | 4014 c->put_mspel_pixels_tab[0]= put_mspel8_mc00_c; |
4011 c->put_mspel_pixels_tab[1]= put_mspel8_mc10_c; | 4015 c->put_mspel_pixels_tab[1]= put_mspel8_mc10_c; |
4012 c->put_mspel_pixels_tab[2]= put_mspel8_mc20_c; | 4016 c->put_mspel_pixels_tab[2]= put_mspel8_mc20_c; |
4013 c->put_mspel_pixels_tab[3]= put_mspel8_mc30_c; | 4017 c->put_mspel_pixels_tab[3]= put_mspel8_mc30_c; |