1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3 <title>MPVVideoInput class Reference</title> 4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 </head><body> 6 <!-- Generated by Doxygen 1.2.18 --> 7 <center> 8 <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9 <hr><h1>MPVVideoInput Class Reference</h1><code>#include <<a class="el" href="pv__plugin__interfaces_8h-source.html">pv_plugin_interfaces.h</a>></code> 10 <p> 11 <table border=0 cellpadding=0 cellspacing=0> 12 <tr><td></td></tr> 13 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> 14 <tr><td nowrap align=right valign=top>virtual IMPORT_C void </td><td valign=bottom><a class="el" href="classMPVVideoInput.html#a0">SetFormatL</a> (const TDesC8 &aFormat)=0</td></tr> 15 <tr><td nowrap align=right valign=top>virtual IMPORT_C void </td><td valign=bottom><a class="el" href="classMPVVideoInput.html#a1">SetFrameRateL</a> (TReal32 aFrameRate)=0</td></tr> 16 <tr><td nowrap align=right valign=top>virtual IMPORT_C void </td><td valign=bottom><a class="el" href="classMPVVideoInput.html#a2">SetVideoFrameSizeL</a> (const TSize &aSize)=0</td></tr> 17 <tr><td nowrap align=right valign=top>virtual IMPORT_C void </td><td valign=bottom><a class="el" href="classMPVVideoInput.html#a3">GetVideoFrameSizeL</a> (TSize &aSize) const=0</td></tr> 18 </table> 19 <hr><a name="_details"></a><h2>Detailed Description</h2> 20 MPVVideoInput Class 21 <p> 22 MPVVideoInput can be implemented by any video data source that needs to work with PV SDKs. 23 <p> 24 <hr><h2>Member Function Documentation</h2> 25 <a name="a3" doxytag="MPVVideoInput::GetVideoFrameSizeL"></a><p> 26 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 27 <tr> 28 <td class="md"> 29 <table cellpadding="0" cellspacing="0" border="0"> 30 <tr> 31 <td class="md" nowrap valign="top"> virtual IMPORT_C void MPVVideoInput::GetVideoFrameSizeL </td> 32 <td class="md" valign="top">( </td> 33 <td class="md" nowrap valign="top">TSize & </td> 34 <td class="mdname1" valign="top" nowrap> <em>aSize</em> </td> 35 <td class="md" valign="top">) </td> 36 <td class="md" nowrap> const<code> [pure virtual]</code></td> 37 </tr> 38 39 </table> 40 </td> 41 </tr> 42 </table> 43 <table cellspacing=5 cellpadding=0 border=0> 44 <tr> 45 <td> 46 47 </td> 48 <td> 49 50 <p> 51 Get the video frame size <dl compact><dt><b>Parameters: </b></dt><dd> 52 <table border=0 cellspacing=2 cellpadding=0> 53 <tr><td valign=top><em>aSize</em> </td><td> 54 The video frame size, in pixels </td></tr> 55 </table> 56 </dl><dl compact><dt><b>Exceptions: </b></dt><dd> 57 <table border=0 cellspacing=2 cellpadding=0> 58 <tr><td valign=top><em>Can</em> </td><td> 59 leave with one of the system wide error codes </td></tr> 60 </table> 61 </dl> </td> 62 </tr> 63 </table> 64 <a name="a0" doxytag="MPVVideoInput::SetFormatL"></a><p> 65 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 66 <tr> 67 <td class="md"> 68 <table cellpadding="0" cellspacing="0" border="0"> 69 <tr> 70 <td class="md" nowrap valign="top"> virtual IMPORT_C void MPVVideoInput::SetFormatL </td> 71 <td class="md" valign="top">( </td> 72 <td class="md" nowrap valign="top">const TDesC8 & </td> 73 <td class="mdname1" valign="top" nowrap> <em>aFormat</em> </td> 74 <td class="md" valign="top">) </td> 75 <td class="md" nowrap><code> [pure virtual]</code></td> 76 </tr> 77 78 </table> 79 </td> 80 </tr> 81 </table> 82 <table cellspacing=5 cellpadding=0 border=0> 83 <tr> 84 <td> 85 86 </td> 87 <td> 88 89 <p> 90 Set the video frame format. This must be from the list of supported formats. <dl compact><dt><b>Parameters: </b></dt><dd> 91 <table border=0 cellspacing=2 cellpadding=0> 92 <tr><td valign=top><em>aFormat</em> </td><td> 93 The mime string describing the video frame format. </td></tr> 94 </table> 95 </dl><dl compact><dt><b>Exceptions: </b></dt><dd> 96 <table border=0 cellspacing=2 cellpadding=0> 97 <tr><td valign=top><em>Can</em> </td><td> 98 leave with one of the system wide error codes </td></tr> 99 </table> 100 </dl> </td> 101 </tr> 102 </table> 103 <a name="a1" doxytag="MPVVideoInput::SetFrameRateL"></a><p> 104 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 105 <tr> 106 <td class="md"> 107 <table cellpadding="0" cellspacing="0" border="0"> 108 <tr> 109 <td class="md" nowrap valign="top"> virtual IMPORT_C void MPVVideoInput::SetFrameRateL </td> 110 <td class="md" valign="top">( </td> 111 <td class="md" nowrap valign="top">TReal32 </td> 112 <td class="mdname1" valign="top" nowrap> <em>aFrameRate</em> </td> 113 <td class="md" valign="top">) </td> 114 <td class="md" nowrap><code> [pure virtual]</code></td> 115 </tr> 116 117 </table> 118 </td> 119 </tr> 120 </table> 121 <table cellspacing=5 cellpadding=0 border=0> 122 <tr> 123 <td> 124 125 </td> 126 <td> 127 128 <p> 129 Set the video frame rate. This must be within the range of supported frame rates for the current frame size. <dl compact><dt><b>Parameters: </b></dt><dd> 130 <table border=0 cellspacing=2 cellpadding=0> 131 <tr><td valign=top><em>aFrameRate</em> </td><td> 132 The video frame rate to set. </td></tr> 133 </table> 134 </dl><dl compact><dt><b>Exceptions: </b></dt><dd> 135 <table border=0 cellspacing=2 cellpadding=0> 136 <tr><td valign=top><em>Can</em> </td><td> 137 leave with one of the system wide error codes </td></tr> 138 </table> 139 </dl> </td> 140 </tr> 141 </table> 142 <a name="a2" doxytag="MPVVideoInput::SetVideoFrameSizeL"></a><p> 143 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 144 <tr> 145 <td class="md"> 146 <table cellpadding="0" cellspacing="0" border="0"> 147 <tr> 148 <td class="md" nowrap valign="top"> virtual IMPORT_C void MPVVideoInput::SetVideoFrameSizeL </td> 149 <td class="md" valign="top">( </td> 150 <td class="md" nowrap valign="top">const TSize & </td> 151 <td class="mdname1" valign="top" nowrap> <em>aSize</em> </td> 152 <td class="md" valign="top">) </td> 153 <td class="md" nowrap><code> [pure virtual]</code></td> 154 </tr> 155 156 </table> 157 </td> 158 </tr> 159 </table> 160 <table cellspacing=5 cellpadding=0 border=0> 161 <tr> 162 <td> 163 164 </td> 165 <td> 166 167 <p> 168 Set the video frame size <dl compact><dt><b>Parameters: </b></dt><dd> 169 <table border=0 cellspacing=2 cellpadding=0> 170 <tr><td valign=top><em>aSize</em> </td><td> 171 The video frame size, in pixels </td></tr> 172 </table> 173 </dl><dl compact><dt><b>Exceptions: </b></dt><dd> 174 <table border=0 cellspacing=2 cellpadding=0> 175 <tr><td valign=top><em>Can</em> </td><td> 176 leave with one of the system wide error codes </td></tr> 177 </table> 178 </dl> </td> 179 </tr> 180 </table> 181 <hr>The documentation for this class was generated from the following file:<ul> 182 <li><a class="el" href="pv__plugin__interfaces_8h-source.html">pv_plugin_interfaces.h</a></ul> 183 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>PV Author Engine</small> 184 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 185 </small></address> 186 </body> 187 </html> 188