Add jpeg encoder.

Add jpeg encoder with default quality value:50.
Signed-off-by: Tang, Xin <xin.t.tang@intel.com>
similar code as below, it's better if you can use one pointer to point jpeg_luma_quant or jpeg_chroma_quant