Revision 73f51a4d

View differences:

libavcodec/dsputil.c
2641 2641
}
2642 2642

  
2643 2643
static void h263_v_loop_filter_c(uint8_t *src, int stride, int qscale){
2644
    if(ENABLE_ANY_H263) {
2644 2645
    int x;
2645 2646
    const int strength= ff_h263_loop_filter_strength[qscale];
2646 2647

  
......
2673 2674
        src[x-2*stride] = p0 - d2;
2674 2675
        src[x+  stride] = p3 + d2;
2675 2676
    }
2677
    }
2676 2678
}
2677 2679

  
2678 2680
static void h263_h_loop_filter_c(uint8_t *src, int stride, int qscale){
2681
    if(ENABLE_ANY_H263) {
2679 2682
    int y;
2680 2683
    const int strength= ff_h263_loop_filter_strength[qscale];
2681 2684

  
......
2708 2711
        src[y*stride-2] = p0 - d2;
2709 2712
        src[y*stride+1] = p3 + d2;
2710 2713
    }
2714
    }
2711 2715
}
2712 2716

  
2713 2717
static void h261_loop_filter_c(uint8_t *src, int stride){
libavcodec/i386/dsputil_mmx.c
622 622
        "paddb %%mm1, %%mm6             \n\t"
623 623

  
624 624
static void h263_v_loop_filter_mmx(uint8_t *src, int stride, int qscale){
625
    if(ENABLE_ANY_H263) {
625 626
    const int strength= ff_h263_loop_filter_strength[qscale];
626 627

  
627 628
    asm volatile(
......
638 639
          "+m" (*(uint64_t*)(src + 1*stride))
639 640
        : "g" (2*strength), "m"(ff_pb_FC)
640 641
    );
642
    }
641 643
}
642 644

  
643 645
static inline void transpose4x4(uint8_t *dst, uint8_t *src, int dst_stride, int src_stride){
......
670 672
}
671 673

  
672 674
static void h263_h_loop_filter_mmx(uint8_t *src, int stride, int qscale){
675
    if(ENABLE_ANY_H263) {
673 676
    const int strength= ff_h263_loop_filter_strength[qscale];
674 677
    uint64_t temp[4] __attribute__ ((aligned(8)));
675 678
    uint8_t *btemp= (uint8_t*)temp;
......
718 721
           "r" ((long)   stride ),
719 722
           "r" ((long)(3*stride))
720 723
    );
724
    }
721 725
}
722 726

  
723 727
#ifdef CONFIG_ENCODERS

Also available in: Unified diff