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!
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!