cvw::YUYV
Blue-Green-Red, 8-bit per channel. 3 channels. More...
#include <pixel_format.hpp>
Public Types
| Name | |
|---|---|
| using uint8_t | value_type Underlying storage element type. |
Public Attributes
| Name | |
|---|---|
| constexprint | channels Effective channel count for stride calculations. |
| constexprint | bytes_per_pixel Bytes consumed by one packed pixel pair. |
Detailed Description
struct cvw::YUYV;Blue-Green-Red, 8-bit per channel. 3 channels.
Red-Green-Blue, 8-bit per channel. 3 channels.
Blue-Green-Red-Alpha, 8-bit per channel. 4 channels.
Red-Green-Blue-Alpha, 8-bit per channel. 4 channels.
Single-channel 8-bit grayscale.
Single-channel 16-bit grayscale.
Single-channel 32-bit float.
Three-channel 32-bit float.
YUYV packed format (Y-U-Y-V, 2 bytes per pixel on average).
Represents a common embedded camera output format where luminance is sampled per pixel and chrominance is shared between adjacent pixels.
Public Types Documentation
using value_type
using cvw::YUYV::value_type = uint8_t;Underlying storage element type.
Public Attributes Documentation
variable channels
static constexprint channels = 2;Effective channel count for stride calculations.
variable bytes_per_pixel
static constexprint bytes_per_pixel = 2;Bytes consumed by one packed pixel pair.
Updated on 2026-05-17 at 13:22:38 +0000