build:  Put all codec optiomization definitions in one place

It was already mostly there.

Change-Id: I24ff278d9bf18a54be4b67c3075d5ebbe7947f65
5 files changed