|
xvsdk
3.2.0
|
A color image given by xv::ColorCamera. More...
#include <xv-types.h>
Public Types | |
| enum class | Codec { YUYV = 0 , YUV420p , JPEG , NV12 , BITSTREAM } |
Public Member Functions | |
| RgbImage | toRgb () const |
| Convert to a xv::RgbImage. | |
Public Attributes | |
| Codec | codec = Codec::YUYV |
| std::size_t | width = 0 |
| width of the image (in pixel) | |
| std::size_t | height = 0 |
| height of the image (in pixel) | |
| std::shared_ptr< const std::uint8_t > | data = nullptr |
| unsigned int | dataSize = 0 |
| image data | |
| double | hostTimestamp = std::numeric_limits<double>::infinity() |
host timestamp of the physical measurement (in second based on the std::chrono::steady_clock). | |
| std::int64_t | edgeTimestampUs = (std::numeric_limits<std::int64_t>::min)() |
| timestamp of the physical measurement (in microsecond based on edge clock). | |
A color image given by xv::ColorCamera.