usb_cam::formats::format_arguments_t
Helper structure to standardize all pixel_format_base constructors, so that they all have the same argument type. More...
#include <pixel_format_base.hpp>
Public Attributes
Name | |
---|---|
int | width |
size_t | pixels |
std::string | name |
int | height |
std::string | av_device_format_str |
Detailed Description
struct usb_cam::formats::format_arguments_t;
Helper structure to standardize all pixel_format_base constructors, so that they all have the same argument type.
This should also be easily extendable in the future if we need to add additional arguments for future pixel format(s) that are added.
Public Attributes Documentation
variable width
int width = 640;
variable pixels
size_t pixels = 640 * 480;
variable name
std::string name = "";
variable height
int height = 480;
variable av_device_format_str
std::string av_device_format_str = "AV_PIX_FMT_YUV422P";
Updated on 2024-05-01 at 16:56:02 +0000