fix libmix encoder klockwork issues, rename IntelMetadatabuffer APIs

BZ: 50965

fix libmix encoder klockwork issues, remove all unused variables;
rename IntelMetadatabuffer APIs, rename SetBytes to UnSerialize,
GetBytes to Serialize, SetBytes/GetBytes will be dropped later;
Refine encoder code to avoid dynamic memory allocation.

Change-Id: I44344bb6d2e8536e65ecee8957e67722c1af21e5
Signed-off-by: Zhao Liang <>
Reviewed-by: Ding, Haitao <>
Tested-by: Ding, Haitao <>
Reviewed-by: buildbot <>
Tested-by: buildbot <>
8 files changed