Struct image_t

Struct Documentation

struct image_t

Public Functions

inline size_t set_number_of_pixels()
inline size_t set_bytes_per_line()
inline size_t set_size_in_bytes()
inline unsigned int get_format_fourcc()

make it a shorter API call to get the pixel format

Public Members

char *data
size_t width
size_t height
std::shared_ptr<pixel_format_base> pixel_format
size_t number_of_pixels
size_t bytes_per_line
size_t size_in_bytes
v4l2_format v4l2_fmt
struct timespec stamp