georgmartius / vid.stab

Video stabilization library
http://public.hronopik.de/vid.stab/
Other
842 stars 108 forks source link

Add support for "show" option with packet pixel format (RGB24, BGR24…) #33

Open Karry opened 8 years ago

Karry commented 8 years ago

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!

Karry commented 3 years ago

Hi @georgmartius , are you interested for this patch?