?? a00079.html
字號:
<tr> <td> </td> <td><p>This method can be used for very special syntax controls over the bitstream. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Param</em> </td><td>can be one of the following constant strings:<br> <ul><li>"emit-key-headers": for streaming purpose, the bitstream will contain a VOL header every time a keyframe is transmitted.<br> </li><li>"no-emit-key-headers": disables the above (default).<br> </li><li>"emit-sequence-codes": the bitstream will contain a SEQUENCE_START and SEQUENCE_END codes at the beginning and the end.<br> </li><li>"no-sequence-codes": disables the above (default).<br> </li></ul>Note: Call to this method should occur preferably at the beginning of the encoding process. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="a0" doxytag="SKL_MP4_ENC::Prepare_Next_Frame" ></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"> virtual const <a class="el" href="a00082.html">SKL_MP4_PIC</a>* SKL_MP4_ENC::Prepare_Next_Frame </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></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>Height</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the dimensions of the next input frame. A <a class="el" href="a00082.html">SKL_MP4_PIC</a> structure is returned, ready for holding fresh data.<p><b>Warning</b> : beware of the <a class="el" href="a00082.html">SKL_MP4_PIC</a> data layout! <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Width</em> </td><td>the width, in pixel, of the input picture. </td></tr> <tr><td valign=top><em>Height</em> </td><td>the height, in pixel, of the input picture. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>This functions returns a uninitialized picture structure <a class="el" href="a00082.html">SKL_MP4_PIC</a>, ready to be filled with incoming YUV data. </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00082.html">SKL_MP4_PIC</a> </dd></dl> </td> </tr></table><a class="anchor" name="a10" doxytag="SKL_MP4_ENC::Set_Analyzer" ></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"> virtual <a class="el" href="a00077.html">SKL_MP4_ANALYZER</a>* SKL_MP4_ENC::Set_Analyzer </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="a00077.html">SKL_MP4_ANALYZER</a> * </td> <td class="mdname1" valign="top" nowrap> <em>Analyzer</em> = 0 </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This function plugs a new analyzer code in replacement of the previous one. <dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="a00079.html#a10">Set_Analyzer()</a> returns previous analyzer. </dd></dl><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Analyzer</em> </td><td>Should be 0 to restore the default, built-in, analyzer. </td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd>Get_analyzer <p><a class="el" href="a00077.html">SKL_MP4_ANALYZER</a> </dd></dl> </td> </tr></table><a class="anchor" name="a8" doxytag="SKL_MP4_ENC::Set_CPU" ></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"> virtual void SKL_MP4_ENC::Set_CPU </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="a00101.html#a15">SKL_CPU_FEATURE</a> </td> <td class="mdname1" valign="top" nowrap> <em>Cpu</em> = SKL_CPU_DETECT </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Sets the CPU feature to use. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Cpu</em> </td><td>: see the enum description for a list of available cpu features. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="a9" doxytag="SKL_MP4_ENC::Set_Custom_Matrix" ></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"> virtual void SKL_MP4_ENC::Set_Custom_Matrix </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>Intra</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="a00094.html#a18">SKL_BYTE</a> * </td> <td class="mdname" nowrap> <em>M</em> = 0</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Sets the custom quantization matrix for MPEG4 quantization type (0). <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Intra</em> </td><td>Should be 1 to use the custom matrix for intra macroblocks, or 0 for inter macroblocks. </td></tr> <tr><td valign=top><em>M</em> </td><td>a pointer to 64 bytes containing the 8x8 matrix coefficients. If the pointer is null, the coefficients are restored to their default, initial, values. </td></tr> </table></dl> </td> </tr></table><a class="anchor" name="a7" doxytag="SKL_MP4_ENC::Set_Memory_Manager" ></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"> virtual <a class="el" href="a00074.html">SKL_MEM_I</a>* SKL_MP4_ENC::Set_Memory_Manager </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="a00074.html">SKL_MEM_I</a> * </td> <td class="mdname1" valign="top" nowrap> <em>Mem</em> = 0 </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set a new memory pool to use internally for subsequent memory allocation. Warning: it should preferably be called at start-up only, to ensure that cycles of New()/Delete() are performed on the same memory pool. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Mem</em> </td><td>The memory pool to use. If equal to 0 (default), the C++ heap will be used. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>This function will return the previous memory manager. </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00074.html">SKL_MEM_I</a> </dd></dl> </td> </tr></table><a class="anchor" name="a12" doxytag="SKL_MP4_ENC::Set_Slicer" ></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"> virtual void SKL_MP4_ENC::Set_Slicer </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="a00110.html#a9">SKL_MP4_SLICER</a> </td> <td class="mdname" nowrap> <em>Slicer</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="a00094.html#a17">SKL_ANY</a> </td> <td class="mdname" nowrap> <em>Slicer_Data</em> = 0</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set post-coding hook function. The signature of this function is the following typedef: <p>typedef void (*SKL_MP4_SLICER)(const <a class="el" href="a00082.html">SKL_MP4_PIC</a> *Pic, int y, int Height, SKL_ANY Data); <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>Slicer</em> </td><td>callback function to use </td></tr> <tr><td valign=top><em>Slicer_Data</em> </td><td>can be anything, and will be passed as is to the Slicer hook function. </td></tr> </table></dl> </td> </tr></table><hr><h2>Friends And Related Function Documentation</h2><a class="anchor" name="n1" doxytag="SKL_MP4_ENC::Skl_MP4_Delete_Encoder" ></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 Skl_MP4_Delete_Encoder </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="a00079.html">SKL_MP4_ENC</a> * </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [friend]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Factory for deleting SKL_MP4_ENC class instances </td> </tr></table><a class="anchor" name="n0" doxytag="SKL_MP4_ENC::Skl_MP4_New_Encoder" ></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="a00079.html">SKL_MP4_ENC</a>* Skl_MP4_New_Encoder </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [friend]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Factory for instantiating SKL_MP4_ENC class </td> </tr></table><hr>The documentation for this struct was generated from the following file:<ul><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 + -