cancel
Showing results for 
Search instead for 
Did you mean: 

STM32:YCbCr to RGB565

Rizwan Syed
Associate II
Posted on March 09, 2017 at 06:01

Hi 

I am working on STM32F769i-Eval board.

I am connecting analog camera with CVBS output to ADV7180 chip.

Output of ADV7180 is YCbCr and provided to MCU as input.

MCU accepts YCbCr data but to display on the LCD i need to convert YCbCr to RGB565.

Is there any code to convert YCbCr to RGB565 and any one has worked on similar environment.?

Please suggest

1 REPLY 1
Posted on March 09, 2017 at 06:51

You know these kinds of transforms can be found with Google?

https://android.googlesource.com/platform/development/+/b97c2f0b5919b716ba5433e6153a29d7e1e357fe/tools/emulator/system/camera/converters.h

 
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..