• Ronald S. Bultje's avatar
    Inverse dimension order in token_cost array. · 118ccdcd
    Ronald S. Bultje authored
    This allows us to increment the position at the band-level only as
    we go from one band to the next; more importantly, that allows us to
    use an add instead of multiply instruction, and omit the instruction
    altogether if the band doesn't change from one coef to the next, thus
    being slightly faster (probably more noticeable on systems where a
    multiply is expensive, like arm).
    Change-Id: I4343fe35b9f9a47fa00b217bdcbf5f91ff96c381
vp9_block.h 5.32 KB