• Måns Rullgård's avatar
    ARM: fix j_rev_dct_ARM · 77753f87
    Måns Rullgård authored
    This is a bugfix for ARMv4 assembly implementation of 'j_rev_dct'
    function.
    
    The problem was in the incorrect partially empty row detection. Even
    if the first two coefficients in the row were nonzero, it handled this
    just like the case with only the first nonzero coefficient.
    
    Now this function produces exactly the same output as the stripped
    down reference C version of 'j_rev_dct' (with the nested checks like
    'if (d6) { if (d2) { ...' always evaluated as true, avoiding shortcut
    branches).
    
    Originally committed as revision 15805 to svn://svn.ffmpeg.org/ffmpeg/trunk
    77753f87
jrevdct_arm.S 13.6 KB