#include <Frame.hpp>
|
std::unique_ptr< FrameImpl > | impl_ |
|
Definition at line 201 of file Frame.hpp.
ob::VideoFrame::VideoFrame |
( |
Frame & |
frame | ) |
|
virtual ob::VideoFrame::~VideoFrame |
( |
| ) |
|
|
inlinevirtualnoexcept |
uint32_t ob::VideoFrame::width |
( |
| ) |
|
Get frame width.
- Returns
- uint32_t returns the width of the frame
uint32_t ob::VideoFrame::height |
( |
| ) |
|
Get frame height.
- Returns
- uint32_t returns the height of the frame
void* ob::VideoFrame::metadata |
( |
| ) |
|
Get the metadata of the frame.
- Returns
- void* returns the metadata of the frame
uint32_t ob::VideoFrame::metadataSize |
( |
| ) |
|
Get the metadata size of the frame.
- Returns
- uint32_t returns the metadata size of the frame
uint8_t ob::VideoFrame::pixelAvailableBitSize |
( |
| ) |
|
Get the effective number of pixels (such as Y16 format frame, but only the lower 10 bits are valid bits, and the upper 6 bits are filled with 0)
- Attention
- Only valid for Y8/Y10/Y11/Y12/Y14/Y16 format
- Returns
- uint8_t returns the effective number of pixels in the pixel, or 0 if it is an unsupported format
The documentation for this class was generated from the following file:
- /root/libobsensor/include/libobsensor/hpp/Frame.hpp