21 #ifndef VIDEOCAPTURE_DEF_HPP
22 #define VIDEOCAPTURE_DEF_HPP
25 #define NSEC_PER_SEC 1000000000ULL
116 static const std::vector<Resolution> cameraResolution = {
117 Resolution(2208, 1242),
118 Resolution(1920, 1080),
119 Resolution(1280, 720),
139 {7,14,29,54,66,78,89,103,114,123,139,154,183,206,228,254},
140 {9,17,34,58,71,83,89,108,118,127,143,158,186,208,229,254},
141 {10,20,38,63,75,88,99,112,123,132,147,162,189,210,230,254},
142 {12,23,43,67,80,92,103,117,127,136,151,165,192,212,231,254},
143 {13,26,47,71,84,97,108,121,131,140,155,169,195,214,232,255},
144 {18,32,54,80,93,106,117,130,140,149,164,177,202,219,236,255},
145 {24,38,61,88,102,115,127,139,148,157,172,186,209,225,240,255},
146 {29,44,68,97,111,124,136,147,157,166,181,194,215,230,243,255},
147 {34,50,75,105,120,133,145,156,165,174,189,202,222,235,247,255}
RESOLUTION
Available resolutions.
struct sl_oc::video::VideoParams VideoParams
The camera configuration parameters.
FPS
Available frames per seconds.
@ FPS_15
15 Frames per second. Available for all the resolutions.
@ FPS_30
30 Frames per second. Not available for RESOLUTION::HD2K.
@ FPS_100
100 Frames per second. Only available for RESOLUTION::VGA.
@ FPS_60
60 Frames per second. Not available for RESOLUTION::HD2K and RESOLUTION::HD1080.
CAM_SENS_POS
Position of the Camera CMOS sensors.
const unsigned char PRESET_GAMMA[9][16]
@ ZED_M_CBS
ZED Mini new FW.
Resolution in pixel for each frame.
Resolution(size_t w_=0, size_t h_=0)
Constructor.
size_t height
array height in pixels
size_t width
array width in pixels
The Buffer struct used by UVC to store frame data.
size_t length
Size of the buffer.
void * start
Address of the first byte of the buffer.
The camera configuration parameters.
RESOLUTION res
Camera resolution.
FPS fps
Frames per second.
VideoParams()
Default constructor setting the default parameter values.