You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// [read only] Open flag. 0 - not open, 1 - open.
517
518
IS_OPEN,
519
+
/// Region of intrest upper left corner x coordinate.
520
+
ROI_X,
521
+
/// Region of intrest upper left corner x coordinate.
522
+
ROI_Y,
523
+
/// Region of intrest upper left corner x coordinate.
524
+
ROI_WIDTH,
525
+
/// Region of intrest upper left corner x coordinate.
526
+
ROI_HEIGHT,
518
527
/// [read/write] Custom parameter. Depends on implementation.
519
528
CUSTOM_1,
520
529
/// [read/write] Custom parameter. Depends on implementation.
@@ -540,6 +549,10 @@ enum class VSourceParam
540
549
| CYCLE_TIME_MKS | read only | Video capture cycle time. **VSource** class sets this value automatically. This parameter means time interval between two captured video frame. |
541
550
| FPS | read / write | FPS. User can set frame FPS before initialization or after. Some video source classes may set FPS automatically. |
542
551
| IS_OPEN | read only | Open flag. 0 - not open, 1 - open. |
552
+
| ROI_X | read / write | Region of intrest x coordinate. |
553
+
| ROI_Y | read / write | Region of intrest y coordinate. |
554
+
| ROI_WIDTH | read / write | Region of intrest width. |
555
+
| ROI_HEIGHT | read / write | Region of intrest heigth. |
/// Region of intrest upper left corner x coordinate.
618
+
int roiX{0};
619
+
/// Region of intrest upper left corner y coordinate.
620
+
int roiY{0};
621
+
/// Region of intrest width.
622
+
int roiWidth{0};
623
+
/// Region of intrest heigth.
624
+
int roiHeight{0};
604
625
/// Custom parameter. Depends on implementation.
605
626
float custom1{0.0f};
606
627
/// Custom parameter. Depends on implementation.
@@ -642,6 +663,10 @@ public:
642
663
| cycleTimeMks | int | Video capture cycle time. **VSource** class sets this value automatically. This parameter means time interval between two captured video frame. |
643
664
| fps | float | FPS. User can set frame FPS before initialization or after. Some video source classes may set FPS automatically. |
644
665
| isOpen | bool | Open flag. false - not open, true - open. |
| data | Pointer to data buffer. Buffer size should be at least **62** bytes. |
664
-
| size | Size of encoded data. 62 bytes by default. |
665
-
| bufferSize | Data buffer size. Buffer size must be >= 62 bytes. |
688
+
| data | Pointer to data buffer. |
689
+
| size | Size of encoded data. 78 bytes by default. |
690
+
| bufferSize | Data buffer size. If buffer size smaller than required, buffer will be filled with fewer parameters. |
666
691
| mask | Parameters mask - pointer to **VSourceParamsMask** structure. **VSourceParamsMask** (declared in VSource.h file) determines flags for each field (parameter) declared in **VSourceParams** class. If the user wants to exclude any parameters from serialization, he can put a pointer to the mask. If the user wants to exclude a particular parameter from serialization, he should set the corresponding flag in the VSourceParamsMask structure. |
0 commit comments