How to convert YUV422 to jpeg on openMV?

Discussion related to "under the hood" OpenMV topics.
ssurneed
Posts: 8
Joined: Thu Jun 14, 2018 5:51 am

How to convert YUV422 to jpeg on openMV?

Postby ssurneed » Fri Oct 05, 2018 6:11 am

I want to use bool jpeg_compress(image_t *src, image_t *dst, int quality, bool realloc) on STM32H743.
but, can I put in *src in YUV422 format?

I need compress YUV422 to jpeg.
User avatar
iabdalkader
Posts: 552
Joined: Sun May 24, 2015 3:53 pm

Re: How to convert YUV422 to jpeg on openMV?

Postby iabdalkader » Fri Oct 05, 2018 11:02 am

The code for the HW encoder only handles GS, RGB565 and YUV444.
User avatar
kwagyeman
Posts: 2291
Joined: Sun May 24, 2015 2:10 pm

Re: How to convert YUV422 to jpeg on openMV?

Postby kwagyeman » Fri Oct 05, 2018 11:59 am

Just modify the feeder code to duplicate the U/V parts of YUV422 to get YUV444.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests