Enable encoder test tools build, use new API to create ref/rec frames to improve mem usage

BZ: 50429

Enable encoder test tools build; Use new API to create ref/rec frames to improve mem usage;
Add statistics log output; remove unused code

Change-Id: I5b9a96777cadc452f0c639c377950425f2b46086
Signed-off-by: Zhao Liang <leo.zhao@intel.com>
Reviewed-on: http://android.intel.com:8080/60387
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
2 files changed