📄 colorspace_8h-source.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: colorspace.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Data Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File List</a> | <a class="qindex" href="functions.htm">Data Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related Pages</a></div><div class="nav"><a class="el" href="dir_000000.htm">ext</a> / <a class="el" href="dir_000001.htm">include</a></div><h1>colorspace.h</h1><a href="colorspace_8h.htm">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 00021 <span class="comment">/*</span>00022 <span class="comment"> * $Id: colorspace.h 7369 2007-08-16 05:28:10Z xgwang $</span>00023 <span class="comment"> *</span>00024 <span class="comment"> * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, </span>00025 <span class="comment"> * pSOS, ThreadX, NuCleus, OSE, and Win32.</span>00026 <span class="comment"> *</span>00027 <span class="comment"> * Copyright (C) 2002-2007 Feynman Software.</span>00028 <span class="comment"> * Copyright (C) 1998-2002 Wei Yongming.</span>00029 <span class="comment"> */</span>00030 00031 <span class="preprocessor">#ifndef _MGUI_COLORSPACE_H</span>00032 <span class="preprocessor"></span><span class="preprocessor">#define _MGUI_COLORSPACE_H</span>00033 <span class="preprocessor"></span>00034 00035 <span class="preprocessor">#ifdef __cplusplus</span>00036 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {00037 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>00038 00039 <span class="preprocessor">#ifdef _USE_NEWGAL</span>00040 <span class="preprocessor"></span>00076 <span class="keywordtype">void</span> <a class="code" href="group__mywins__colorspace.htm#ga0">RGB2HSV</a> (<a class="code" href="group__basic__types.htm#ga0">Uint8</a> r, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> g, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> b, 00077 <a class="code" href="group__basic__types.htm#ga2">Uint16</a> *hout, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> *sout, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> *vout);00078 00103 <span class="keywordtype">void</span> <a class="code" href="group__mywins__colorspace.htm#ga1">HSV2RGB</a> (<a class="code" href="group__basic__types.htm#ga2">Uint16</a> hin, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> sin, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> vin, 00104 <a class="code" href="group__basic__types.htm#ga0">Uint8</a> *rout, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> *gout, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> *bout);00105 00127 <span class="keywordtype">void</span> <a class="code" href="group__mywins__colorspace.htm#ga2">YUV2RGB</a> (<span class="keywordtype">int</span> y, <span class="keywordtype">int</span> u, <span class="keywordtype">int</span> v, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> *r, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> *g, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> *b);00128 00146 MG_EXPORT <span class="keywordtype">void</span> <a class="code" href="group__mywins__colorspace.htm#ga3">RGB2YUV</a> (<a class="code" href="group__basic__types.htm#ga0">Uint8</a> r, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> g, <a class="code" href="group__basic__types.htm#ga0">Uint8</a> b, <span class="keywordtype">int</span> *y, <span class="keywordtype">int</span> *u, <span class="keywordtype">int</span> *v);00147 00152 <span class="preprocessor">#endif </span><span class="comment">/* _USE_NEWGAL */</span>00153 00154 <span class="preprocessor">#ifdef __cplusplus</span>00155 <span class="preprocessor"></span>}00156 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>00157 00158 <span class="preprocessor">#endif </span><span class="comment">/* _MGUI_COLORSPACE_H */</span>00159 00160 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:50 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 + -