mm-core: merge headers from media repo

Change-Id: I520a73fe901ed2e03c9276e0fec9190053f284c0
mm-core: update code from media repo

Change-Id: If6d5eecde710acea1241eaf6ea49ccfe65f38a33