📄 sgoutput.html
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="SGOutput(quicktime.std.sg.SequenceGrabber, quicktime.std.movies.media.DataRef, int)"><!-- --></A><H3>SGOutput</H3><PRE>public <B>SGOutput</B>(<A HREF="../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A> owner, <A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A> dataRef, int whereFlags) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>The SGNewOutput function creates a new sequence grabber output. You specify the output誷 destination container using a data reference. Once you have created the sequence grabber output, you can use the SGSetChannelOutput function to assign the output to a sequence grabber channel. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.c.htm#refSeq386">QuickTime::SGNewOutput</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>owner</CODE> - your connection to the sequence grabber.<DD><CODE>dataRef</CODE> - A handle to the destination container.<DD><CODE>whereFlags</CODE> - that control the record operation. You must set either seqGrabToDisk or seqGrabToMemory to 1. Set unused flags to 0.</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="disposeQTObject()"><!-- --></A><H3>disposeQTObject</H3><PRE>public void <B>disposeQTObject</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Disposes of an output associated with a sequence grabber. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.c.htm#refSeq389">QuickTime::SGDisposeOutput</a> </b><BR><BR><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A></CODE> in class <CODE><A HREF="../../../quicktime/QTObject.html">QTObject</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the output you want to dispose</DL></DD></DL><HR><A NAME="setMaximumOffset(long)"><!-- --></A><H3>setMaximumOffset</H3><PRE>public void <B>setMaximumOffset</B>(long maxOffset) 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.d.htm#refSeq405">QuickTime::SGSetOutputMaximumOffset</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>maxOffset</CODE> - the maximum offset for data written to this output.</DL></DD></DL><HR><A NAME="getMaximumOffset()"><!-- --></A><H3>getMaximumOffset</H3><PRE>public long <B>getMaximumOffset</B>() 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.d.htm#refSeq407">QuickTime::SGGetOutputMaximumOffset</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>returns</CODE> - the maximum offset for data written to this output.</DL></DD></DL><HR><A NAME="setOutputFlags(int)"><!-- --></A><H3>setOutputFlags</H3><PRE>public void <B>setOutputFlags</B>(int whereFlags) 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#refSeq395">QuickTime::SGSetOutputFlags</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>whereFlags</CODE> - determines where the output is sent, eg seqGrabToDisk</DL></DD></DL><HR><A NAME="setChannel(quicktime.std.sg.SGChannel)"><!-- --></A><H3>setChannel</H3><PRE>public void <B>setChannel</B>(<A HREF="../../../quicktime/std/sg/SGChannel.html">SGChannel</A> c) 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>c</CODE> - the channel you want to assign the output to</DL></DD></DL><HR><A NAME="getDataStorageSpaceRemaining()"><!-- --></A><H3>getDataStorageSpaceRemaining</H3><PRE>public long <B>getDataStorageSpaceRemaining</B>() 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#refSeq398">QuickTime::SGGetDataOutputStorageSpaceRemaining</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>returns</CODE> - the amount of space in the data reference associated with an output</DL></DD></DL><HR><A NAME="getNextOutput()"><!-- --></A><H3>getNextOutput</H3><PRE>public <A HREF="../../../quicktime/std/sg/SGOutput.html">SGOutput</A> <B>getNextOutput</B>() 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.d.htm#refSeq404">QuickTime::SGGetOutputNextOutput(</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>returns</CODE> - the next sequence grabber output</DL></DD></DL><HR><A NAME="setNextOutput(quicktime.std.sg.SGOutput)"><!-- --></A><H3>setNextOutput</H3><PRE>public void <B>setNextOutput</B>(<A HREF="../../../quicktime/std/sg/SGOutput.html">SGOutput</A> nextOutput) 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.d.htm#refSeq402">QuickTime::SGSetOutputNextOutput(</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>nextOutput</CODE> - specifies the next output to be used after the output represented by this object.</DL></DD></DL><HR><A NAME="getDataReference()"><!-- --></A><H3>getDataReference</H3><PRE>public <A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A> <B>getDataReference</B>() 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.d.htm#refSeq409">QuickTime::SGGetOutputDataReference(</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>returns</CODE> - the data reference associated with this sequence grabber output.</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SGOutput.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/std/sg/SGMusicChannel.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/sg/SGSoundChannel.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> <A HREF="SGOutput.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -