• Ronald S. Bultje's avatar
    Make cost_coeffs() more efficient. · 639b863d
    Ronald S. Bultje authored
    Cache the constant offset in one variable to prevent re-loading that
    in each loop iteration, and mark the function as inline so we can use
    the fact that the transform size is always known in the caller.
    Almost 1% faster encoding overall.
    Change-Id: Id78325a60b025057d8f4ecd9003a74086ccbf85a