I am programming encoder which take YUV file and make JPEG file. I made simple encoder which based on VPU's example (mxc_vpu_test.out). I need to add settings for change compassing rations/ quality (best quality, medium, best compression ratio). Can I do this by VPU? What I shoulde do? I found in documentation information about struct EncMjpgParam which consist hiffBits and qMatTab. Also I found tables with some data in file vpu_jpegtable.h.
But how it use not clear. Can you give me some advice or examples?
Sabre i.mx6Q - SDP
Linux (standard image from Freescale's packet L3.0.35_4.0.0_130424_images_MX6)
Host machine: Ubuntu 9.04