comparison dsputil.c @ 3656:1cc5bdadd487 libavcodec

New qpel MC functions conforming to VC-1 standard. Existing DSPUtil functions cause chroma artifacts on some files.
author kostya
date Thu, 31 Aug 2006 04:44:54 +0000
parents 47821be55b6c
children 8e180a3276fe
comparison
equal deleted inserted replaced
3655:8dbf728f3967 3656:1cc5bdadd487
2596 void ff_vc1dsp_init(DSPContext* c, AVCodecContext *avctx); 2596 void ff_vc1dsp_init(DSPContext* c, AVCodecContext *avctx);
2597 2597
2598 void ff_put_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) { 2598 void ff_put_vc1_mspel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) {
2599 put_pixels8_c(dst, src, stride, 8); 2599 put_pixels8_c(dst, src, stride, 8);
2600 } 2600 }
2601
2602 void ff_put_vc1_qpel_mc00_c(uint8_t *dst, uint8_t *src, int stride, int rnd) {
2603 put_pixels8_c(dst, src, stride, 8);
2604 }
2601 #endif /* CONFIG_VC1_DECODER||CONFIG_WMV3_DECODER */ 2605 #endif /* CONFIG_VC1_DECODER||CONFIG_WMV3_DECODER */
2602 2606
2603 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ 2607 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){
2604 uint8_t *cm = cropTbl + MAX_NEG_CROP; 2608 uint8_t *cm = cropTbl + MAX_NEG_CROP;
2605 int i; 2609 int i;