comparison dsputil.c @ 4296:4bfaef73d6ed libavcodec

Adding H.264 DCT.
author takis
date Mon, 11 Dec 2006 15:53:55 +0000
parents a26b5096dbb0
children a96d905dcbaa
comparison
equal deleted inserted replaced
4295:aabfa0a58cb0 4296:4bfaef73d6ed
2547 void ff_put_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) { 2547 void ff_put_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) {
2548 put_pixels8_c(dst, src, stride, 8); 2548 put_pixels8_c(dst, src, stride, 8);
2549 } 2549 }
2550 #endif /* CONFIG_VC1_DECODER||CONFIG_WMV3_DECODER */ 2550 #endif /* CONFIG_VC1_DECODER||CONFIG_WMV3_DECODER */
2551 2551
2552 #if defined(CONFIG_H264_ENCODER)
2553 /* H264 specific */
2554 void ff_h264dsp_init(DSPContext* c, AVCodecContext *avctx);
2555 #endif /* CONFIG_H264_ENCODER */
2556
2552 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ 2557 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){
2553 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; 2558 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
2554 int i; 2559 int i;
2555 2560
2556 for(i=0; i<w; i++){ 2561 for(i=0; i<w; i++){
4024 ff_cavsdsp_init(c,avctx); 4029 ff_cavsdsp_init(c,avctx);
4025 #endif 4030 #endif
4026 #if defined(CONFIG_VC1_DECODER) || defined(CONFIG_WMV3_DECODER) 4031 #if defined(CONFIG_VC1_DECODER) || defined(CONFIG_WMV3_DECODER)
4027 ff_vc1dsp_init(c,avctx); 4032 ff_vc1dsp_init(c,avctx);
4028 #endif 4033 #endif
4034 #if defined(CONFIG_H264_ENCODER)
4035 ff_h264dsp_init(c,avctx);
4036 #endif
4029 4037
4030 c->put_mspel_pixels_tab[0]= put_mspel8_mc00_c; 4038 c->put_mspel_pixels_tab[0]= put_mspel8_mc00_c;
4031 c->put_mspel_pixels_tab[1]= put_mspel8_mc10_c; 4039 c->put_mspel_pixels_tab[1]= put_mspel8_mc10_c;
4032 c->put_mspel_pixels_tab[2]= put_mspel8_mc20_c; 4040 c->put_mspel_pixels_tab[2]= put_mspel8_mc20_c;
4033 c->put_mspel_pixels_tab[3]= put_mspel8_mc30_c; 4041 c->put_mspel_pixels_tab[3]= put_mspel8_mc30_c;