AnsweredAssumed Answered

iMX6 VPU MJPEG Thumbnail generation

Question asked by Kristoffer Glembo on Jun 9, 2016
Latest reply on Jun 14, 2016 by Kristoffer Glembo

Hi there,

 

When reading the VPU API Reference Manual one gets the impression that the VPU can generate thumbnails during JPEG encoding since the EncMjpgParam struct has thumbNailEnable and thumbNailWidth/Height fields.

 

However the manual is very light on the details of this thumbnail and I'm unable to get anything to work. My input buffer is in YUV422 horizontal format, and I specify a thumbnail size of 128x96. First I thought the thumbnail would appear in an APP0 marker in the generated header, but no APP0 is generated. Instead I gave addresses to two buffers for subsampled images to vpu_EncRegisterFrameBuffer() but nothing is written to these buffers.

 

Can someone enlighten me to how this is supposed to work?

 

Best regards,

Kristoffer

Outcomes