Pass TXFM_2D_FLIP_CFG by pointer; don't return.
This avoids copying a whole struct on return. This is important, because this function is called frequently: once for every block that is transformed. Overall, aomenc speed seems to be improved slightly: by 0.15% - 0.30%. Change-Id: If44c351e1141c0fe0458daa2262aeb4afe44de46
Showing with 72 additions and 44 deletions