46 return yuv {.y =
y, .u =
u, .v =
v};
57 friend auto operator <<(std::ostream& os,
const yuv& value) -> std::ostream& {
58 return os <<
xtd::string::format(
"yuv [y = {}, u = {}, v = {}]", value.y, value.u, value.v);
float single
Represents a single-precision floating-point number.
Definition single.hpp:23
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
The yuv struct.
Definition yuv.hpp:22
xtd::single v
Gets or sets the v component value of this xtd::drawing::yuv struct.
Definition yuv.hpp:34
static auto from_yuv(xtd::single y, xtd::single u, xtd::single v) noexcept -> xtd::drawing::yuv
Creates a xtd::yuv struct from the specified y, u, and v single values.
Definition yuv.hpp:45
xtd::single y
Gets or sets the y component value of this xtd::drawing::yuv struct.
Definition yuv.hpp:28
static auto from_yuv(const yuv &value) noexcept -> xtd::drawing::yuv
Creates a xtd::yuv struct from the specified axtd::drawing::yuv value.
Definition yuv.hpp:51
xtd::single u
Gets or sets the u component value of this xtd::drawing::yuv struct.
Definition yuv.hpp:31