|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectcom.sun.media.BasicController
com.sun.media.PlaybackEngine
com.sun.media.ProcessEngine
public class ProcessEngine
ProcessEngine implements the media engine for processors.
| 字段摘要 | |
|---|---|
protected BasicMuxModule |
muxModule
|
protected javax.media.protocol.ContentDescriptor |
outputContentDes
|
protected com.sun.media.GraphNode |
targetMux
|
protected com.sun.media.GraphNode[] |
targetMuxes
|
protected Format[] |
targetMuxFormats
|
protected java.util.Vector |
targetMuxNames
This is the Graph builder to generate the data flow graph for the media engine. |
| 从类 com.sun.media.BasicController 继承的字段 |
|---|
processError, state, stopThreadEnabled |
| 从接口 javax.media.Controller 继承的字段 |
|---|
LATENCY_UNKNOWN, Prefetched, Prefetching, Realized, Realizing, Started, Unrealized |
| 从接口 javax.media.Clock 继承的字段 |
|---|
RESET |
| 从接口 javax.media.Duration 继承的字段 |
|---|
DURATION_UNBOUNDED, DURATION_UNKNOWN |
| 构造方法摘要 | |
|---|---|
ProcessEngine(BasicProcessor p)
|
|
| 方法摘要 | |
|---|---|
protected boolean |
doConfigure()
Configuring the engine. |
protected boolean |
doPrefetch()
The stub function to perform the steps to prefetch the controller. |
protected boolean |
doRealize()
The stub function to perform the steps to realize the controller. |
protected void |
doStart()
Start immediately. |
protected void |
doStop()
Invoked from stop(). |
protected BasicSinkModule |
findMasterSink()
Search and update the master time base. |
protected long |
getBitRate()
Report the output bit rate if a mux is used. |
javax.media.protocol.ContentDescriptor |
getContentDescriptor()
Return the output content-type. |
javax.media.protocol.DataSource |
getDataOutput()
Return the output DataSource of the Processor. |
protected PlugIn |
getPlugIn(BasicModule m)
Get the plugin from a module. |
javax.media.protocol.ContentDescriptor[] |
getSupportedContentDescriptors()
Return all the content-types which this Processor's output supports. |
javax.media.control.TrackControl[] |
getTrackControls()
Get the track controls. |
protected void |
resetBitRate()
|
javax.media.protocol.ContentDescriptor |
setContentDescriptor(javax.media.protocol.ContentDescriptor ocd)
Set the output content-type. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected BasicMuxModule muxModule
protected javax.media.protocol.ContentDescriptor outputContentDes
protected java.util.Vector targetMuxNames
protected com.sun.media.GraphNode[] targetMuxes
protected com.sun.media.GraphNode targetMux
protected Format[] targetMuxFormats
| 构造方法详细信息 |
|---|
public ProcessEngine(BasicProcessor p)
| 方法详细信息 |
|---|
protected boolean doConfigure()
PlaybackEngine 中的 doConfigureprotected boolean doRealize()
BasicController 复制的描述Return true if the realize is successful. Return false and set the processError string if failed.
This function is not declared synchronized because first it is already guaranteed by realize() not to be called more than once simultaneously. Secondly if this is synchronized, then other synchronized methods, deallocate() and processEvent() will be blocked since they are synchronized methods. Override this to implement subclass behavior.
PlaybackEngine 中的 doRealizeprotected BasicSinkModule findMasterSink()
PlaybackEngine 中的 findMasterSinkprotected boolean doPrefetch()
PlaybackEngine 中的 doPrefetchprotected void doStart()
PlaybackEngine 中的 doStartprotected void doStop()
PlaybackEngine 中的 doStop
public javax.media.control.TrackControl[] getTrackControls()
throws NotConfiguredError
NotConfiguredError
public javax.media.protocol.ContentDescriptor[] getSupportedContentDescriptors()
throws NotConfiguredError
NotConfiguredError
public javax.media.protocol.ContentDescriptor setContentDescriptor(javax.media.protocol.ContentDescriptor ocd)
throws NotConfiguredError
NotConfiguredError
public javax.media.protocol.ContentDescriptor getContentDescriptor()
throws NotConfiguredError
NotConfiguredError
public javax.media.protocol.DataSource getDataOutput()
throws NotRealizedError
NotRealizedErrorprotected long getBitRate()
PlaybackEngine 中的 getBitRateprotected void resetBitRate()
PlaybackEngine 中的 resetBitRateprotected PlugIn getPlugIn(BasicModule m)
PlaybackEngine 中的 getPlugIn
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||