encode: do quality scaling internally