Revision 7160bb71 libavcodec/x86/vc1dsp_mmx.c

View differences:

libavcodec/x86/vc1dsp_mmx.c
736 736
    dsp->put_vc1_mspel_pixels_tab[11] = put_vc1_mspel_mc32_mmx;
737 737
    dsp->put_vc1_mspel_pixels_tab[15] = put_vc1_mspel_mc33_mmx;
738 738

  
739
    if (mm_flags & FF_MM_MMX2){
739
    if (mm_flags & AV_CPU_FLAG_MMX2){
740 740
        dsp->avg_vc1_mspel_pixels_tab[ 0] = ff_avg_vc1_mspel_mc00_mmx2;
741 741
        dsp->avg_vc1_mspel_pixels_tab[ 4] = avg_vc1_mspel_mc01_mmx2;
742 742
        dsp->avg_vc1_mspel_pixels_tab[ 8] = avg_vc1_mspel_mc02_mmx2;
......
772 772
        dsp->vc1_h_loop_filter16 = vc1_h_loop_filter16_ ## EXT
773 773

  
774 774
#if HAVE_YASM
775
    if (mm_flags & FF_MM_MMX) {
775
    if (mm_flags & AV_CPU_FLAG_MMX) {
776 776
        ASSIGN_LF(mmx);
777 777
    }
778 778
    return;
779
    if (mm_flags & FF_MM_MMX2) {
779
    if (mm_flags & AV_CPU_FLAG_MMX2) {
780 780
        ASSIGN_LF(mmx2);
781 781
    }
782
    if (mm_flags & FF_MM_SSE2) {
782
    if (mm_flags & AV_CPU_FLAG_SSE2) {
783 783
        dsp->vc1_v_loop_filter8  = ff_vc1_v_loop_filter8_sse2;
784 784
        dsp->vc1_h_loop_filter8  = ff_vc1_h_loop_filter8_sse2;
785 785
        dsp->vc1_v_loop_filter16 = vc1_v_loop_filter16_sse2;
786 786
        dsp->vc1_h_loop_filter16 = vc1_h_loop_filter16_sse2;
787 787
    }
788
    if (mm_flags & FF_MM_SSSE3) {
788
    if (mm_flags & AV_CPU_FLAG_SSSE3) {
789 789
        ASSIGN_LF(ssse3);
790 790
    }
791
    if (mm_flags & FF_MM_SSE4) {
791
    if (mm_flags & AV_CPU_FLAG_SSE4) {
792 792
        dsp->vc1_h_loop_filter8  = ff_vc1_h_loop_filter8_sse4;
793 793
        dsp->vc1_h_loop_filter16 = vc1_h_loop_filter16_sse4;
794 794
    }

Also available in: Unified diff