📄 group__yuv__fns.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: YUV overlay operations</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><h1>YUV overlay operations<br><small>[<a class="el" href="group__dc__fns.htm">General DC operations</a>]</small></h1><h2>Data Structures</h2><ul><li>struct <a class="el" href="struct__GAL__Overlay.htm">_GAL_Overlay</a></ul><h2>Defines</h2><ul><li>#define <a class="el" href="group__yuv__fns.htm#ga11">LockYUVOverlay</a> GAL_LockYUVOverlay<dl class="el"><dd class="mdescRight">Is an alias of <em>GAL_LockYUVOverlay</em>. <a href="#ga11"></a><br></dl><li>#define <a class="el" href="group__yuv__fns.htm#ga12">UnlockYUVOverlay</a> GAL_UnlockYUVOverlay<dl class="el"><dd class="mdescRight">Is an alias of <em>GAL_UnlockYUVOverlay</em>. <a href="#ga12"></a><br></dl><li>#define <a class="el" href="group__yuv__fns.htm#ga13">FreeYUVOverlay</a> GAL_FreeYUVOverlay<dl class="el"><dd class="mdescRight">Is an alias of <em>GAL_FreeYUVOverlay</em>. <a href="#ga13"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef <a class="el" href="struct__GAL__Overlay.htm">_GAL_Overlay</a> <a class="el" href="group__yuv__fns.htm#ga0">GAL_Overlay</a></ul><h2>Functions</h2><ul><li>MG_EXPORT <a class="el" href="struct__GAL__Overlay.htm">GAL_Overlay</a> *GUIAPI <a class="el" href="group__yuv__fns.htm#ga1">CreateYUVOverlay</a> (int width, int height, <a class="el" href="group__basic__types.htm#ga4">Uint32</a> format, <a class="el" href="group__handles.htm#ga2">HDC</a> hdc)<dl class="el"><dd class="mdescRight">Creates a video output overlay on a DC. <a href="#ga1"></a><br></dl><li>int <a class="el" href="group__yuv__fns.htm#ga2">GAL_LockYUVOverlay</a> (<a class="el" href="struct__GAL__Overlay.htm">GAL_Overlay</a> *overlay)<dl class="el"><dd class="mdescRight">Locks an overlay for direct access. <a href="#ga2"></a><br></dl><li>void <a class="el" href="group__yuv__fns.htm#ga3">GAL_UnlockYUVOverlay</a> (<a class="el" href="struct__GAL__Overlay.htm">GAL_Overlay</a> *overlay)<dl class="el"><dd class="mdescRight">Unlocks a locked overlay when you are done. <a href="#ga3"></a><br></dl><li>void <a class="el" href="group__yuv__fns.htm#ga4">GAL_FreeYUVOverlay</a> (<a class="el" href="struct__GAL__Overlay.htm">GAL_Overlay</a> *overlay)<dl class="el"><dd class="mdescRight">Frees a YUV overlay. <a href="#ga4"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__yuv__fns.htm#ga5">DisplayYUVOverlay</a> (<a class="el" href="struct__GAL__Overlay.htm">GAL_Overlay</a> *overlay, const <a class="el" href="struct__RECT.htm">RECT</a> *dstrect)<dl class="el"><dd class="mdescRight">Blits a video overlay to the screen. <a href="#ga5"></a><br></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2>For an explanation of common video overlay formats, see:<p><a href="http://www.webartz.com/fourcc/indexyuv.htm">http://www.webartz.com/fourcc/indexyuv.htm</a><p>For information on the relationship between color spaces, see:<p><a href="http://www.neuro.sfc.keio.ac.jp/~aly/polygon/info/color-space-faq.html">http://www.neuro.sfc.keio.ac.jp/~aly/polygon/info/color-space-faq.html</a> <hr><h2>Define Documentation</h2><a class="anchor" name="ga13" doxytag="gdi.h::FreeYUVOverlay"></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">#define FreeYUVOverlay GAL_FreeYUVOverlay </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Is an alias of <em>GAL_FreeYUVOverlay</em>. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__yuv__fns.htm#ga4">GAL_FreeYUVOverlay</a> </dd></dl><p>Definition at line <a class="el" href="gdi_8h-source.htm#l01833">1833</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>. </td> </tr></table><a class="anchor" name="ga11" doxytag="gdi.h::LockYUVOverlay"></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">#define LockYUVOverlay GAL_LockYUVOverlay </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Is an alias of <em>GAL_LockYUVOverlay</em>. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__yuv__fns.htm#ga2">GAL_LockYUVOverlay</a> </dd></dl><p>Definition at line <a class="el" href="gdi_8h-source.htm#l01805">1805</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>. </td> </tr></table><a class="anchor" name="ga12" doxytag="gdi.h::UnlockYUVOverlay"></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">#define UnlockYUVOverlay GAL_UnlockYUVOverlay </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Is an alias of <em>GAL_UnlockYUVOverlay</em>. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__yuv__fns.htm#ga3">GAL_UnlockYUVOverlay</a> </dd></dl><p>Definition at line <a class="el" href="gdi_8h-source.htm#l01812">1812</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>. </td> </tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga0" doxytag="gdi.h::GAL_Overlay"></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">typedef struct <a class="el" href="struct__GAL__Overlay.htm">_GAL_Overlay</a> <a class="el" href="struct__GAL__Overlay.htm">GAL_Overlay</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The YUV hardware video overlay </td> </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga1" doxytag="gdi.h::CreateYUVOverlay"></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"><a class="el" href="struct__GAL__Overlay.htm">GAL_Overlay</a> *GUIAPI CreateYUVOverlay </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>width</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>height</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#ga4">Uint32</a> </td> <td class="mdname" nowrap> <em>format</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__handles.htm#ga2">HDC</a> </td> <td class="mdname" nowrap> <em>hdc</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -