Some refactoring/cleanup of global motion costing

Change-Id: Ib44c713ebcccc621d4f3b9f22e8dbb638c50ff52
4 files changed