Revision 80944df7

View differences:

libavcodec/x86/h264_intrapred.asm
637 637
%endif
638 638
    paddw        m0, m1           ; sum of H coefficients
639 639

  
640
    pmullw       m0, [pw_17]
641
    paddw        m0, [pw_16]
642
    psraw        m0, 5
643

  
644 640
    lea          r4, [r0+r2*4-1]
645 641
    lea          r3, [r0     -1]
646 642
    add          r4, r2
......
694 690
    shl          r3, 4
695 691
    movd        r1d, m0
696 692
    movsx       r1d, r1w
693
    imul        r1d, 17
694
    add         r1d, 16
695
    sar         r1d, 5
696
    movd         m0, r1d
697 697
    add         r1d, r5d
698 698
    sub         r3d, r1d
699 699
    add         r1d, r1d

Also available in: Unified diff