Add jpeg encoder.

Add jpeg encoder with default quality value:50.
Signed-off-by: Tang, Xin <xin.t.tang@intel.com>
17 is a magic number every where, can we use a meanful macro?