• Christophe Gisquet's avatar
    huffyuvdec: remove superfluous check · 6848325a
    Christophe Gisquet authored
    An invalid entry already has the property of having a negative number
    of bits, so remove the check on the reserved value, and rearrange the
    code as a consequence.
    
    346800 decicycles in 422, 262079 runs, 65 skips
    168197 decicycles in gray, 262077 runs, 67 skips
    Overall time: 7.878s
    
    319076 decicycles in 422, 262096 runs, 48 skips
    159875 decicycles in gray, 262057 runs, 87 skips
    Overall time: 7.394s
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    6848325a
huffyuvdec.c 43.3 KB