?? a00082.html
字號:
<!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>Sklmp4 MPEG-4 library: SKL_MP4_PIC struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.4 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div><h1>SKL_MP4_PIC Struct Reference</h1><code>#include <skl_mpg4.h></code><p><a href="a00016.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o3">Coding</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o4">Width</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o5">Height</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o6">BpS</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>double </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o8">Time</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a00094.html#a10">SKL_UINT64</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o9">Time_Ticks</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a00094.html#a18">SKL_BYTE</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o12">Y</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a00094.html#a18">SKL_BYTE</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o13">U</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a00094.html#a18">SKL_BYTE</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o14">V</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>SKL_MV * </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o15">MV</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a00081.html">SKL_MP4_MAP</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o16">Map</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void * </td><td class="memItemRight" valign=bottom><a class="el" href="a00082.html#o17">Data</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This class is used for storing input/output frame informations such as dimensions, YUV data, time stamps...<p><b>Warning</b> : The size of luma component is Width x Height, whereas the U and V components are of size Width/2 x Height/2 each.<br> However, <b>all</b> of the Y, U and V component planes share the same stride, given by BpS (Bytes Per Scanline).<br> Here is an example of the layout, with internal hidden edges shown in blue:<br> <div align="center"><img src="../mp4_yuv.jpg" alt="mp4_yuv.jpg"></div> Note: This video format is often called "IMC2". <p><hr><h2>Member Data Documentation</h2><a class="anchor" name="o6" doxytag="SKL_MP4_PIC::BpS" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="a00082.html#o6">SKL_MP4_PIC::BpS</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Bytes Per Scanline </td> </tr></table><a class="anchor" name="o3" doxytag="SKL_MP4_PIC::Coding" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="a00082.html#o3">SKL_MP4_PIC::Coding</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Coding type. Set by the encoder/decoder. Values: 0:key frame (I-VOP), 1:P-VOP, 2:B-VOP, 3:S/D-VOP, 4: not coded </td> </tr></table><a class="anchor" name="o17" doxytag="SKL_MP4_PIC::Data" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void* <a class="el" href="a00082.html#o17">SKL_MP4_PIC::Data</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>(Opaque) Any data pertaining to the analyzer </td> </tr></table><a class="anchor" name="o5" doxytag="SKL_MP4_PIC::Height" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="a00082.html#o5">SKL_MP4_PIC::Height</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Height of picture, in pixel. </td> </tr></table><a class="anchor" name="o16" doxytag="SKL_MP4_PIC::Map" ></a><p><table class="mdTable" width="100%" 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="a00081.html">SKL_MP4_MAP</a>* <a class="el" href="a00082.html#o16">SKL_MP4_PIC::Map</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Auxiliary informations, for the analyzer. </td> </tr></table><a class="anchor" name="o15" doxytag="SKL_MP4_PIC::MV" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> SKL_MV* <a class="el" href="a00082.html#o15">SKL_MP4_PIC::MV</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Motion Vectors </td> </tr></table><a class="anchor" name="o8" doxytag="SKL_MP4_PIC::Time" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> double <a class="el" href="a00082.html#o8">SKL_MP4_PIC::Time</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Presentation time, in seconds </td> </tr></table><a class="anchor" name="o9" doxytag="SKL_MP4_PIC::Time_Ticks" ></a><p><table class="mdTable" width="100%" 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="a00094.html#a10">SKL_UINT64</a> <a class="el" href="a00082.html#o9">SKL_MP4_PIC::Time_Ticks</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Presentation time, in ticks </td> </tr></table><a class="anchor" name="o13" doxytag="SKL_MP4_PIC::U" ></a><p><table class="mdTable" width="100%" 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="a00094.html#a18">SKL_BYTE</a>* <a class="el" href="a00082.html#o13">SKL_MP4_PIC::U</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Pointer to the U-plane data, of size Width/2 x Height/2, with stride BpS </td> </tr></table><a class="anchor" name="o14" doxytag="SKL_MP4_PIC::V" ></a><p><table class="mdTable" width="100%" 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="a00094.html#a18">SKL_BYTE</a>* <a class="el" href="a00082.html#o14">SKL_MP4_PIC::V</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Pointer to the V plane data, of size Width/2 x Height/2, with stride BpS </td> </tr></table><a class="anchor" name="o4" doxytag="SKL_MP4_PIC::Width" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="a00082.html#o4">SKL_MP4_PIC::Width</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Width of picture, in pixel. </td> </tr></table><a class="anchor" name="o12" doxytag="SKL_MP4_PIC::Y" ></a><p><table class="mdTable" width="100%" 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="a00094.html#a18">SKL_BYTE</a>* <a class="el" href="a00082.html#o12">SKL_MP4_PIC::Y</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Pointer to the Y-plane data, of size Width x Height, with stride BpS </td> </tr></table><hr>The documentation for this struct was generated from the following files:<ul><li><a class="el" href="a00110.html">skl_mpg4_c.h</a><li><a class="el" href="a00109.html">skl_mpg4.h</a></ul><hr size="1"><address style="align: right;"><small>Generated on Wed Mar 31 17:33:28 2004 for Sklmp4 MPEG-4 library by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.4 </small></address></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -