|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.humatic.dsj.DSFilter
de.humatic.dsj.CompressedJavaSource
public class CompressedJavaSource
Custom DSFilter object working together with the native dsj_CompressedJavaSource & dsj_AsyncJavaSource DirectShow filters.
The combination of this java class and its native counterparts allow to feed compressed data, aquired on the java side,
into a DirectShow filtergraph. dsj uses this with all the classes in the de.humatic.dsj.src package.
Instances of this class are created by the Source objects via calls to DSGraph.insertCompressedSourceFilter(...).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.humatic.dsj.DSFilter |
|---|
DSFilter.DSPin |
| Field Summary | |
|---|---|
static int |
BLOCKING
Source flags for use in DSGraph.insertCompressedJavaSource(...) |
static int |
CALLBACK
Source flags for use in DSGraph.insertCompressedJavaSource(...) |
static int |
RUNNING
Source flags for use in DSGraph.insertCompressedJavaSource(...) |
| Fields inherited from class de.humatic.dsj.DSFilter |
|---|
PINDIR_INPUT, PINDIR_OUTPUT |
| Method Summary | |
|---|---|
void |
flush()
Removes all buffered samples. |
int |
flushBuffers(boolean setUnderrun)
|
int |
flushBuffers(int upToTime)
Removes samples with timestamps < %upToTime from the buffer. |
int |
flushBuffers(int toTime,
boolean setUnderrun)
|
int |
getBufferedTime()
Returns the time worth of data currently preloaded. |
DSFiltergraph |
getGraph()
|
int |
getMaxBufferedTime()
|
DSMediaType |
getMediaType()
|
int |
getSamplesBuffered()
|
int |
getSampleTimeAt(int bufferPos)
|
int |
getTime()
Returns the time of the sample delivered to the native filter last. |
void |
propertyChange(java.beans.PropertyChangeEvent pe)
|
int |
putSample(JSampleBuffer jsb)
Used by PUSH and ASYNC sources, adds a sample to the queue that the filter manages. |
void |
setFlag(int flag,
int intVal,
float floatVal)
|
void |
shutDown(boolean terminate)
|
void |
start()
|
| Methods inherited from class de.humatic.dsj.DSFilter |
|---|
applyPropPageSettings, closePropPage, connectDownstream, disconnect, dumpConnections, embedPropertiesPage, getCLSID, getFiltergraph, getFilterInfo, getFilterState, getID, getInputs, getName, getOutputs, getPin, getPin, getPin, getPins, getPropPageCount, getPropPageSize, getPropPageTitles, loadFilterState, renderEx, renderPin, saveFilterState, setParameter, showPropertiesDialog, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int RUNNING
public static final int BLOCKING
public static final int CALLBACK
| Method Detail |
|---|
public void start()
throws DSJException
DSJExceptionpublic void shutDown(boolean terminate)
public DSFiltergraph getGraph()
public int putSample(JSampleBuffer jsb)
public DSMediaType getMediaType()
public int getSamplesBuffered()
public int getBufferedTime()
public int getMaxBufferedTime()
public int getSampleTimeAt(int bufferPos)
public void flush()
public int flushBuffers(int toTime,
boolean setUnderrun)
public int flushBuffers(int upToTime)
public int flushBuffers(boolean setUnderrun)
public void setFlag(int flag,
int intVal,
float floatVal)
public int getTime()
public void propertyChange(java.beans.PropertyChangeEvent pe)
propertyChange in interface java.beans.PropertyChangeListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||