Skip to content

usb_cam::image_t

Public Functions

Name
size_t set_size_in_bytes()
size_t set_number_of_pixels()
size_t set_bytes_per_line()
unsigned int get_format_fourcc()
make it a shorter API call to get the pixel format

Public Attributes

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

Public Functions Documentation

function set_size_in_bytes

inline size_t set_size_in_bytes()

function set_number_of_pixels

inline size_t set_number_of_pixels()

function set_bytes_per_line

inline size_t set_bytes_per_line()

function get_format_fourcc

inline unsigned int get_format_fourcc()

make it a shorter API call to get the pixel format

Public Attributes Documentation

variable width

size_t width;

variable v4l2_fmt

v4l2_format v4l2_fmt;

variable stamp

struct timespec stamp;

variable size_in_bytes

size_t size_in_bytes;

variable pixel_format

std::shared_ptr< pixel_format_base > pixel_format;

variable number_of_pixels

size_t number_of_pixels;

variable height

size_t height;

variable data

char * data;

variable bytes_per_line

size_t bytes_per_line;

Updated on 2024-06-22 at 03:15:44 +0000