Overview
FormatConverter library is designed to convert pixel formats of images between each other. FormatConverter supports all uncompressed pixel formats (conversion between each other) listed in Fourcc enum (RGB24, BGR24, YUYV, UYVY, GRAY, YUV24, NV12, NV21, YU12, YV12) of Frame library (defines video frame object and pixel formats). FormatConverter library doesn’t have third-party dependencies. Main file FormatConverter.h contains declaration of FormatConverter class. The library uses C++17 standard and is compatible with Linux and Windows.
Documentation
Documentation: GO TO DOCUMENTATION
Simple interface
class FormatConverter
{
public:
/// Static method to obtain class version.
static std::string getVersion();
/// Convert pixel format.
bool convert(Frame& src, Frame& dst);
};

