1 #ifndef USB_CAM_CONVERTERS_H 2 #define USB_CAM_CONVERTERS_H 44 bool YUV2RGB(
const unsigned char & y,
45 const unsigned char & u,
46 const unsigned char & v,
52 const int & NumPixels);
55 const int & NumPixels);
58 const int & NumPixels);
63 std::string
FCC2S(
const unsigned int & val);
66 const int & NumPixels);
74 #endif // USB_CAM_CONVERTERS_H
bool YUV4202RGB(char *YUV, char *&RGB, const int &width, const int &height)
color_format_t color_format_from_string(const std::string &str)
std::string FCC2S(const unsigned int &val)
bool MONO102MONO8(const char *RAW, char *&MONO, const int &NumPixels)
std::string pixel_format_to_string(const uint32_t &pixelformat)
io_method_t io_method_from_string(const std::string &str)
std::string v4l_control_name_to_param_name(const char *name)
bool UYVY2RGB(const char *YUV, char *&RGB, const int &NumPixels)
pixel_format_t pixel_format_from_string(const std::string &str)
bool COPY2RGB(const char *input, char *&output, const int &NumPixels)
bool YUYV2RGB(const char *YUV, char *&RGB, const int &NumPixels)
unsigned int v4l_pixel_format_from_pixel_format(const pixel_format_t &pixelformat, bool &mono)
bool YUV2RGB(const unsigned char &y, const unsigned char &u, const unsigned char &v, unsigned char *r, unsigned char *g, unsigned char *b)