Commit 989057fb authored by Committed by Henrik GramnerBrowse files
Optimize non-qmatrix coefficient decoding
Not having a quantizer matrix is the most common case, so it's worth having a separate code path for it that eliminates some calculations and table lookups. Without a qm, not only can we skip calculating dq * qm, but only Exp-Golomb-coded coefficients will have the potential to overflow, so we can also skip clipping for the vast majority of coefficients.
Showing with 115 additions and 59 deletions