vid.stab
vid.stab copied to clipboard
Add support for "show" option with packet pixel format (RGB24, BGR24…)
This commit makes current draw* methods independent on pixel format. Pixel format is handled by two new methods - drawHLine and drawVLine that support all supported pixel formats.
Color type was changed to uint32_t. draw[HV]Line methods draw with RGB color for packet pixel formats but just for Y component of planar pixel format...
note: this code was tested with RGB24 and YUV 4:2:2 only!
Hi @georgmartius , are you interested for this patch?