Skip to content
  • Ronald S. Bultje's avatar
    Some minor optimizations for cost_coeffs(). · 91d223bd
    Ronald S. Bultje authored
    Cycle timings for first 3 frames of bus (speed 0) at 1500kbps:
    4x4: 298 -> 234 cycles
    8x8: 1227 -> 878 cycles
    16x16: 23426 -> 18134 cycles
    32x32: 4906 -> 3664 cycles
    
    Total encode time of first 50 frames of bus @ 1500kbps (speed 0) goes
    from 3min0.7 to 2min51.6 seconds, i.e. 5.3% faster.
    
    Change-Id: I68a0e1b530b0563b84a67342cca4b45146077e95
    91d223bd