📄 group__mywins__colorspace.htm
字号:
</table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__colorspace.htm#ga1">HSV2RGB</a>, <a class="el" href="group__mywins__colorspace.htm#ga2">YUV2RGB</a>, <a class="el" href="group__mywins__colorspace.htm#ga3">RGB2YUV</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga3" doxytag="colorspace.h::RGB2YUV"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void RGB2YUV </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__basic__types.htm#ga0">Uint8</a> </td> <td class="mdname" nowrap> <em>r</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__basic__types.htm#ga0">Uint8</a> </td> <td class="mdname" nowrap> <em>g</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__basic__types.htm#ga0">Uint8</a> </td> <td class="mdname" nowrap> <em>b</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>y</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>u</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int * </td> <td class="mdname" nowrap> <em>v</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Converts r/g/b values of a color in RGB color space to y/u/v values of the color in YUV color space. <p>The function converts r/g/b values of a color in RGB color space to y/u/v values of the color in YUV color space.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>r</em> </td><td>The red value of the RGB color space to be converted. </td></tr> <tr><td valign="top"></td><td valign="top"><em>g</em> </td><td>The green value of the RGB color space to be converted. </td></tr> <tr><td valign="top"></td><td valign="top"><em>b</em> </td><td>The blue value of the RGB color space to be converted. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The pointer to int, returns the y value of the YUV color space. </td></tr> <tr><td valign="top"></td><td valign="top"><em>u</em> </td><td>The pointer to int, returns the u value of the YUV color space. </td></tr> <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>The pointer to int, returns the v value of the YUV color space.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__colorspace.htm#ga0">RGB2HSV</a>, <a class="el" href="group__mywins__colorspace.htm#ga1">HSV2RGB</a>, <a class="el" href="group__mywins__colorspace.htm#ga2">YUV2RGB</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga2" doxytag="colorspace.h::YUV2RGB"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void YUV2RGB </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>y</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>u</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>v</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__basic__types.htm#ga0">Uint8</a> * </td> <td class="mdname" nowrap> <em>r</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__basic__types.htm#ga0">Uint8</a> * </td> <td class="mdname" nowrap> <em>g</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__basic__types.htm#ga0">Uint8</a> * </td> <td class="mdname" nowrap> <em>b</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Converts y/u/v values of a color in YUV color space to to r/g/b values of the color in RGB color space. <p>This function converts y/u/v values of YUV color space to r/g/b values of RGB color space.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The y value of the YUV color space to be converted. </td></tr> <tr><td valign="top"></td><td valign="top"><em>u</em> </td><td>The u value of the YUV color space to be converted. </td></tr> <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>The v value of the YUV color space to be converted. </td></tr> <tr><td valign="top"></td><td valign="top"><em>r</em> </td><td>The pointer to Uint8, returns the red value of the RGB color space. </td></tr> <tr><td valign="top"></td><td valign="top"><em>g</em> </td><td>The pointer to Uint8, returns the green value of the RGB color space. </td></tr> <tr><td valign="top"></td><td valign="top"><em>b</em> </td><td>The pointer to Uint8, returns the bout value of the RGB color space.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__colorspace.htm#ga0">RGB2HSV</a>, <a class="el" href="group__mywins__colorspace.htm#ga1">HSV2RGB</a>, <a class="el" href="group__mywins__colorspace.htm#ga3">RGB2YUV</a> </dd></dl> </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:55 2007 for MiniGUI V1.6.10 API Reference by <a href="http://www.doxygen.org/index.html"><img src="http://www.minigui.com/api_ref/1.6.10/doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -