2,599
edits
Efernandez (talk | contribs) |
Efernandez (talk | contribs) (→Format) |
||
Line 50: | Line 50: | ||
=== Format === | === Format === | ||
Format is an enumeration of values for the supported formats, which are: RGBA, RGB, GREY and YUV. | Format is an enumeration of values for the supported formats, which are: RGBA, RGB, GREY and YUV. Here we define the input format as YUY2. | ||
<syntaxhighlight lang=cpp> | <syntaxhighlight lang=cpp> | ||
rd::Format input_format = rd::Format::YUY2; | |||
rd::Format input_format = rd::Format:: | |||
</syntaxhighlight> | </syntaxhighlight> | ||