AnsweredAssumed Answered

How change compressing rations/ quality for encoder from YUV to JPEG (VPU + Linux + Sabre i.mx6q)

Question asked by ievgenshendelyar on Jul 18, 2013
Latest reply on Aug 23, 2013 by ricardo sousa
Branched to a new discussion


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?


My platform:

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


Thank you!