Changes since v3: - Make SwsInternal a superset of SwsContext, instead of a separate struct - Fix minor bug in the calculation of SWS_STRICT I overall prefer this version, it simplifies things and allows us to split apart the cosmetic and non-cosmetic commits very cleanly.