Enabled JPEG HW encoding based on gralloc source buffers to Libmix's IntelImageEncoder.

BZ: 159383

Issue: Camera may use gralloc buffers as JPEG
encoding source in the future.

Solution: enabled it and added its test function.

Change-Id: Iea0dbdd865690f7d39097526d9c77b254ae8f7de
Signed-off-by: SUN,Jing <jing.a.sun@intel.com>
3 files changed