⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sgchannel.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE><A NAME="getSampleDescription()"><!-- --></A><H3>getSampleDescription</H3><PRE>public final <A HREF="../../../quicktime/std/movies/media/SampleDescription.html">SampleDescription</A> <B>getSampleDescription</B>()                                             throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows you to retrieve a sample description from the SGChannel. </DL></DD><DD><DL><DT><B>Returns:</B><DD>a SampleDescription object.</DL></DD></DL><HR><A NAME="getSequenceGrabber()"><!-- --></A><H3>getSequenceGrabber</H3><PRE>public <A HREF="../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A> <B>getSequenceGrabber</B>()</PRE><DL><DD>Returns the SequenceGrabber that the channel is attached too.<DD><DL></DL></DD></DL><HR><A NAME="settingsDialog()"><!-- --></A><H3>settingsDialog</H3><PRE>public void <B>settingsDialog</B>()                    throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Instructs the sequence grabber to display its settings dialog box to the user. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.a.htm#pgfId=3758">QuickTime::SGSettingsDialog</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - Identifies the channel to be configured.</DL></DD></DL><HR><A NAME="settingsDialog(int, quicktime.std.comp.Component[])"><!-- --></A><H3>settingsDialog</H3><PRE>public void <B>settingsDialog</B>(int&nbsp;flags,                           <A HREF="../../../quicktime/std/comp/Component.html">Component</A>[]&nbsp;panelList)                    throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Instructs the sequence grabber to display its settings dialog box to the user. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.a.htm#pgfId=3758">QuickTime::SGSettingsDialog</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - Identifies the channel to be configured.<DD><CODE>flags</CODE> - The control flags for the current operation.<DD><CODE>panelList</CODE> - An array of sequence grabber panel component identifiers.   Will only present these components in the panel component pop-up menu. Set to null to use all identifiers.SGPanel[] panelList</DL></DD></DL><HR><A NAME="setDataSourceName(java.lang.String, int)"><!-- --></A><H3>setDataSourceName</H3><PRE>public void <B>setDataSourceName</B>(java.lang.String&nbsp;name,                              int&nbsp;scriptTag)                       throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the source identification information associated with a sequence grabber channel. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabChanComp.a.htm#refSeq236">QuickTime::SGChannelSetDataSourceName</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Source identification name.<DD><CODE>scriptTag</CODE> - source information誷 language code.</DL></DD></DL><HR><A NAME="getDataSourceName()"><!-- --></A><H3>getDataSourceName</H3><PRE>public <A HREF="../../../quicktime/std/sg/SGDataSourceInfo.html">SGDataSourceInfo</A> <B>getDataSourceName</B>()                                   throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Get the source identification information associated with a sequence grabber channel. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabChanComp.a.htm#refSeq234">QuickTime::SGChannelGetDataSourceName</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a SGVideoCompressorInfo object.<DD><CODE>scriptTag</CODE> - a SGVideoCompressorInfo object.</DL></DD></DL><HR><A NAME="setSettings(quicktime.std.movies.media.UserData)"><!-- --></A><H3>setSettings</H3><PRE>public void <B>setSettings</B>(<A HREF="../../../quicktime/std/movies/media/UserData.html">UserData</A>&nbsp;ud)                 throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Configure a SequenceGrabber channel based on the UserData passed in. You typically get the UserData via a call to NewUserDataFromHandle or from first calling SGGetChannelSettings.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.d.htm#imSeqG294">QuickTime::SGSetChannelSettings</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ud</CODE> - Specifies a user data list with configuration information for the sequence grabber.</DL></DD></DL><HR><A NAME="getSettings()"><!-- --></A><H3>getSettings</H3><PRE>public <A HREF="../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>getSettings</B>()                     throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Retrieves the current settings of the SequenceGrabber channel. The sequence grabber places this configuration information into a Movie Toolbox user data list.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.d.htm#imSeqG290">QuickTime::SGGetChannelSettings</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ud</CODE> - Specifies a user data list with configuration information for the sequence grabber.</DL></DD></DL><HR><A NAME="setUsage(int)"><!-- --></A><H3>setUsage</H3><PRE>public void <B>setUsage</B>(int&nbsp;usage)              throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specifies how a channel is to be used by the SequenceGrabber component.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.10.htm#imSeqG3">QuickTime::SGSetChannelUsage</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.f.htm#imSeqG315">QuickTime::SGSetChannelUsage</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>usage</CODE> - contains flags that specify how the channel is to be used</DL></DD></DL><HR><A NAME="getUsage()"><!-- --></A><H3>getUsage</H3><PRE>public int <B>getUsage</B>()             throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns how the channel is being used by the SequenceGrabber component.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.10.htm#imSeqG6">QuickTime::SGGetChannelUsage</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.f.htm#imSeqG318">QuickTime::SGGetChannelUsage</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>current usage flags</DL></DD></DL><HR><A NAME="setPlayFlags(int)"><!-- --></A><H3>setPlayFlags</H3><PRE>public void <B>setPlayFlags</B>(int&nbsp;playFlags)                  throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to influence the speed and quality with which the sequence grabber displays data from a channel.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.10.htm#imSeqG9">QuickTime::SGSetChannelPlayFlags</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.f.htm#imSeqG321">QuickTime::SGSetChannelPlayFlags</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>playFlags</CODE> - the flags</DL></DD></DL><HR><A NAME="getPlayFlags()"><!-- --></A><H3>getPlayFlags</H3><PRE>public int <B>getPlayFlags</B>()                 throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Allows you to get the speed and quality with which the sequence grabber displays data from a channel.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.10.htm#imSeqG11">QuickTime::SGGetChannelPlayFlags</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.f.htm#imSeqG324">QuickTime::SGGetChannelPlayFlags</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the flags</DL></DD></DL><HR><A NAME="setDevice(java.lang.String)"><!-- --></A><H3>setDevice</H3><PRE>public void <B>setDevice</B>(java.lang.String&nbsp;name)               throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>The method allows the sequence grabber to assign a device to your channel.</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - name of the device.</DL></DD></DL><HR><A NAME="getDeviceList(int)"><!-- --></A><H3>getDeviceList</H3><PRE>public <A HREF="../../../quicktime/std/sg/SGDeviceList.html">SGDeviceList</A> <B>getDeviceList</B>(int&nbsp;selectionFlags)                           throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Get the list of currently available Sound Input Driver names.</DL></DD><DD><DL><DT><B>Returns:</B><DD>the sound input names list.<DT><B>See Also: </B><DD><CODE>(String driverName) to set the input driver.</CODE></DL></DD></DL><HR><A NAME="getTimeScale()"><!-- --></A><H3>getTimeScale</H3><PRE>public int <B>getTimeScale</B>()                 throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to retrieve a channel誷 time scale.</DL></DD><DD><DL><DT><B>Returns:</B><DD>the time scale</DL></DD></DL><HR><A NAME="setOutput(quicktime.std.sg.SGOutput)"><!-- --></A><H3>setOutput</H3><PRE>public void <B>setOutput</B>(<A HREF="../../../quicktime/std/sg/SGOutput.html">SGOutput</A>&nbsp;output)               throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL>	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.c.htm#refSeq392">QuickTime::SGSetChannelOutput</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ouput</CODE> - this will be the output that is used by this channel.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SGChannel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../quicktime/std/sg/SequenceGrabber.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../quicktime/std/sg/SGChannelInfo.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SGChannel.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -